1 |
commit: d0fd9ff52b8624c365176793ee082fe61b7d667b |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 25 22:21:37 2015 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 26 10:50:45 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0fd9ff5 |
7 |
|
8 |
media-gfx/gnome-photos: setup python environment for unittests |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
|
12 |
media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild | 7 ++++++- |
13 |
1 file changed, 6 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild b/media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild |
16 |
index 41d7a68..98340a3 100644 |
17 |
--- a/media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild |
18 |
+++ b/media-gfx/gnome-photos/gnome-photos-3.18.2.ebuild |
19 |
@@ -4,8 +4,9 @@ |
20 |
|
21 |
EAPI="5" |
22 |
GCONF_DEBUG="no" |
23 |
+PYTHON_COMPAT=( python2_7 ) |
24 |
|
25 |
-inherit gnome2 virtualx |
26 |
+inherit gnome2 python-any-r1 virtualx |
27 |
|
28 |
DESCRIPTION="Access, organize and share your photos on GNOME" |
29 |
HOMEPAGE="https://wiki.gnome.org/Apps/Photos" |
30 |
@@ -44,6 +45,10 @@ DEPEND="${RDEPEND} |
31 |
# eautoreconf |
32 |
# app-text/yelp-tools |
33 |
|
34 |
+pkg_setup() { |
35 |
+ use test && python-any-r1_pkg_setup |
36 |
+} |
37 |
+ |
38 |
src_configure() { |
39 |
gnome2_src_configure \ |
40 |
$(use_enable test dogtail) |