1 |
commit: cd12264ba47c1c529080d13cd99e27e97f6359b6 |
2 |
Author: Christian Tietz <christian.tietz <AT> mailbox <DOT> org> |
3 |
AuthorDate: Fri Mar 22 16:45:33 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 19 21:41:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd12264b |
7 |
|
8 |
sys-apps/bleachbit: Bump to 2.2 |
9 |
|
10 |
Signed-off-by: Christian Tietz <christian.tietz <AT> mailbox.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
sys-apps/bleachbit/Manifest | 1 + |
15 |
sys-apps/bleachbit/bleachbit-2.2.ebuild | 56 +++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 57 insertions(+) |
17 |
|
18 |
diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest |
19 |
index 49b85b773fb..a07b2d30720 100644 |
20 |
--- a/sys-apps/bleachbit/Manifest |
21 |
+++ b/sys-apps/bleachbit/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST bleachbit-2.0.tar.gz 886357 BLAKE2B f63ded34d245df892b2c14683ceaae8b57e786a8ab3111e7f76d484c6d3db404996119ab4114c3ae025848936a784878b3f100cf2ca8737401a6daaaf74a077e SHA512 adf5c2f2382b2eaab0eb2b4a173b392c160af7974f223c74ae51a30423514a15b98f04194b9ccde209b5c067d8481f0f1ee28651896d3002fcfa3927d8db056b |
24 |
DIST bleachbit-2.1.tar.gz 1080424 BLAKE2B 684fc7db66b0de1aa0a4673f6b9b7887a3dcd14946e599771e548706d6ecfb54e264e6e953b986bd160e182d28ee4468dac0e637fc010fc4f0d31d5b7448c3ad SHA512 eac62c02bc196760869b6c2d31f13d52220a2e62a7e9a7584ebcbe498e14d5c606937cfef9a1cfd2f585b1b9641572c2a81e28515679f8f6a72e95e97b6a0cd8 |
25 |
+DIST bleachbit-2.2.tar.gz 1100913 BLAKE2B a16e63a2533f9d9c385d384e2fd65dbb32a8f064e769f99e8a8cab9c4069cc7b21e6896c5fa8d02d8204e8c93da8a5f66605601eb44ecc354d41f1a6d9fe2d0a SHA512 c7661cc64358a6420768c3ee1a6ec97d2fd4f0bf67b393be045ef79cef8b3f8cc273a51a5dd7c79d89b8a14cd1357f7714fc860addc9ae74af48bd8d427b3a5a |
26 |
|
27 |
diff --git a/sys-apps/bleachbit/bleachbit-2.2.ebuild b/sys-apps/bleachbit/bleachbit-2.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..693390017bc |
30 |
--- /dev/null |
31 |
+++ b/sys-apps/bleachbit/bleachbit-2.2.ebuild |
32 |
@@ -0,0 +1,56 @@ |
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://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-3" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="+gtk" |
51 |
+ |
52 |
+RDEPEND="gtk? ( dev-python/pygtk:2[$PYTHON_USEDEP] )" |
53 |
+DEPEND="${RDEPEND}" |
54 |
+BDEPEND="sys-devel/gettext" |
55 |
+ |
56 |
+python_prepare_all() { |
57 |
+ # choose correct Python implementation, bug #465254 |
58 |
+ sed -i 's/python/$(PYTHON)/g' po/Makefile || die |
59 |
+ |
60 |
+ distutils-r1_python_prepare_all |
61 |
+} |
62 |
+ |
63 |
+python_compile_all() { |
64 |
+ emake -C po local |
65 |
+} |
66 |
+ |
67 |
+python_install() { |
68 |
+ distutils-r1_python_install |
69 |
+ python_newscript ${PN}.py ${PN} |
70 |
+} |
71 |
+ |
72 |
+python_install_all() { |
73 |
+ distutils-r1_python_install_all |
74 |
+ emake -C po DESTDIR="${D}" install |
75 |
+ |
76 |
+ # https://bugs.gentoo.org/388999 |
77 |
+ insinto /usr/share/bleachbit/cleaners |
78 |
+ doins cleaners/*.xml |
79 |
+ |
80 |
+ doicon ${PN}.png |
81 |
+ domenu ${PN}.desktop |
82 |
+} |
83 |
+ |
84 |
+pkg_postinst() { |
85 |
+ elog "Bleachbit has optional notification support. To enable, please install:" |
86 |
+ elog "" |
87 |
+ elog " dev-python/notify-python" |
88 |
+} |