diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-07 11:03:09 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-07 11:03:09 +0000 |
commit | 71ddc838185c29dd35370c292ca892031e4b2be0 (patch) | |
tree | 7f8c2da6d19849b9d880a01880f684427df9df10 /net-zope | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-71ddc838185c29dd35370c292ca892031e4b2be0.tar.gz gentoo-2-71ddc838185c29dd35370c292ca892031e4b2be0.tar.bz2 gentoo-2-71ddc838185c29dd35370c292ca892031e4b2be0.zip |
Simplify src_test().
(Portage version: 15754-svn/cvs/Linux x86_64)
Diffstat (limited to 'net-zope')
-rw-r--r-- | net-zope/zodb/zodb-3.9.4.ebuild | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/net-zope/zodb/zodb-3.9.4.ebuild b/net-zope/zodb/zodb-3.9.4.ebuild index 0deaa0058b07..885817e905c0 100644 --- a/net-zope/zodb/zodb-3.9.4.ebuild +++ b/net-zope/zodb/zodb-3.9.4.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zodb/zodb-3.9.4.ebuild,v 1.3 2010/02/10 18:35:57 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zodb/zodb-3.9.4.ebuild,v 1.4 2010/03/07 11:03:09 arfrever Exp $ EAPI="2" +PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" +DISTUTILS_SRC_TEST="setup.py" inherit distutils @@ -42,16 +44,9 @@ src_prepare() { python_convert_shebangs -r 2 src } -src_test() { - testing() { - PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test - } - python_execute_function testing -} - src_install() { distutils_src_install - # Don't install sources. + # Don't install C sources. find "${D}"usr/$(get_libdir)/python*/site-packages -name "*.c" -o -name "*.h" | xargs rm -f } |