summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2015-10-20 03:04:13 +0200
committerDavide Pesavento <pesa@gentoo.org>2015-10-20 03:04:13 +0200
commite7fab92a6f49da4fc5935cf81a8997c2cd7f2dd8 (patch)
tree6a3afd5bc2f2464dc486f5fd61176d3818bf8f8a
parent4279e09e634543f886fe10308dd851b9d500f533 (diff)
downloadgentoo-e7fab92a6f49da4fc5935cf81a8997c2cd7f2dd8.tar.gz
gentoo-e7fab92a6f49da4fc5935cf81a8997c2cd7f2dd8.tar.xz
dev-python/sip: minor simplifications
Package-Manager: portage-2.2.23
-rw-r--r--dev-python/sip/sip-4.16.9.ebuild8
-rw-r--r--dev-python/sip/sip-4.9999.ebuild5
2 files changed, 7 insertions, 6 deletions
diff --git a/dev-python/sip/sip-4.16.9.ebuild b/dev-python/sip/sip-4.16.9.ebuild
index 0210d728dd7..dd80dedf601 100644
--- a/dev-python/sip/sip-4.16.9.ebuild
+++ b/dev-python/sip/sip-4.16.9.ebuild
@@ -18,10 +18,12 @@ LICENSE="|| ( GPL-2 GPL-3 SIP )"
KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="debug doc"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${DEPEND}"
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+"
src_prepare() {
epatch "${FILESDIR}"/${PN}-4.15.5-darwin.patch
diff --git a/dev-python/sip/sip-4.9999.ebuild b/dev-python/sip/sip-4.9999.ebuild
index 42eb3a15cc9..f7b9c0da855 100644
--- a/dev-python/sip/sip-4.9999.ebuild
+++ b/dev-python/sip/sip-4.9999.ebuild
@@ -18,9 +18,8 @@ LICENSE="|| ( GPL-2 GPL-3 SIP )"
KEYWORDS=""
IUSE="debug doc"
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${DEPEND}"
-[[ ${PV} == *9999* ]] && DEPEND+="
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
sys-devel/bison
sys-devel/flex
doc? ( dev-python/sphinx[$(python_gen_usedep 'python2*')] )