commit: bbd8daa03f6bfac76445bf72d1683be83435823f
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 29 16:41:14 2015 +0000
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Wed Jul 29 16:41:14 2015 +0000
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=bbd8daa0
[dev-python/sip] Don't call python2 directly, use python_setup().
Package-Manager: portage-2.2.20
dev-python/sip/sip-4.9999.ebuild | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/dev-python/sip/sip-4.9999.ebuild b/dev-python/sip/sip-4.9999.ebuild
index de669d9..58888b6 100644
--- a/dev-python/sip/sip-4.9999.ebuild
+++ b/dev-python/sip/sip-4.9999.ebuild
@@ -33,23 +33,25 @@ IUSE="debug doc"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}"
-
[[ ${PV} == *9999* ]] && DEPEND+="
- =dev-lang/python-2*
sys-devel/bison
sys-devel/flex
doc? ( dev-python/sphinx[$(python_gen_usedep 'python2*')] )
"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+[[ ${PV} == *9999* ]] && REQUIRED_USE+="
+ || ( $(python_gen_useflags 'python2*') )
+"
src_prepare() {
epatch "${FILESDIR}"/${PN}-4.15.5-darwin.patch
if [[ ${PV} == *9999* ]]; then
- python2 build.py prepare || die
+ python_setup 'python2*'
+ "${PYTHON}" build.py prepare || die
if use doc; then
- python2 build.py doc || die
+ "${PYTHON}" build.py doc || die
fi
fi