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: Tue, 29 Oct 2019 06:22:14
Message-Id: 1572329748.9067256ebc1a0212a3ca4442f0b3277a03ff7807.juippis@gentoo
1 commit: 9067256ebc1a0212a3ca4442f0b3277a03ff7807
2 Author: Christian Tietz <christian.tietz <AT> mailbox <DOT> org>
3 AuthorDate: Fri Oct 25 21:56:23 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 29 06:15:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9067256e
7
8 sys-apps/bleachbit: Bump to 3.0
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.16
11 Signed-off-by: Christian Tietz <christian.tietz <AT> mailbox.org>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 sys-apps/bleachbit/Manifest | 1 +
15 sys-apps/bleachbit/bleachbit-3.0.ebuild | 59 +++++++++++++++++++++++++++++++++
16 2 files changed, 60 insertions(+)
17
18 diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest
19 index 938076bcdf0..995c6c281a1 100644
20 --- a/sys-apps/bleachbit/Manifest
21 +++ b/sys-apps/bleachbit/Manifest
22 @@ -1,2 +1,3 @@
23 DIST bleachbit-2.2.tar.gz 1100913 BLAKE2B a16e63a2533f9d9c385d384e2fd65dbb32a8f064e769f99e8a8cab9c4069cc7b21e6896c5fa8d02d8204e8c93da8a5f66605601eb44ecc354d41f1a6d9fe2d0a SHA512 c7661cc64358a6420768c3ee1a6ec97d2fd4f0bf67b393be045ef79cef8b3f8cc273a51a5dd7c79d89b8a14cd1357f7714fc860addc9ae74af48bd8d427b3a5a
24 DIST bleachbit-2.3.tar.gz 1167950 BLAKE2B 61f7248ade73be167a8717ea63f4fc3c899ed437b2bd2bcdfbcdf844a5259056bbf4e90e0142d0b6ca393daf796067ff3f39eef1beef275f44ea7f4f16ee0a46 SHA512 27e6ddfa5dd773cd27508e566aa5ef3fe790543a6737a35e9c92fcebbb5f6d5a5e30faa52ce8c3cb70b0aadcfa4b1a48ed3622e3ed6fca9e35a3dfea7426f098
25 +DIST bleachbit-3.0.tar.bz2 562646 BLAKE2B 4acdd5469ac1b36ff149231ad0b1b2e4e85a54a81c24c7751ceeed569526b905c1cc6be5201c4fb6929eb48e0553f0b27016de2584ee2f702492cc3fe659c2f9 SHA512 0d61f0b183c0d453275913741020c54c2915be9df45be706203e2278b125f4a02c75865117a7a2d587a034caa9bf109b2f498a4d522cc103c3879cc4a5d4854d
26
27 diff --git a/sys-apps/bleachbit/bleachbit-3.0.ebuild b/sys-apps/bleachbit/bleachbit-3.0.ebuild
28 new file mode 100644
29 index 00000000000..78e8425c75e
30 --- /dev/null
31 +++ b/sys-apps/bleachbit/bleachbit-3.0.ebuild
32 @@ -0,0 +1,59 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python2_7 )
39 +PYTHON_REQ_USE="sqlite(+)"
40 +
41 +inherit desktop distutils-r1
42 +
43 +DESCRIPTION="Clean junk to free disk space and to maintain privacy"
44 +HOMEPAGE="https://www.bleachbit.org"
45 +SRC_URI="https://download.bleachbit.org/${P}.tar.bz2"
46 +
47 +LICENSE="GPL-3"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE=""
51 +
52 +RDEPEND="
53 + dev-python/chardet[$PYTHON_USEDEP]
54 + dev-python/pygobject:3[$PYTHON_USEDEP]
55 + dev-python/scandir[$PYTHON_USEDEP]
56 +"
57 +BDEPEND="
58 + dev-python/setuptools[$PYTHON_USEDEP]
59 + sys-devel/gettext
60 +"
61 +
62 +python_prepare_all() {
63 + # choose correct Python implementation, bug #465254
64 + sed -i 's/python/${EPYTHON}/g' po/Makefile || die
65 +
66 + distutils-r1_python_prepare_all
67 +}
68 +
69 +python_compile_all() {
70 + emake -C po local
71 +}
72 +
73 +python_install() {
74 + distutils-r1_python_install
75 + python_newscript ${PN}.py ${PN}
76 +}
77 +
78 +python_install_all() {
79 + distutils-r1_python_install_all
80 + emake -C po DESTDIR="${D}" install
81 +
82 + # https://bugs.gentoo.org/388999
83 + insinto /usr/share/bleachbit/cleaners
84 + doins cleaners/*.xml
85 +
86 + insinto /usr/share/bleachbit
87 + doins data/app-menu.ui
88 +
89 + doicon ${PN}.png
90 + domenu ${PN}.desktop
91 +}