commit:     c8b9f6e1a1d147cecf56a82815f15c19ee7f96f4
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri May 26 22:07:17 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri May 26 22:52:53 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8b9f6e1

gnome-extra/gnome-commander: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 gnome-extra/gnome-commander/gnome-commander-1.6.3.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnome-extra/gnome-commander/gnome-commander-1.6.3.ebuild 
b/gnome-extra/gnome-commander/gnome-commander-1.6.3.ebuild
index f23f4af3ddd..c164d9d403c 100644
--- a/gnome-extra/gnome-commander/gnome-commander-1.6.3.ebuild
+++ b/gnome-extra/gnome-commander/gnome-commander-1.6.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="chm exif gsf pdf python taglib samba test +unique"
+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 \

Reply via email to