1 |
commit: 6cb312af2bd483826c95f3404b3898c58207e93b |
2 |
Author: Hummer12007 <hilobakho <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Apr 13 16:28:37 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 15 07:32:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cb312af |
7 |
|
8 |
x11-misc/redshift: do not set Python up w/ USE=-gtk |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/4416 |
11 |
|
12 |
x11-misc/redshift/redshift-1.11-r1.ebuild | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/x11-misc/redshift/redshift-1.11-r1.ebuild b/x11-misc/redshift/redshift-1.11-r1.ebuild |
16 |
index d9f7e168280..2275d41cc66 100644 |
17 |
--- a/x11-misc/redshift/redshift-1.11-r1.ebuild |
18 |
+++ b/x11-misc/redshift/redshift-1.11-r1.ebuild |
19 |
@@ -30,7 +30,7 @@ DEPEND="${COMMON_DEPEND} |
20 |
nls? ( sys-devel/gettext ) |
21 |
appindicator? ( dev-libs/libappindicator ) |
22 |
" |
23 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
24 |
+REQUIRED_USE="gtk? ( ${PYTHON_REQUIRED_USE} )" |
25 |
|
26 |
src_prepare() { |
27 |
epatch_user |
28 |
@@ -38,7 +38,7 @@ src_prepare() { |
29 |
} |
30 |
|
31 |
src_configure() { |
32 |
- python_export_best |
33 |
+ use gtk && python_setup |
34 |
|
35 |
econf \ |
36 |
--disable-silent-rules \ |