sys-apps/bleachbit: drop dev-pythonnotify-python from RDEPEND and add elog message.
authorChristian Tietz <christian.tietz@mailbox.org>
Mon, 1 Jan 2018 20:49:25 +0000 (21:49 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 3 Jan 2018 11:06:39 +0000 (12:06 +0100)
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

sys-apps/bleachbit/bleachbit-1.19-r1.ebuild [moved from sys-apps/bleachbit/bleachbit-1.19.ebuild with 85% similarity]

similarity index 85%
rename from sys-apps/bleachbit/bleachbit-1.19.ebuild
rename to sys-apps/bleachbit/bleachbit-1.19-r1.ebuild
index f6f51d048670b68ba5d40c7510f123999ae4fdc6..6e9674128119cee16ec6b4c1e5f822e26f0916fa 100644 (file)
@@ -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"
+}