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
This commit is contained in:
Christian Tietz
2018-01-03 12:06:39 +01:00
committed by Patrice Clement
parent 112ada9496
commit 71ebde04f2
@@ -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"
}