x11-misc/treeline: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Fri, 21 Apr 2017 07:05:40 +0000 (09:05 +0200)
committerDavid Seifert <soap@gentoo.org>
Fri, 21 Apr 2017 07:05:40 +0000 (09:05 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

x11-misc/treeline/treeline-1.4.1-r1.ebuild

index e25cabea40c2470dbfa23839150a71bb645fb79a..26c6fb256526bfcf2d44e7433fe5738ffd5cfea9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -22,13 +22,14 @@ for lingua in ${TLLINGUAS[@]}; do
        SRC_URI+=" l10n_${lingua}? ( mirror://sourceforge/${PN}/${PN}-i18n-${PV}a.tar.gz )"
 done
 unset lingua
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="
        ${PYTHON_DEPS}
 "
 RDEPEND="
        ${DEPEND}
-       dev-python/PyQt4[X]
+       dev-python/PyQt4[X,${PYTHON_USEDEP}]
 "
 
 S="${WORKDIR}/TreeLine"