diff options
-rw-r--r-- | dev-python/pyxattr/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyxattr/pyxattr-0.4.0.ebuild | 14 |
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-python/pyxattr/Manifest b/dev-python/pyxattr/Manifest index 3bcb4bbd3ae7..a4b8f7e1259a 100644 --- a/dev-python/pyxattr/Manifest +++ b/dev-python/pyxattr/Manifest @@ -1,4 +1,4 @@ DIST pyxattr-0.4.0.tar.gz 19205 RMD160 cfb9d330b77caa922b21529c96bf2c175a977290 SHA1 9ed3e162742ed0e2c23d35f539b41e598c996016 SHA256 ffeac7a90f44661a3f0b29cf36e7d1cb73dddaa29f921ca5eef96d5d1b25f3b3 -EBUILD pyxattr-0.4.0.ebuild 613 RMD160 54fdd5e1db7178c28603a15f4e54374f9728e25d SHA1 dac1fb46a54afdbe76ddcbe79bd2327a99f6b692 SHA256 f4c42dff53f26f4b93383788720d9ab0d9d1a6a8cc5df43d1eaf12c38d8befb9 +EBUILD pyxattr-0.4.0.ebuild 784 RMD160 c79d0285d3a6d32839f315773b30d387c744a963 SHA1 d98916703009179f42aeed12872571abc866825f SHA256 6804b3b25902f7d33f336c363ff417572098bde38895ffaf7db96b863d955d12 MISC ChangeLog 2566 RMD160 d1f362fe8bcf4f08ba0e0a4b2a793fb7a29d129d SHA1 dd809f6e6be03b5955121fc835bef02934c0879d SHA256 669b907370f626a7888b07bf0f7fe73bbd7ba46d80c5fb32e83463cb03ad1630 MISC metadata.xml 426 RMD160 552d25c9119867a5f859dcda6cf520b3237d749c SHA1 395700d113983497f847838266094db03aa5b2c0 SHA256 95dc196c61a559b544aa3732a99d68323081f63677c05a27815361b6bad6bf18 diff --git a/dev-python/pyxattr/pyxattr-0.4.0.ebuild b/dev-python/pyxattr/pyxattr-0.4.0.ebuild index 537a1fc24cf1..9ea526fbbdd6 100644 --- a/dev-python/pyxattr/pyxattr-0.4.0.ebuild +++ b/dev-python/pyxattr/pyxattr-0.4.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxattr/pyxattr-0.4.0.ebuild,v 1.7 2009/10/25 13:41:48 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxattr/pyxattr-0.4.0.ebuild,v 1.8 2009/12/05 17:35:59 arfrever Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" @@ -14,9 +14,17 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 arm ia64 ppc ppc64 sh sparc x86" -IUSE="" +IUSE="test" RDEPEND="sys-apps/attr" DEPEND="${RDEPEND} - >=dev-python/setuptools-0.6_rc7-r1" + >=dev-python/setuptools-0.6_rc7-r1 + test? ( dev-python/nose )" RESTRICT_PYTHON_ABIS="3.*" + +src_test() { + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" nosetests-${PYTHON_ABI} + } + python_execute_function testing +} |