commit:     71ebde04f264ef5e49f04701791ef415e65e361e
Author:     Christian Tietz <christian.tietz <AT> mailbox <DOT> org>
AuthorDate: Mon Jan  1 20:49:25 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Jan  3 11:06:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ebde04

sys-apps/bleachbit: drop dev-pythonnotify-python from RDEPEND and add elog 
message.

dev-python/notify-python is optional and not necessary in many if not most use
cases. Hence, just like in e.g. Debian, it should not be a hard dependency.
Moreover, it unconditionally pulls in dev-python/pygtk, rendering the gtk USE
flag pointless.

Package-Manager: Portage-2.3.13, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/6682

 .../{bleachbit-1.19.ebuild => bleachbit-1.19-r1.ebuild}      | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/sys-apps/bleachbit/bleachbit-1.19.ebuild 
b/sys-apps/bleachbit/bleachbit-1.19-r1.ebuild
similarity index 85%
rename from sys-apps/bleachbit/bleachbit-1.19.ebuild
rename to sys-apps/bleachbit/bleachbit-1.19-r1.ebuild
index f6f51d04867..6e967412811 100644
--- a/sys-apps/bleachbit/bleachbit-1.19.ebuild
+++ b/sys-apps/bleachbit/bleachbit-1.19-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,9 +21,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="+gtk nls"
 
-RDEPEND="
-       dev-python/notify-python[$PYTHON_USEDEP]
-       gtk? ( dev-python/pygtk:2[$PYTHON_USEDEP] )"
+RDEPEND="gtk? ( dev-python/pygtk:2[$PYTHON_USEDEP] )"
 
 DEPEND="${RDEPEND}
        nls? ( sys-devel/gettext )"
@@ -64,3 +62,9 @@ python_install_all() {
        doicon ${PN}.png
        domenu ${PN}.desktop
 }
+
+pkg_postinst() {
+       elog "Bleachbit has optional notification support. To enable, please 
install:"
+       elog ""
+       elog "  dev-python/notify-python"
+}

Reply via email to