sys-apps/bleachbit: Remove old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Christian Tietz <christian.tietz@mailbox.org>
Closes: https://github.com/gentoo/gentoo/pull/25608
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Christian Tietz
2022-05-23 14:13:06 +02:00
committed by Conrad Kostecki
parent d5402ba5ea
commit 189b09c8d2
2 changed files with 0 additions and 83 deletions

View File

@@ -1,2 +1 @@
DIST bleachbit-4.2.0.tar.bz2 606223 BLAKE2B c45a11db556b9c3e3a19583bfaa633244e2ea2e374ec8b883cba486126cfb33617cd7930af79d379711980ad4b56426b39a3e68532462be1918da1386369d137 SHA512 6d43da42c6a2a328c8fb766a3f00f4511e72a00836316c279c8dc3a24468abb4c2ce909b42c568ee0b8417c08827c7cb79ae197ae693b8d6ce60faf22422effb
DIST bleachbit-4.4.2.tar.bz2 653525 BLAKE2B ae65e310d33c2e523244a32de1ff28081be940a6a2ed2aadf682218ebe7346de3b5f37ab457d4f16542730d617678effbcda461e7080c43cd81c17f6b959018d SHA512 247a1ed0e491e5e02c4bc9a5c2d11d5f1511ef9644b9edf34b1c9326e6515c33dfd60b98bb2dab59eac36ab5e1c9b5ed1e8d7c749261bde90450a2fc717dae6f

View File

@@ -1,82 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
PYTHON_REQ_USE="sqlite(+)"
DISTUTILS_SINGLE_IMPL=1
inherit desktop distutils-r1 virtualx
DESCRIPTION="Clean junk to free disk space and to maintain privacy"
HOMEPAGE="https://www.bleachbit.org"
SRC_URI="https://download.bleachbit.org/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
RDEPEND="
$(python_gen_cond_dep '
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
')
"
BDEPEND="
sys-devel/gettext
test? (
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]')
)
"
distutils_enable_tests unittest
# tests fail under FEATURES=usersandbox
RESTRICT="test"
python_prepare_all() {
if use test; then
# avoid tests requiring internet access
rm tests/Test{Chaff,Update}.py || die
# fails due to non-existent $HOME/.profile
rm tests/TestInit.py || die
# these fail on upstream Travis CI as well as on Gentoo
sed -e "s/test_notify(self)/_&/" \
-i tests/TestGUI.py || die
sed -e "s/test_get_proc_swaps(self)/_&/" \
-i tests/TestMemory.py || die
fi
distutils-r1_python_prepare_all
}
python_compile_all() {
emake -C po local
}
python_test() {
virtx emake tests
}
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
insinto /usr/share/bleachbit/cleaners
doins cleaners/*.xml
insinto /usr/share/bleachbit
doins data/app-menu.ui
doicon ${PN}.png
domenu org.${PN}.BleachBit.desktop
}