mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
sys-apps/bleachbit: Remove old
Signed-off-by: Christian Tietz <christian.tietz@mailbox.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/12213 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST bleachbit-2.0.tar.gz 886357 BLAKE2B f63ded34d245df892b2c14683ceaae8b57e786a8ab3111e7f76d484c6d3db404996119ab4114c3ae025848936a784878b3f100cf2ca8737401a6daaaf74a077e SHA512 adf5c2f2382b2eaab0eb2b4a173b392c160af7974f223c74ae51a30423514a15b98f04194b9ccde209b5c067d8481f0f1ee28651896d3002fcfa3927d8db056b
|
||||
DIST bleachbit-2.2.tar.gz 1100913 BLAKE2B a16e63a2533f9d9c385d384e2fd65dbb32a8f064e769f99e8a8cab9c4069cc7b21e6896c5fa8d02d8204e8c93da8a5f66605601eb44ecc354d41f1a6d9fe2d0a SHA512 c7661cc64358a6420768c3ee1a6ec97d2fd4f0bf67b393be045ef79cef8b3f8cc273a51a5dd7c79d89b8a14cd1357f7714fc860addc9ae74af48bd8d427b3a5a
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite(+)"
|
||||
|
||||
inherit desktop distutils-r1
|
||||
|
||||
DESCRIPTION="Clean junk to free disk space and to maintain privacy"
|
||||
HOMEPAGE="https://www.bleachbit.org"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+gtk"
|
||||
|
||||
RDEPEND="gtk? ( dev-python/pygtk:2[$PYTHON_USEDEP] )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
python_prepare_all() {
|
||||
# choose correct Python implementation, bug #465254
|
||||
sed -i 's/python/$(PYTHON)/g' po/Makefile || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
emake -C po local
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
python_newscript ${PN}.py ${PN}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
emake -C po DESTDIR="${D}" install
|
||||
|
||||
# https://bugs.gentoo.org/388999
|
||||
insinto /usr/share/bleachbit/cleaners
|
||||
doins cleaners/*.xml
|
||||
|
||||
doicon ${PN}.png
|
||||
domenu ${PN}.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Bleachbit has optional notification support. To enable, please install:"
|
||||
elog ""
|
||||
elog " dev-python/notify-python"
|
||||
}
|
||||
Reference in New Issue
Block a user