summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-04-09 04:01:22 +0000
committerMike Gilbert <floppym@gentoo.org>2012-04-09 04:01:22 +0000
commitabe273650296b6fb4f546e5810293b42cc54748f (patch)
tree7458d2e3c2f09f8e2dd7da903a34482ad9980fbd
parentRemove old (diff)
downloadgentoo-2-abe273650296b6fb4f546e5810293b42cc54748f.tar.gz
gentoo-2-abe273650296b6fb4f546e5810293b42cc54748f.tar.bz2
gentoo-2-abe273650296b6fb4f546e5810293b42cc54748f.zip
Add optional dependency on dev-python/coverage, #388443.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
-rw-r--r--dev-python/nose/ChangeLog6
-rw-r--r--dev-python/nose/metadata.xml3
-rw-r--r--dev-python/nose/nose-1.1.2.ebuild7
3 files changed, 12 insertions, 4 deletions
diff --git a/dev-python/nose/ChangeLog b/dev-python/nose/ChangeLog
index f63fd6a70368..3ec267545cc2 100644
--- a/dev-python/nose/ChangeLog
+++ b/dev-python/nose/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/nose
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.82 2012/02/13 17:23:10 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.83 2012/04/09 04:01:22 floppym Exp $
+
+ 09 Apr 2012; Mike Gilbert <floppym@gentoo.org> metadata.xml,
+ nose-1.1.2.ebuild:
+ Add optional dependency on dev-python/coverage, #388443.
13 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> nose-1.1.2.ebuild:
ppc64 stable wrt #386793
diff --git a/dev-python/nose/metadata.xml b/dev-python/nose/metadata.xml
index aaf1fbc29ac7..8df97e1c9a3c 100644
--- a/dev-python/nose/metadata.xml
+++ b/dev-python/nose/metadata.xml
@@ -2,6 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
+ <use>
+ <flag name="coverage">Utilize <pkg>dev-python/coverage</pkg></flag>
+ </use>
<upstream>
<remote-id type="pypi">nose</remote-id>
</upstream>
diff --git a/dev-python/nose/nose-1.1.2.ebuild b/dev-python/nose/nose-1.1.2.ebuild
index 421e4323ff64..c568ac2d8424 100644
--- a/dev-python/nose/nose-1.1.2.ebuild
+++ b/dev-python/nose/nose-1.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/nose-1.1.2.ebuild,v 1.8 2012/02/13 17:23:10 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/nose-1.1.2.ebuild,v 1.9 2012/04/09 04:01:22 floppym Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@@ -14,9 +14,10 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc examples test"
+IUSE="coverage doc examples test"
-RDEPEND="dev-python/setuptools"
+RDEPEND="coverage? ( dev-python/coverage )
+ dev-python/setuptools"
DEPEND="${RDEPEND}
doc? ( >=dev-python/sphinx-0.6 )
test? ( dev-python/twisted )"