diff options
author | 2010-01-17 17:32:13 +0000 | |
---|---|---|
committer | 2010-01-17 17:32:13 +0000 | |
commit | 61a35f577b292f2f0f210022626e5e6d8449f806 (patch) | |
tree | 49126bf8d1377e335c99c549a7b7fe3cc202c836 /dev-python/execnet | |
parent | Version bump. (diff) | |
download | gentoo-2-61a35f577b292f2f0f210022626e5e6d8449f806.tar.gz gentoo-2-61a35f577b292f2f0f210022626e5e6d8449f806.tar.bz2 gentoo-2-61a35f577b292f2f0f210022626e5e6d8449f806.zip |
Fix dependencies and src_test().
(Portage version: 15200-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/execnet')
-rw-r--r-- | dev-python/execnet/execnet-1.0.2.ebuild | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/dev-python/execnet/execnet-1.0.2.ebuild b/dev-python/execnet/execnet-1.0.2.ebuild index fb77acbeecd4..096516903afd 100644 --- a/dev-python/execnet/execnet-1.0.2.ebuild +++ b/dev-python/execnet/execnet-1.0.2.ebuild @@ -1,21 +1,25 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/execnet/execnet-1.0.2.ebuild,v 1.1 2010/01/17 16:02:41 grozin Exp $ -EAPI=2 -SUPPORT_PYTHON_ABIS=1 +# $Header: /var/cvsroot/gentoo-x86/dev-python/execnet/execnet-1.0.2.ebuild,v 1.2 2010/01/17 17:32:13 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + inherit distutils DESCRIPTION="Rapid multi-Python deployment" -HOMEPAGE="http://codespeak.net/execnet/ http://pypi.python.org/pypi/execnet/" +HOMEPAGE="http://codespeak.net/execnet/ http://pypi.python.org/pypi/execnet" SRC_URI="http://pypi.python.org/packages/source/e/${PN}/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~amd64 ~x86" IUSE="doc test" -RDEPEND="" -DEPEND="doc? ( dev-python/sphinx ) +DEPEND="dev-python/setuptools + doc? ( dev-python/sphinx ) test? ( >=dev-python/py-1.1.1 )" +RDEPEND="" src_compile() { distutils_src_compile @@ -27,7 +31,10 @@ src_compile() { } src_test() { - py.test testing || die "test failed" + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" py.test testing + } + python_execute_function testing } src_install() { |