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 41d7a68e55f02..98340a3537eb9 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)