]> git.draconx.ca Git - gentoo-fixes.git/blobdiff - dev-python/pygtk/pygtk-2.24.0-r7.ebuild
dev-python/pygtk: Adapt to more python2 disabling.
[gentoo-fixes.git] / dev-python / pygtk / pygtk-2.24.0-r7.ebuild
similarity index 94%
rename from dev-python/pygtk/pygtk-2.24.0-r6.ebuild
rename to dev-python/pygtk/pygtk-2.24.0-r7.ebuild
index a73bcd51fea2597cf953f92b22d587e09fb058e6..aa521c27e42a8071ca3d1476099757991e326f57 100644 (file)
@@ -25,21 +25,22 @@ HOMEPAGE="https://gitlab.gnome.org/Archive/pygtk"
 LICENSE="LGPL-2.1"
 SLOT="2"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc examples test"
+IUSE="doc examples test +python_targets_python2_7"
 REQUIRED_USE=$PYTHON_REQUIRED_USE
 
 RESTRICT="!test? ( test )"
 
-RDEPEND="${PYTHON_DEPS}
-       >=dev-libs/glib-2.8:2
+DEPEND=">=dev-libs/glib-2.8:2
        >=x11-libs/pango-1.16
        >=dev-libs/atk-1.12
        >=x11-libs/gtk+-2.24:2
        >=dev-python/pycairo-1.0.2:2[$PYTHON_USEDEP]
        >=dev-python/pygobject-2.26.8-r53:2[$PYTHON_USEDEP]
        >=gnome-base/libglade-2.5:2.0"
-DEPEND=$RDEPEND
-BDEPEND="virtual/pkgconfig
+RDEPEND="$DEPEND
+       dev-lang/python:2.7"
+BDEPEND="dev-lang/python:2.7
+       virtual/pkgconfig
        doc? ( dev-libs/libxslt
                >=app-text/docbook-xsl-stylesheets-1.70.1 )"