diff options
Diffstat (limited to 'net-zope/zlog/zlog-2.11.1.ebuild')
-rw-r--r-- | net-zope/zlog/zlog-2.11.1.ebuild | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/net-zope/zlog/zlog-2.11.1.ebuild b/net-zope/zlog/zlog-2.11.1.ebuild index f7c16c528e57..365c19c07924 100644 --- a/net-zope/zlog/zlog-2.11.1.ebuild +++ b/net-zope/zlog/zlog-2.11.1.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/zlog/zlog-2.11.1.ebuild,v 1.6 2010/10/30 18:17:55 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zlog/zlog-2.11.1.ebuild,v 1.7 2010/12/23 12:58:00 arfrever Exp $ -EAPI="2" +EAPI="3" SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="nosetests" inherit distutils @@ -17,12 +19,11 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="ZPL" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="test" +IUSE="" DEPEND="dev-python/setuptools - test? ( dev-python/nose net-zope/zconfig )" + test? ( net-zope/zconfig )" RDEPEND="" -RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}/${MY_P}" @@ -34,10 +35,3 @@ src_prepare() { # net-zope/zconfig is actually used only by tests. sed -e "/ZConfig/d" -i setup.py || die "sed failed" } - -src_test() { - testing() { - PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib)" nosetests-${PYTHON_ABI} - } - python_execute_function testing -} |