1 |
commit: 71ebde04f264ef5e49f04701791ef415e65e361e |
2 |
Author: Christian Tietz <christian.tietz <AT> mailbox <DOT> org> |
3 |
AuthorDate: Mon Jan 1 20:49:25 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 3 11:06:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ebde04 |
7 |
|
8 |
sys-apps/bleachbit: drop dev-pythonnotify-python from RDEPEND and add elog message. |
9 |
|
10 |
dev-python/notify-python is optional and not necessary in many if not most use |
11 |
cases. Hence, just like in e.g. Debian, it should not be a hard dependency. |
12 |
Moreover, it unconditionally pulls in dev-python/pygtk, rendering the gtk USE |
13 |
flag pointless. |
14 |
|
15 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
16 |
Closes: https://github.com/gentoo/gentoo/pull/6682 |
17 |
|
18 |
.../{bleachbit-1.19.ebuild => bleachbit-1.19-r1.ebuild} | 12 ++++++++---- |
19 |
1 file changed, 8 insertions(+), 4 deletions(-) |
20 |
|
21 |
diff --git a/sys-apps/bleachbit/bleachbit-1.19.ebuild b/sys-apps/bleachbit/bleachbit-1.19-r1.ebuild |
22 |
similarity index 85% |
23 |
rename from sys-apps/bleachbit/bleachbit-1.19.ebuild |
24 |
rename to sys-apps/bleachbit/bleachbit-1.19-r1.ebuild |
25 |
index f6f51d04867..6e967412811 100644 |
26 |
--- a/sys-apps/bleachbit/bleachbit-1.19.ebuild |
27 |
+++ b/sys-apps/bleachbit/bleachbit-1.19-r1.ebuild |
28 |
@@ -1,4 +1,4 @@ |
29 |
-# Copyright 1999-2017 Gentoo Foundation |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
|
33 |
EAPI=6 |
34 |
@@ -21,9 +21,7 @@ SLOT="0" |
35 |
KEYWORDS="~amd64 ~x86" |
36 |
IUSE="+gtk nls" |
37 |
|
38 |
-RDEPEND=" |
39 |
- dev-python/notify-python[$PYTHON_USEDEP] |
40 |
- gtk? ( dev-python/pygtk:2[$PYTHON_USEDEP] )" |
41 |
+RDEPEND="gtk? ( dev-python/pygtk:2[$PYTHON_USEDEP] )" |
42 |
|
43 |
DEPEND="${RDEPEND} |
44 |
nls? ( sys-devel/gettext )" |
45 |
@@ -64,3 +62,9 @@ python_install_all() { |
46 |
doicon ${PN}.png |
47 |
domenu ${PN}.desktop |
48 |
} |
49 |
+ |
50 |
+pkg_postinst() { |
51 |
+ elog "Bleachbit has optional notification support. To enable, please install:" |
52 |
+ elog "" |
53 |
+ elog " dev-python/notify-python" |
54 |
+} |