diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2015-11-25 23:21:37 +0100 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2015-11-26 11:50:45 +0100 |
commit | d0fd9ff52b8624c365176793ee082fe61b7d667b (patch) | |
tree | c82b89f51f33334a7696ac0a4bc0df5971f37430 | |
parent | media-gfx/gnome-photos: drop old revision (diff) | |
download | gentoo-d0fd9ff52b8624c365176793ee082fe61b7d667b.tar.gz gentoo-d0fd9ff52b8624c365176793ee082fe61b7d667b.tar.bz2 gentoo-d0fd9ff52b8624c365176793ee082fe61b7d667b.zip |
media-gfx/gnome-photos: setup python environment for unittests
Package-Manager: portage-2.2.25
-rw-r--r-- | media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild | 7 |
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) |