From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-python@lists.gentoo.org
Cc: python@gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-python] [PATCH 2/2] Use python_gen_*() functions to make the deps simpler.
Date: Wed, 19 Dec 2012 22:00:38 +0100 [thread overview]
Message-ID: <1355950838-31624-2-git-send-email-mgorny@gentoo.org> (raw)
In-Reply-To: <1355950838-31624-1-git-send-email-mgorny@gentoo.org>
---
gx86/dev-python/dbus-python/dbus-python-1.1.1-r1.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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
index f5e6f41..5c3f40b 100644
--- 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
@@ -17,7 +17,7 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="doc examples test"
# API docs generated with epydoc, which is python2-only
-REQUIRED_USE="doc? ( || ( python_targets_python2_6 python_targets_python2_7 ) )"
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags python2*) ) )"
RDEPEND=">=dev-libs/dbus-glib-0.100:=
>=sys-apps/dbus-1.6:=
@@ -25,8 +25,8 @@ RDEPEND=">=dev-libs/dbus-glib-0.100:=
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? (
- dev-python/docutils[python_targets_python2_6?,python_targets_python2_7?]
- =dev-python/epydoc-3*[python_targets_python2_6?,python_targets_python2_7?] )
+ dev-python/docutils[$(python_gen_usedep python2*)]
+ =dev-python/epydoc-3*[$(python_gen_usedep python2*)] )
test? ( dev-python/pygobject:3 )"
# TODO: should be dev-python/pygobject:3[${PYTHON_USEDEP] when pygobject-3.4 is unmasked
--
1.8.0.2
prev parent reply other threads:[~2012-12-19 21:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-19 21:00 [gentoo-python] [PATCH 1/2] Introduce python_gen_usedep & python_gen_useflags for special deps Michał Górny
2012-12-19 21:00 ` Michał Górny [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1355950838-31624-2-git-send-email-mgorny@gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-python@lists.gentoo.org \
--cc=python@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox