summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-23 12:58:00 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-23 12:58:00 +0000
commitba1b3db981987bd120065c2e1f31db5d2a839805 (patch)
tree58fa0377644cf535ea67e0f13520fde2299c9000 /net-zope
parentUpdate EAPI. Fix dependencies. (diff)
downloadgentoo-2-ba1b3db981987bd120065c2e1f31db5d2a839805.tar.gz
gentoo-2-ba1b3db981987bd120065c2e1f31db5d2a839805.tar.bz2
gentoo-2-ba1b3db981987bd120065c2e1f31db5d2a839805.zip
Update EAPI. Use DISTUTILS_SRC_TEST.
(Portage version: 2.2.0_alpha10_p4/cvs/Linux x86_64)
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/zlog/zlog-2.11.1.ebuild18
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
-}