Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bleachbit/
Date: Fri, 08 Jul 2016 18:20:22
Message-Id: 1468000333.7ab852b7a927610c8637a5b5f774f2d5f627ea0a.monsieurp@gentoo
1 commit: 7ab852b7a927610c8637a5b5f774f2d5f627ea0a
2 Author: Christian Tietz <christian.tietz <AT> mailbox <DOT> org>
3 AuthorDate: Sun Jul 3 10:59:09 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 8 17:52:13 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab852b7
7
8 sys-apps/bleachbit: version bump to 1.12
9
10 Package-Manager: portage-2.2.28
11 Closes: https://github.com/gentoo/gentoo/pull/1819
12
13 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
14
15 sys-apps/bleachbit/Manifest | 1 +
16 sys-apps/bleachbit/bleachbit-1.12.ebuild | 63 ++++++++++++++++++++++++++++++++
17 2 files changed, 64 insertions(+)
18
19 diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest
20 index 2f7042d..65465b9 100644
21 --- a/sys-apps/bleachbit/Manifest
22 +++ b/sys-apps/bleachbit/Manifest
23 @@ -1,2 +1,3 @@
24 DIST bleachbit-1.11.2.tar.bz2 393779 SHA256 faf5664352dd566971ae74f72b6fad2a5a043490777b038593b8d7e592152653 SHA512 146d5cd8aaeedb6aa0a1438360b01ca2fdc4c8a18c3bfab42ff7f48e053aea3fa693cd3686bebb4c96c3f380ad6ba2949b9744be923fa90bbf70e8e33213e0f6 WHIRLPOOL 950a8d974cbcd98b826b1889eb30b73d58b354dce1afe122acac121f7d74afdbbfd6d732ba49c99254b1eb0e74735b94096d74abbd51f8a091f7810a133a39f1
25 +DIST bleachbit-1.12.tar.bz2 396838 SHA256 55188debde6ccb9d83ebf5bb9f8c821c616fa0dfe309779d3d87059c04b1a8f4 SHA512 b9c13a75b86eebbedaf928394714ac4d7847b8d53d345a4884acee68cd9c46ff1d5f4108479d7695109bad03c0fcdbb6f89e77d8794a60697fd5c6acdb34530c WHIRLPOOL e0df98dec3948eb6e8035911e82988a14876f07828e58e8badb4042b921e57d544bf060cb542fbd66e68b7c5652d3f9f08dbec2c9ae8a30ecb6df9431aae5d4b
26 DIST bleachbit-1.2.tar.bz2 346530 SHA256 655b6e1ef7d5658c8e1a8e62b2c4ae0e4b1af484e47f1fb93a735892bbd2eea3 SHA512 a84881789c408335493b0923b51e66940295c430b2ea8838e420603ef8ee7548a0a1d605564070034bfe3a2d9159015e403db14470d6b33cf5260c3e4b43d267 WHIRLPOOL 262b7261188097d36584019a38ce8ef291572b85be318f39a6bb603546a39c733b9da761763b1234b8762bae4bde8dd0ee7cb8bac5abcebe3541f81025f5fff8
27
28 diff --git a/sys-apps/bleachbit/bleachbit-1.12.ebuild b/sys-apps/bleachbit/bleachbit-1.12.ebuild
29 new file mode 100644
30 index 0000000..cca7a4a
31 --- /dev/null
32 +++ b/sys-apps/bleachbit/bleachbit-1.12.ebuild
33 @@ -0,0 +1,63 @@
34 +# Copyright 1999-2016 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +# $Id$
37 +
38 +EAPI=6
39 +
40 +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
41 +ms my nb nds nl nn pl pt_BR pt ro ru se si sk sl sr sv ta te th tr ug uk uz vi zh_CN zh_TW"
42 +PYTHON_COMPAT=( python2_7 )
43 +PYTHON_REQ_USE="sqlite"
44 +
45 +inherit distutils-r1 eutils l10n
46 +
47 +DESCRIPTION="Clean junk to free disk space and to maintain privacy"
48 +HOMEPAGE="https://www.bleachbit.org"
49 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
50 +
51 +LICENSE="GPL-3"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +IUSE="+gtk nls"
55 +
56 +RDEPEND="
57 + dev-python/notify-python[$PYTHON_USEDEP]
58 + gtk? ( dev-python/pygtk:2[$PYTHON_USEDEP] )"
59 +
60 +DEPEND="${RDEPEND}
61 + nls? ( sys-devel/gettext )"
62 +
63 +DOCS=( README.md )
64 +
65 +python_prepare_all() {
66 + rem_locale() {
67 + rm "po/${1}.po" || die "removing of ${1}.po failed"
68 + }
69 +
70 + l10n_find_plocales_changes po "" ".po"
71 + l10n_for_each_disabled_locale_do rem_locale
72 +
73 + # choose correct Python implementation, bug #465254
74 + sed -i -e 's/python/$(PYTHON)/g' po/Makefile || die
75 +
76 + distutils-r1_python_prepare_all
77 +}
78 +
79 +python_compile_all() {
80 + use nls && emake -C po
81 +}
82 +
83 +python_install_all() {
84 + distutils-r1_python_install_all
85 + use nls && emake -C po DESTDIR="${D}" install
86 +
87 + # https://bugs.gentoo.org/388999
88 + insinto /usr/share/${PN}/cleaners
89 + doins cleaners/*.xml
90 +
91 + newbin ${PN}.py ${PN}
92 + python_replicate_script "${D}/usr/bin/${PN}"
93 +
94 + doicon ${PN}.png
95 + domenu ${PN}.desktop
96 +}