summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-03-01 22:12:00 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-03-01 22:12:00 +0000
commita92797d0e08e944978ea3a56770aafc6ffa187d6 (patch)
tree0b50a231aa141143f78d2e8becd64a86eb2a69c5 /dev-python/coverage
parentSecurity update AST-2010-003 on the 1.6.1 & 1.6.2 branches. This addresses in... (diff)
downloadgentoo-2-a92797d0e08e944978ea3a56770aafc6ffa187d6.tar.gz
gentoo-2-a92797d0e08e944978ea3a56770aafc6ffa187d6.tar.bz2
gentoo-2-a92797d0e08e944978ea3a56770aafc6ffa187d6.zip
Version bump.
(Portage version: 15511-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.ebuild33
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-python/coverage/ChangeLog b/dev-python/coverage/ChangeLog
index 18e0d432a674..ffaa7c525eea 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.20 2010/01/31 16:18:32 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/coverage/ChangeLog,v 1.21 2010/03/01 22:12:00 arfrever Exp $
+
+*coverage-3.3 (01 Mar 2010)
+
+ 01 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +coverage-3.3.ebuild:
+ Version bump.
31 Jan 2010; <hwoarang@gentoo.org> coverage-3.2.ebuild:
Stable on amd64 wrt bug #300241
diff --git a/dev-python/coverage/coverage-3.3.ebuild b/dev-python/coverage/coverage-3.3.ebuild
new file mode 100644
index 000000000000..db1183882145
--- /dev/null
+++ b/dev-python/coverage/coverage-3.3.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.ebuild,v 1.1 2010/03/01 22:12:00 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
+}