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 A6865138335 for ; Sat, 2 Mar 2019 00:04:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88834E0872; Sat, 2 Mar 2019 00:04:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39F76E086C for ; Sat, 2 Mar 2019 00:04:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6248A335D2B for ; Sat, 2 Mar 2019 00:04:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D00B3558 for ; Sat, 2 Mar 2019 00:04:37 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1551484979.10942b3e675adfd240b962a0daf1ec4ff6aaa09e.asturm@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-2.1.ebuild X-VCS-Directories: sys-apps/bleachbit/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 10942b3e675adfd240b962a0daf1ec4ff6aaa09e X-VCS-Branch: master Date: Sat, 2 Mar 2019 00:04:37 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 13523e7c-5a69-4abe-aaec-42b89817aa9b X-Archives-Hash: 0bfb29234c154e0075249cfa84df1a5e commit: 10942b3e675adfd240b962a0daf1ec4ff6aaa09e Author: Christian Tietz mailbox org> AuthorDate: Thu Feb 28 01:05:34 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Mar 2 00:02:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10942b3e sys-apps/bleachbit: Bump to 2.1 beta, EAPI=7 Signed-off-by: Christian Tietz mailbox.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/11174 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-apps/bleachbit/Manifest | 1 + sys-apps/bleachbit/bleachbit-2.1.ebuild | 56 +++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest index 43f85d60fbf..49b85b773fb 100644 --- a/sys-apps/bleachbit/Manifest +++ b/sys-apps/bleachbit/Manifest @@ -1 +1,2 @@ DIST bleachbit-2.0.tar.gz 886357 BLAKE2B f63ded34d245df892b2c14683ceaae8b57e786a8ab3111e7f76d484c6d3db404996119ab4114c3ae025848936a784878b3f100cf2ca8737401a6daaaf74a077e SHA512 adf5c2f2382b2eaab0eb2b4a173b392c160af7974f223c74ae51a30423514a15b98f04194b9ccde209b5c067d8481f0f1ee28651896d3002fcfa3927d8db056b +DIST bleachbit-2.1.tar.gz 1080424 BLAKE2B 684fc7db66b0de1aa0a4673f6b9b7887a3dcd14946e599771e548706d6ecfb54e264e6e953b986bd160e182d28ee4468dac0e637fc010fc4f0d31d5b7448c3ad SHA512 eac62c02bc196760869b6c2d31f13d52220a2e62a7e9a7584ebcbe498e14d5c606937cfef9a1cfd2f585b1b9641572c2a81e28515679f8f6a72e95e97b6a0cd8 diff --git a/sys-apps/bleachbit/bleachbit-2.1.ebuild b/sys-apps/bleachbit/bleachbit-2.1.ebuild new file mode 100644 index 00000000000..693390017bc --- /dev/null +++ b/sys-apps/bleachbit/bleachbit-2.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite(+)" + +inherit desktop distutils-r1 + +DESCRIPTION="Clean junk to free disk space and to maintain privacy" +HOMEPAGE="https://www.bleachbit.org" +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" + +RDEPEND="gtk? ( dev-python/pygtk:2[$PYTHON_USEDEP] )" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/gettext" + +python_prepare_all() { + # choose correct Python implementation, bug #465254 + sed -i 's/python/$(PYTHON)/g' po/Makefile || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + emake -C po local +} + +python_install() { + distutils-r1_python_install + python_newscript ${PN}.py ${PN} +} + +python_install_all() { + distutils-r1_python_install_all + emake -C po DESTDIR="${D}" install + + # https://bugs.gentoo.org/388999 + insinto /usr/share/bleachbit/cleaners + doins cleaners/*.xml + + doicon ${PN}.png + domenu ${PN}.desktop +} + +pkg_postinst() { + elog "Bleachbit has optional notification support. To enable, please install:" + elog "" + elog " dev-python/notify-python" +}