From 7724a2e5cef1a49bd08fc32c120b3f0c522fdf25 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 4 Nov 2009 11:02:55 +0000 Subject: Define src_test(). Update HOMEPAGE. Support Python 3. (Portage version: 14775-svn/cvs/Linux x86_64) --- dev-python/argparse/ChangeLog | 6 +++++- dev-python/argparse/argparse-1.0.1.ebuild | 13 ++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'dev-python/argparse') diff --git a/dev-python/argparse/ChangeLog b/dev-python/argparse/ChangeLog index 8f95b27a93ff..de59ede447f3 100644 --- a/dev-python/argparse/ChangeLog +++ b/dev-python/argparse/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/argparse # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/ChangeLog,v 1.1 2009/10/20 19:46:33 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/ChangeLog,v 1.2 2009/11/04 11:02:55 arfrever Exp $ + + 04 Nov 2009; Arfrever Frehtes Taifersar Arahesis + argparse-1.0.1.ebuild: + Define src_test(). Update HOMEPAGE. Support Python 3. *argparse-1.0.1 (20 Oct 2009) diff --git a/dev-python/argparse/argparse-1.0.1.ebuild b/dev-python/argparse/argparse-1.0.1.ebuild index 8a51a0c476a6..ea2833b4cfeb 100644 --- a/dev-python/argparse/argparse-1.0.1.ebuild +++ b/dev-python/argparse/argparse-1.0.1.ebuild @@ -1,13 +1,14 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/argparse-1.0.1.ebuild,v 1.1 2009/10/20 19:46:33 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/argparse-1.0.1.ebuild,v 1.2 2009/11/04 11:02:55 arfrever Exp $ +EAPI="2" SUPPORT_PYTHON_ABIS="1" inherit distutils DESCRIPTION="Provides an easy, declarative interface for creating command line tools." -HOMEPAGE="http://code.google.com/p/argparse/" +HOMEPAGE="http://code.google.com/p/argparse/ http://pypi.python.org/pypi/argparse" SRC_URI="http://argparse.googlecode.com/files/${P}.zip" LICENSE="Apache-2.0" @@ -17,4 +18,10 @@ IUSE="" DEPEND="" RDEPEND="" -RESTRICT_PYTHON_ABIS="3.*" + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_argparse.py + } + python_execute_function testing +} -- cgit v1.2.3-65-gdbad