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
commit8af446d85ea344d0cadc113974631ad6fa364c69 (patch)
treea8cbb1cc2953f8eae2d26806d998b3f2e024a681 /dev-python/coverage
parentremove www-apps/mambo from package.mask wrt #203084 (diff)
downloadgentoo-2-8af446d85ea344d0cadc113974631ad6fa364c69.tar.gz
gentoo-2-8af446d85ea344d0cadc113974631ad6fa364c69.tar.bz2
gentoo-2-8af446d85ea344d0cadc113974631ad6fa364c69.zip
Version bump.
(Portage version: 15754-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/coverage')
-rw-r--r--dev-python/coverage/ChangeLog8
-rw-r--r--dev-python/coverage/coverage-3.3.1.ebuild33
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-python/coverage/ChangeLog b/dev-python/coverage/ChangeLog
index ffaa7c525eea..63c3c9c43a1c 100644
--- a/dev-python/coverage/ChangeLog
+++ b/dev-python/coverage/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/coverage
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/coverage/ChangeLog,v 1.21 2010/03/01 22:12:00 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/coverage/ChangeLog,v 1.22 2010/03/07 13:08:09 arfrever Exp $
+
+*coverage-3.3.1 (07 Mar 2010)
+
+ 07 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +coverage-3.3.1.ebuild:
+ Version bump.
*coverage-3.3 (01 Mar 2010)
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
+}