summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-03-07 13:08:09 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-03-07 13:08:09 +0000
commit7490abd0e22c9c1d6312fef1a74c32fa83ff26f8 (patch)
treed31e31df323938f17c09496fb1e1507083ef8e49 /dev-python/coverage/coverage-3.3.1.ebuild
parentremove www-apps/mambo from package.mask wrt #203084 (diff)
downloadhistorical-7490abd0e22c9c1d6312fef1a74c32fa83ff26f8.tar.gz
historical-7490abd0e22c9c1d6312fef1a74c32fa83ff26f8.tar.bz2
historical-7490abd0e22c9c1d6312fef1a74c32fa83ff26f8.zip
Version bump.
Package-Manager: portage-15754-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/coverage/coverage-3.3.1.ebuild')
-rw-r--r--dev-python/coverage/coverage-3.3.1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/coverage/coverage-3.3.1.ebuild b/dev-python/coverage/coverage-3.3.1.ebuild
new file mode 100644
index 000000000000..e185ea14baa2
--- /dev/null
+++ b/dev-python/coverage/coverage-3.3.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/coverage/coverage-3.3.1.ebuild,v 1.1 2010/03/07 13:08:09 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="Measures code coverage during Python execution"
+HOMEPAGE="http://nedbatchelder.com/code/coverage/ http://pypi.python.org/pypi/coverage"
+SRC_URI="http://pypi.python.org/packages/source/c/coverage/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="test"
+
+RDEPEND="dev-python/setuptools"
+DEPEND="${RDEPEND}
+ test? ( >=dev-python/nose-0.10.3 )"
+
+PYTHON_MODNAME="coverage"
+
+src_test() {
+ testing() {
+ # Future version of dev-python/nose will support Python 3.
+ [[ "${PYTHON_ABI}" == 3.* ]] && return
+
+ "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" nosetests
+ }
+ python_execute_function testing
+}