summaryrefslogtreecommitdiff
path: root/sys-apps/bleachbit
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/bleachbit')
-rw-r--r--sys-apps/bleachbit/Manifest4
-rw-r--r--sys-apps/bleachbit/bleachbit-2.0.ebuild (renamed from sys-apps/bleachbit/bleachbit-1.19-r1.ebuild)35
2 files changed, 13 insertions, 26 deletions
diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest
index c26f328bc146..bfc7e8c0c547 100644
--- a/sys-apps/bleachbit/Manifest
+++ b/sys-apps/bleachbit/Manifest
@@ -1,5 +1,5 @@
DIST bleachbit-1.12.tar.bz2 396838 BLAKE2B 1784b5bc6602e5599b29ffbd0ad0f27f05ffe3aaab25756e3e07fff56c72517493b551063975c943a0e16efc2ecb30fdf69878577b8a5b27eccfdfb3bdd59c40 SHA512 b9c13a75b86eebbedaf928394714ac4d7847b8d53d345a4884acee68cd9c46ff1d5f4108479d7695109bad03c0fcdbb6f89e77d8794a60697fd5c6acdb34530c
-DIST bleachbit-1.19.tar.gz 881530 BLAKE2B b3a9ebe066828ead728f4393ba9d52b92967004638f7d74a5dd0576693d2e7ee37eb9e4e4352b973602b7bd6179c7b3a5816109f3f57a56e95c5cbfde32472c3 SHA512 2543a121786ae41c535c7faaf9741808bca57bde75da9b7df75c2653e2864441713fe3b3388ff71db2e88dc9626b457c656fa713774899b7a4912d05329b7eb2
+DIST bleachbit-2.0.tar.gz 886357 BLAKE2B f63ded34d245df892b2c14683ceaae8b57e786a8ab3111e7f76d484c6d3db404996119ab4114c3ae025848936a784878b3f100cf2ca8737401a6daaaf74a077e SHA512 adf5c2f2382b2eaab0eb2b4a173b392c160af7974f223c74ae51a30423514a15b98f04194b9ccde209b5c067d8481f0f1ee28651896d3002fcfa3927d8db056b
EBUILD bleachbit-1.12.ebuild 1497 BLAKE2B 2f9511605fc483f3f853c1d7b19e1b7884fb075002843b9dba66b1f21b5849c7ba21e1219d5513b92e0a1477eca63c06d6d9383329af9fb10f172ad1119cdeed SHA512 4083aa52a3ae8091bb2532496ad1aa8c7aa48c68c371e8d681fb85c6e6d3745d76ccdb5181f15c61d8a4b07d3ea6220dde37f66848fe2753597da921841ef4fd
-EBUILD bleachbit-1.19-r1.ebuild 1667 BLAKE2B 3fe1bddb497aad685f9fe830da27275be5d4e9b0d61408080f2d1ee72e9bfc4adc59800d0207afc18b7fe004888ac9718b3a02e37af5401a4ce61aedac400162 SHA512 0348dfb64de0c4d6748c2f99ecd7db02b87e64caf0b60bae7d886b577bbe67eb69ac918413d6c32de646b23f265bebceec7024c856151f781939a16651e551c8
+EBUILD bleachbit-2.0.ebuild 1209 BLAKE2B 78d6ae6756b2bcf40686b6d70473a8efca937a53c6018fa2959a756560e8c29994f81b74d58e0b9503ac2122830ea582d7a43c1ce0fbd3f3a22f5c877b9fef5b SHA512 1c579246ba2cc9ef81f7bb9e530a3305f6881a835131cbb1e58641b1d5d2e799b022b68d09b0059ec2824ed11d8fd4922ea225122e4200763a780938161a9fe3
MISC metadata.xml 571 BLAKE2B dfb5414d647ae661fa1aaab2e5a301ce80a5306f1c658ce2448368fa2dc4b0f3f49d0084de0b5f0bf9e0f00f1abe4c6a441f68d5abe0a610ac13a4392a0343f5 SHA512 59eaf4a789189b5f02fbf945a26cddc46c3ca22ce0aeb5b0311768bf8af21bb80081bc31f859add067a32a6a7840343af43d0680913c0422161efb0784b09a8f
diff --git a/sys-apps/bleachbit/bleachbit-1.19-r1.ebuild b/sys-apps/bleachbit/bleachbit-2.0.ebuild
index 6e9674128119..3cf1d36382e9 100644
--- a/sys-apps/bleachbit/bleachbit-1.19-r1.ebuild
+++ b/sys-apps/bleachbit/bleachbit-2.0.ebuild
@@ -3,14 +3,10 @@
EAPI=6
-PLOCALES="
- ar ast be bg bn bs ca cs da de el en_AU en_CA en_GB eo es et eu fa fi fo fr
- gl he hi hr hu hy ia id it ja ko ku ky lt lv ms my nb nds nl nn pl pt pt_BR
- ro ru se si sk sl sq sr sv ta te th tr ug uk uz vi zh_CN zh_TW"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite(+)"
-inherit distutils-r1 eutils l10n
+inherit desktop distutils-r1
DESCRIPTION="Clean junk to free disk space and to maintain privacy"
HOMEPAGE="https://www.bleachbit.org"
@@ -19,25 +15,14 @@ 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 nls"
+IUSE="+gtk"
RDEPEND="gtk? ( dev-python/pygtk:2[$PYTHON_USEDEP] )"
DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
+ sys-devel/gettext"
python_prepare_all() {
- rem_locale() {
- rm "po/${1}.po" &>/dev/null
- if [[ $? -ne 0 ]]; then
- eerror "Removing of ${1}.po failed"
- die
- fi
- }
-
- l10n_find_plocales_changes po "" ".po"
- l10n_for_each_disabled_locale_do rem_locale
-
# choose correct Python implementation, bug #465254
sed -i 's/python/$(PYTHON)/g' po/Makefile || die
@@ -45,20 +30,22 @@ python_prepare_all() {
}
python_compile_all() {
- use nls && emake -C po
+ emake -C po local
+}
+
+python_install() {
+ distutils-r1_python_install
+ python_newscript ${PN}.py ${PN}
}
python_install_all() {
distutils-r1_python_install_all
- use nls && emake -C po DESTDIR="${D}" install
+ emake -C po DESTDIR="${D}" install
# https://bugs.gentoo.org/388999
- insinto /usr/share/${PN}/cleaners
+ insinto /usr/share/bleachbit/cleaners
doins cleaners/*.xml
- newbin ${PN}.py ${PN}
- python_replicate_script "${D}/usr/bin/${PN}"
-
doicon ${PN}.png
domenu ${PN}.desktop
}