From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 218051382F6 for ; Fri, 8 Jul 2016 18:20:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E116E0941; Fri, 8 Jul 2016 18:20:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A795FE0914 for ; Fri, 8 Jul 2016 18:20:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4543340A85 for ; Fri, 8 Jul 2016 18:20:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5672B2443 for ; Fri, 8 Jul 2016 18:20:12 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1468000333.7ab852b7a927610c8637a5b5f774f2d5f627ea0a.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bleachbit/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/bleachbit/Manifest sys-apps/bleachbit/bleachbit-1.12.ebuild X-VCS-Directories: sys-apps/bleachbit/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 7ab852b7a927610c8637a5b5f774f2d5f627ea0a X-VCS-Branch: master Date: Fri, 8 Jul 2016 18:20:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bb389c1b-f81f-4d1f-b915-ad0a159bd5c2 X-Archives-Hash: 9b0e3edf23e71f85bb37efc7903d8ebc commit: 7ab852b7a927610c8637a5b5f774f2d5f627ea0a Author: Christian Tietz mailbox org> AuthorDate: Sun Jul 3 10:59:09 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Fri Jul 8 17:52:13 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab852b7 sys-apps/bleachbit: version bump to 1.12 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1819 Signed-off-by: Patrice Clement gentoo.org> sys-apps/bleachbit/Manifest | 1 + sys-apps/bleachbit/bleachbit-1.12.ebuild | 63 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest index 2f7042d..65465b9 100644 --- a/sys-apps/bleachbit/Manifest +++ b/sys-apps/bleachbit/Manifest @@ -1,2 +1,3 @@ DIST bleachbit-1.11.2.tar.bz2 393779 SHA256 faf5664352dd566971ae74f72b6fad2a5a043490777b038593b8d7e592152653 SHA512 146d5cd8aaeedb6aa0a1438360b01ca2fdc4c8a18c3bfab42ff7f48e053aea3fa693cd3686bebb4c96c3f380ad6ba2949b9744be923fa90bbf70e8e33213e0f6 WHIRLPOOL 950a8d974cbcd98b826b1889eb30b73d58b354dce1afe122acac121f7d74afdbbfd6d732ba49c99254b1eb0e74735b94096d74abbd51f8a091f7810a133a39f1 +DIST bleachbit-1.12.tar.bz2 396838 SHA256 55188debde6ccb9d83ebf5bb9f8c821c616fa0dfe309779d3d87059c04b1a8f4 SHA512 b9c13a75b86eebbedaf928394714ac4d7847b8d53d345a4884acee68cd9c46ff1d5f4108479d7695109bad03c0fcdbb6f89e77d8794a60697fd5c6acdb34530c WHIRLPOOL e0df98dec3948eb6e8035911e82988a14876f07828e58e8badb4042b921e57d544bf060cb542fbd66e68b7c5652d3f9f08dbec2c9ae8a30ecb6df9431aae5d4b DIST bleachbit-1.2.tar.bz2 346530 SHA256 655b6e1ef7d5658c8e1a8e62b2c4ae0e4b1af484e47f1fb93a735892bbd2eea3 SHA512 a84881789c408335493b0923b51e66940295c430b2ea8838e420603ef8ee7548a0a1d605564070034bfe3a2d9159015e403db14470d6b33cf5260c3e4b43d267 WHIRLPOOL 262b7261188097d36584019a38ce8ef291572b85be318f39a6bb603546a39c733b9da761763b1234b8762bae4bde8dd0ee7cb8bac5abcebe3541f81025f5fff8 diff --git a/sys-apps/bleachbit/bleachbit-1.12.ebuild b/sys-apps/bleachbit/bleachbit-1.12.ebuild new file mode 100644 index 0000000..cca7a4a --- /dev/null +++ b/sys-apps/bleachbit/bleachbit-1.12.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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_BR pt ro ru se si sk sl 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 + +DESCRIPTION="Clean junk to free disk space and to maintain privacy" +HOMEPAGE="https://www.bleachbit.org" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+gtk nls" + +RDEPEND=" + dev-python/notify-python[$PYTHON_USEDEP] + gtk? ( dev-python/pygtk:2[$PYTHON_USEDEP] )" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +DOCS=( README.md ) + +python_prepare_all() { + rem_locale() { + rm "po/${1}.po" || die "removing of ${1}.po failed" + } + + l10n_find_plocales_changes po "" ".po" + l10n_for_each_disabled_locale_do rem_locale + + # choose correct Python implementation, bug #465254 + sed -i -e 's/python/$(PYTHON)/g' po/Makefile || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use nls && emake -C po +} + +python_install_all() { + distutils-r1_python_install_all + use nls && emake -C po DESTDIR="${D}" install + + # https://bugs.gentoo.org/388999 + insinto /usr/share/${PN}/cleaners + doins cleaners/*.xml + + newbin ${PN}.py ${PN} + python_replicate_script "${D}/usr/bin/${PN}" + + doicon ${PN}.png + domenu ${PN}.desktop +}