[gnome-commander/gcmd-1-6] data/gnome-commander.ebuild.in: Add missing python metadata variables
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-6] data/gnome-commander.ebuild.in: Add missing python metadata variables
- Date: Sun, 28 May 2017 17:15:14 +0000 (UTC)
commit fd57e1b0952210b163a9f76c0f17ad151c3fe92f
Author: Uwe Scholz <uwescholz src gnome org>
Date: Sun May 28 16:28:00 2017 +0200
data/gnome-commander.ebuild.in: Add missing python metadata variables
data/gnome-commander.ebuild.in | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/data/gnome-commander.ebuild.in b/data/gnome-commander.ebuild.in
index 50ef235..d5128db 100644
--- a/data/gnome-commander.ebuild.in
+++ b/data/gnome-commander.ebuild.in
@@ -16,6 +16,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
@@ -31,7 +32,10 @@ RDEPEND="
gsf? ( >=gnome-extra/libgsf-@LIBGSF_REQ@ )
samba? ( >=gnome-base/gnome-vfs-@GNOMEVFS_REQ@[samba] )
pdf? ( >=app-text/poppler-@POPPLER_REQ@ )
- python? ( >=dev-python/gnome-vfs-python-@GNOMEVFS_REQ@ )
+ python? (
+ ${PYTHON_DEPS}
+ >=dev-python/gnome-vfs-python-@GNOMEVFS_REQ@
+ )
taglib? ( >=media-libs/taglib-@TAGLIB_REQ@ )
"
DEPEND="
@@ -43,6 +47,10 @@ DEPEND="
test? ( >=dev-util/cppunit-@CPPUNIT_REQ@ )
"
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
src_configure() {
gnome2_src_configure \
--disable-static \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]