media-gfx/gnome-photos: setup python environment for unittests

Package-Manager: portage-2.2.25
This commit is contained in:
Gilles Dartiguelongue
2015-11-25 23:21:37 +01:00
parent e93dc93ecf
commit d0fd9ff52b

View File

@@ -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)