Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH 2/2] Use python_gen_*() functions to make the deps simpler.
Date: Wed, 19 Dec 2012 21:00:53
Message-Id: 1355950838-31624-2-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] [PATCH 1/2] Introduce python_gen_usedep & python_gen_useflags for special deps. by "Michał Górny"
1 ---
2 gx86/dev-python/dbus-python/dbus-python-1.1.1-r1.ebuild | 6 +++---
3 1 file changed, 3 insertions(+), 3 deletions(-)
4
5 diff --git a/gx86/dev-python/dbus-python/dbus-python-1.1.1-r1.ebuild b/gx86/dev-python/dbus-python/dbus-python-1.1.1-r1.ebuild
6 index f5e6f41..5c3f40b 100644
7 --- a/gx86/dev-python/dbus-python/dbus-python-1.1.1-r1.ebuild
8 +++ b/gx86/dev-python/dbus-python/dbus-python-1.1.1-r1.ebuild
9 @@ -17,7 +17,7 @@ SLOT="0"
10 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
11 IUSE="doc examples test"
12 # API docs generated with epydoc, which is python2-only
13 -REQUIRED_USE="doc? ( || ( python_targets_python2_6 python_targets_python2_7 ) )"
14 +REQUIRED_USE="doc? ( || ( $(python_gen_useflags python2*) ) )"
15
16 RDEPEND=">=dev-libs/dbus-glib-0.100:=
17 >=sys-apps/dbus-1.6:=
18 @@ -25,8 +25,8 @@ RDEPEND=">=dev-libs/dbus-glib-0.100:=
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig
21 doc? (
22 - dev-python/docutils[python_targets_python2_6?,python_targets_python2_7?]
23 - =dev-python/epydoc-3*[python_targets_python2_6?,python_targets_python2_7?] )
24 + dev-python/docutils[$(python_gen_usedep python2*)]
25 + =dev-python/epydoc-3*[$(python_gen_usedep python2*)] )
26 test? ( dev-python/pygobject:3 )"
27 # TODO: should be dev-python/pygobject:3[${PYTHON_USEDEP] when pygobject-3.4 is unmasked
28
29 --
30 1.8.0.2