Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bleachbit/
Date: Wed, 24 Nov 2021 08:07:49
Message-Id: 1637741255.f73e4592597827f803804459b33814551bf86acd.juippis@gentoo
1 commit: f73e4592597827f803804459b33814551bf86acd
2 Author: Christian Tietz <christian.tietz <AT> mailbox <DOT> org>
3 AuthorDate: Sun Nov 14 12:53:42 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 24 08:07:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f73e4592
7
8 sys-apps/bleachbit: Remove old
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Christian Tietz <christian.tietz <AT> mailbox.org>
12 Closes: https://github.com/gentoo/gentoo/pull/22946
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 sys-apps/bleachbit/Manifest | 1 -
16 sys-apps/bleachbit/bleachbit-4.4.0.ebuild | 85 -------------------------------
17 2 files changed, 86 deletions(-)
18
19 diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest
20 index 35ec65996d64..fc582f449e52 100644
21 --- a/sys-apps/bleachbit/Manifest
22 +++ b/sys-apps/bleachbit/Manifest
23 @@ -1,3 +1,2 @@
24 DIST bleachbit-4.2.0.tar.bz2 606223 BLAKE2B c45a11db556b9c3e3a19583bfaa633244e2ea2e374ec8b883cba486126cfb33617cd7930af79d379711980ad4b56426b39a3e68532462be1918da1386369d137 SHA512 6d43da42c6a2a328c8fb766a3f00f4511e72a00836316c279c8dc3a24468abb4c2ce909b42c568ee0b8417c08827c7cb79ae197ae693b8d6ce60faf22422effb
25 -DIST bleachbit-4.4.0.tar.bz2 640690 BLAKE2B 577b5498eeb25c499753468fd6d20fa398423ee0f36837069ecd3c6e32d20686bdf2e41492d8b082551ad373266f98963d900bc68042dc0715a5f509945be352 SHA512 ad117a790803dc405752a4582b735351842305603de7ea9d98b0d59d93e8f75e18d7125958c1cb907891098f79502ebe5a560191384036506ac4ea66694f93af
26 DIST bleachbit-4.4.2.tar.bz2 653525 BLAKE2B ae65e310d33c2e523244a32de1ff28081be940a6a2ed2aadf682218ebe7346de3b5f37ab457d4f16542730d617678effbcda461e7080c43cd81c17f6b959018d SHA512 247a1ed0e491e5e02c4bc9a5c2d11d5f1511ef9644b9edf34b1c9326e6515c33dfd60b98bb2dab59eac36ab5e1c9b5ed1e8d7c749261bde90450a2fc717dae6f
27
28 diff --git a/sys-apps/bleachbit/bleachbit-4.4.0.ebuild b/sys-apps/bleachbit/bleachbit-4.4.0.ebuild
29 deleted file mode 100644
30 index 3b1fdfbeb132..000000000000
31 --- a/sys-apps/bleachbit/bleachbit-4.4.0.ebuild
32 +++ /dev/null
33 @@ -1,85 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{8,9,10} )
40 -PYTHON_REQ_USE="sqlite(+)"
41 -DISTUTILS_SINGLE_IMPL=1
42 -
43 -inherit desktop distutils-r1 virtualx
44 -
45 -DESCRIPTION="Clean junk to free disk space and to maintain privacy"
46 -HOMEPAGE="https://www.bleachbit.org"
47 -SRC_URI="https://download.bleachbit.org/${P}.tar.bz2"
48 -
49 -LICENSE="GPL-3"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
52 -
53 -RDEPEND="
54 - $(python_gen_cond_dep '
55 - dev-python/chardet[${PYTHON_USEDEP}]
56 - dev-python/pygobject:3[${PYTHON_USEDEP}]
57 - ')
58 -"
59 -BDEPEND="
60 - sys-devel/gettext
61 - test? (
62 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]')
63 - )
64 -"
65 -
66 -distutils_enable_tests unittest
67 -
68 -# tests fail under FEATURES=usersandbox
69 -RESTRICT="test"
70 -
71 -python_prepare_all() {
72 - if use test; then
73 - # avoid tests requiring internet access
74 - rm tests/Test{Chaff,Update}.py || die
75 -
76 - # fails due to non-existent $HOME/.profile
77 - rm tests/TestInit.py || die
78 -
79 - # only applicable to Windows installer
80 - rm tests/TestNsisUtilities.py || die
81 -
82 - # these fail on upstream Travis CI as well as on Gentoo
83 - sed -e "s/test_notify(self)/_&/" \
84 - -i tests/TestGUI.py || die
85 -
86 - sed -e "s/test_get_proc_swaps(self)/_&/" \
87 - -i tests/TestMemory.py || die
88 - fi
89 -
90 - distutils-r1_python_prepare_all
91 -}
92 -
93 -python_compile_all() {
94 - emake -C po local
95 -}
96 -
97 -python_test() {
98 - virtx emake tests
99 -}
100 -
101 -python_install() {
102 - distutils-r1_python_install
103 - python_newscript ${PN}.py ${PN}
104 -}
105 -
106 -python_install_all() {
107 - distutils-r1_python_install_all
108 - emake -C po DESTDIR="${D}" install
109 -
110 - insinto /usr/share/bleachbit/cleaners
111 - doins cleaners/*.xml
112 -
113 - insinto /usr/share/bleachbit
114 - doins data/app-menu.ui
115 -
116 - doicon ${PN}.png
117 - domenu org.${PN}.BleachBit.desktop
118 -}