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
commit80c7e7bbeeb03085431940744ee76eae076735cf (patch)
treea0ca23f8b30d9522619f0c7eef1b30f45593d5c1 /net-zope
parentUpdate EAPI. Fix dependencies. (diff)
downloadhistorical-80c7e7bbeeb03085431940744ee76eae076735cf.tar.gz
historical-80c7e7bbeeb03085431940744ee76eae076735cf.tar.bz2
historical-80c7e7bbeeb03085431940744ee76eae076735cf.zip
Update EAPI. Use DISTUTILS_SRC_TEST.
Package-Manager: portage-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
-}