summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild')
-rw-r--r--media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild b/media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild
index 41d7a68e55f0..98340a3537eb 100644
--- a/media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild
+++ b/media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild
@@ -4,8 +4,9 @@
EAPI="5"
GCONF_DEBUG="no"
+PYTHON_COMPAT=( python2_7 )
-inherit gnome2 virtualx
+inherit gnome2 python-any-r1 virtualx
DESCRIPTION="Access, organize and share your photos on GNOME"
HOMEPAGE="https://wiki.gnome.org/Apps/Photos"
@@ -44,6 +45,10 @@ DEPEND="${RDEPEND}
# eautoreconf
# app-text/yelp-tools
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
src_configure() {
gnome2_src_configure \
$(use_enable test dogtail)