From a0cfda3b6b985cc0f981caf18a4c75322c9f54d5 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 17 Jan 2010 17:32:13 +0000 Subject: [PATCH] Fix dependencies and src_test(). Package-Manager: portage-15200-svn/cvs/Linux x86_64 --- Manifest | 2 +- execnet-1.0.2.ebuild | 21 ++++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Manifest b/Manifest index 95ff369..baecc78 100644 --- a/Manifest +++ b/Manifest @@ -1,4 +1,4 @@ DIST execnet-1.0.2.tar.gz 186074 RMD160 cb852437ff28f96c250105ecbaf0f9230c357137 SHA1 0ef41d2ceeec777996ce88e4b7030c3a8651248e SHA256 195791ef6433e303f64782b6f13e9aba21a7f64778c4a4c7a0a3ae9fcf20a82a -EBUILD execnet-1.0.2.ebuild 892 RMD160 dad98419d3236b84e6085720c5404379c895bc15 SHA1 dd0ad21bfec96137c64c66789a085be51fcc39fa SHA256 92dac41c2e2716d5dab2c1ca71cfde4d2e096a64077a34f913a7b6172b6d1fc5 +EBUILD execnet-1.0.2.ebuild 996 RMD160 c85f5db7c08efe63457dbcfb34f052050cc6153e SHA1 151ea39bcc89e96c101956263bb140cad22fe4df SHA256 f876162523535483be5b22e19841d5caa715275c165934e1f13ed14f8ecae31b MISC ChangeLog 346 RMD160 9b5605b277b351d1886cd554e93ad261a7621e3b SHA1 6887cb367fe3725e5c69367d201a8886ef268c4b SHA256 b56044c3b573068dc10053bbe21fc78430db4bbaafe4bb7553c3a5059e1fe912 MISC metadata.xml 375 RMD160 fa55887fbec717c8f8d946ec2d32ff420c906d83 SHA1 b34a98e7a27a1b1cfb04647fd5eb0c65fee4c787 SHA256 4fa41cf1cfe3171a09abf4fd8b8d69ad0039893b0a134fac53b4084e4de87009 diff --git a/execnet-1.0.2.ebuild b/execnet-1.0.2.ebuild index 8aff26e..4296084 100644 --- a/execnet-1.0.2.ebuild +++ b/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$ -EAPI=2 -SUPPORT_PYTHON_ABIS=1 + +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() { -- 2.26.2