gnome-extra/gnome-commander: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 09:33:29 +0000 (11:33 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 11:24:44 +0000 (13:24 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

gnome-extra/gnome-commander/gnome-commander-1.4.8.ebuild
gnome-extra/gnome-commander/gnome-commander-1.6.1.ebuild

index 2e2b2fa593008a1ccb796c8b4f656b2496449808..c812765380d9c1989441fc9b5c914300f85cfef3 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
@@ -14,6 +14,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="chm doc exif gsf pdf python taglib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="app-text/gnome-doc-utils
        >=dev-libs/glib-2.6.0:2
@@ -28,7 +29,10 @@ RDEPEND="app-text/gnome-doc-utils
        exif? ( >=media-gfx/exiv2-0.14 )
        gsf? ( >=gnome-extra/libgsf-1.12.0 )
        pdf? ( >=app-text/poppler-0.18 )
-       python? ( >=dev-python/gnome-vfs-python-2.0.0 )
+       python? (
+               ${PYTHON_DEPS}
+               >=dev-python/gnome-vfs-python-2.0.0
+       )
        taglib? ( >=media-libs/taglib-1.4 )"
 DEPEND="${RDEPEND}
        >=dev-util/intltool-0.35.0
@@ -37,6 +41,10 @@ DEPEND="${RDEPEND}
 
 DOCS="AUTHORS BUGS ChangeLog NEWS README TODO"
 
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
+
 src_configure() {
        G2CONF="$(use_enable doc scrollkeeper)
                $(use_enable python)
index 75cd406457076ede3686bca9e252c9c331161d76..f5d9510947ecef1c4a1acf5eb5fee60893e78d3b 100644 (file)
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="chm exif gsf pdf python taglib samba test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
        app-text/gnome-doc-utils
@@ -30,7 +31,10 @@ RDEPEND="
        gsf? ( >=gnome-extra/libgsf-1.12.0 )
        samba? ( >=gnome-base/gnome-vfs-2.0.0[samba] )
        pdf? ( >=app-text/poppler-0.18 )
-       python? ( >=dev-python/gnome-vfs-python-2.0.0 )
+       python? (
+               ${PYTHON_DEPS}
+               >=dev-python/gnome-vfs-python-2.0.0
+       )
        taglib? ( >=media-libs/taglib-1.4 )
 "
 DEPEND="
@@ -42,6 +46,10 @@ DEPEND="
        test? ( >=dev-util/cppunit-1.13.2 )
 "
 
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
+
 src_configure() {
        gnome2_src_configure \
                --disable-static \