summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-05 18:37:05 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-05 18:37:05 +0000
commitfbc56e971b0b4fa57bfc7fab5fb4e405f2989292 (patch)
treed36baac4e4b9240c61ba0da1130e36da5a760937 /dev-python
parentRevbump app-arch/pbzip2 to apply patch from bug #277539 for USE=symlink (diff)
downloadgentoo-2-fbc56e971b0b4fa57bfc7fab5fb4e405f2989292.tar.gz
gentoo-2-fbc56e971b0b4fa57bfc7fab5fb4e405f2989292.tar.bz2
gentoo-2-fbc56e971b0b4fa57bfc7fab5fb4e405f2989292.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14200-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/coverage/ChangeLog6
-rw-r--r--dev-python/coverage/coverage-3.0.1.ebuild17
2 files changed, 18 insertions, 5 deletions
diff --git a/dev-python/coverage/ChangeLog b/dev-python/coverage/ChangeLog
index e4dcc0d989e6..6d7054b62b39 100644
--- a/dev-python/coverage/ChangeLog
+++ b/dev-python/coverage/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/coverage
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/coverage/ChangeLog,v 1.9 2009/09/05 13:47:36 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/coverage/ChangeLog,v 1.10 2009/09/05 18:37:05 arfrever Exp $
+
+ 05 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ coverage-3.0.1.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
*coverage-3.0.1 (05 Sep 2009)
diff --git a/dev-python/coverage/coverage-3.0.1.ebuild b/dev-python/coverage/coverage-3.0.1.ebuild
index bc57803f13cc..f1874ed4ebd8 100644
--- a/dev-python/coverage/coverage-3.0.1.ebuild
+++ b/dev-python/coverage/coverage-3.0.1.ebuild
@@ -1,22 +1,31 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/coverage/coverage-3.0.1.ebuild,v 1.1 2009/09/05 13:47:36 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/coverage/coverage-3.0.1.ebuild,v 1.2 2009/09/05 18:37:05 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
inherit distutils
DESCRIPTION="Measures code coverage during Python execution"
HOMEPAGE="http://nedbatchelder.com/code/modules/coverage.html"
SRC_URI="http://pypi.python.org/packages/source/c/coverage/${P}.tar.gz"
+
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test"
+
RDEPEND=""
-DEPEND="${RDEPEND}
+DEPEND="dev-python/setuptools
test? ( >=dev-python/nose-0.10.3 )"
+RESTRICT_PYTHON_ABIS="3.*"
-PYTHON_MODNAME="coverage.py"
+PYTHON_MODNAME="coverage"
src_test() {
- ${python} setup.py nosetests || die
+ testing() {
+ "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" nosetests
+ }
+ python_execute_function testing
}