diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-01 03:26:54 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-01 03:26:54 +0000 |
commit | 813c22b11ce8e2698274eb585a42c081b54b3d00 (patch) | |
tree | c8224ce19ee9cde6839dd6b95f52178bcca3375a /app-text | |
parent | Version bump. (diff) | |
download | gentoo-2-813c22b11ce8e2698274eb585a42c081b54b3d00.tar.gz gentoo-2-813c22b11ce8e2698274eb585a42c081b54b3d00.tar.bz2 gentoo-2-813c22b11ce8e2698274eb585a42c081b54b3d00.zip |
Use PYTHON_DEPEND instead of NEED_PYTHON. Simplify src_test().
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/pytextile/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/pytextile/pytextile-2.1.4.ebuild | 20 |
2 files changed, 12 insertions, 14 deletions
diff --git a/app-text/pytextile/ChangeLog b/app-text/pytextile/ChangeLog index a7ac6acb4aa3..f93a29bb686d 100644 --- a/app-text/pytextile/ChangeLog +++ b/app-text/pytextile/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/pytextile # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pytextile/ChangeLog,v 1.23 2010/01/20 18:01:22 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pytextile/ChangeLog,v 1.24 2010/07/01 03:26:54 arfrever Exp $ + + 01 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pytextile-2.1.4.ebuild: + Use PYTHON_DEPEND instead of NEED_PYTHON. Simplify src_test(). 20 Jan 2010; <hwoarang@gentoo.org> pytextile-2.1.4.ebuild: Stable on amd64 wrt bug #300240 diff --git a/app-text/pytextile/pytextile-2.1.4.ebuild b/app-text/pytextile/pytextile-2.1.4.ebuild index 4b10c4cd8349..f3ee0b3e7e5f 100644 --- a/app-text/pytextile/pytextile-2.1.4.ebuild +++ b/app-text/pytextile/pytextile-2.1.4.ebuild @@ -1,10 +1,12 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pytextile/pytextile-2.1.4.ebuild,v 1.5 2010/01/20 18:01:22 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pytextile/pytextile-2.1.4.ebuild,v 1.6 2010/07/01 03:26:54 arfrever Exp $ -EAPI="2" +EAPI="3" +PYTHON_DEPEND="2:2.5" SUPPORT_PYTHON_ABIS="1" -NEED_PYTHON="2.5" +RESTRICT_PYTHON_ABIS="2.4 3.*" +DISTUTILS_SRC_TEST="nosetests" inherit distutils @@ -18,19 +20,11 @@ SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.ta LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~x86-fbsd" -IUSE="test" +IUSE="" -DEPEND="test? ( dev-python/nose )" +DEPEND="" RDEPEND="" -RESTRICT_PYTHON_ABIS="2.4 3.*" S="${WORKDIR}/${MY_P}" PYTHON_MODNAME="${MY_PN}" - -src_test() { - testing() { - PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI} - } - python_execute_function testing -} |