summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/bleachbit')
-rw-r--r--sys-apps/bleachbit/ChangeLog9
-rw-r--r--sys-apps/bleachbit/bleachbit-0.9.3.ebuild57
-rw-r--r--sys-apps/bleachbit/metadata.xml10
3 files changed, 71 insertions, 5 deletions
diff --git a/sys-apps/bleachbit/ChangeLog b/sys-apps/bleachbit/ChangeLog
index 9e562c00694f..dee3c6625568 100644
--- a/sys-apps/bleachbit/ChangeLog
+++ b/sys-apps/bleachbit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/bleachbit
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/bleachbit/ChangeLog,v 1.3 2012/04/16 20:26:18 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/bleachbit/ChangeLog,v 1.4 2012/08/09 11:01:01 kensington Exp $
+
+*bleachbit-0.9.3 (09 Aug 2012)
+
+ 09 Aug 2012; Michael Palimaka <kensington@gentoo.org> +bleachbit-0.9.3.ebuild,
+ metadata.xml:
+ Version bump wrt bug #428580. Add upstream metadata.
16 Apr 2012; Samuli Suominen <ssuominen@gentoo.org> metadata.xml:
Move to maintainer-needed (lack of intrest)
@@ -47,4 +53,3 @@
16 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> +bleachbit-0.9.0.ebuild:
Initial commit wrt #311169 by Brandon Captain
-
diff --git a/sys-apps/bleachbit/bleachbit-0.9.3.ebuild b/sys-apps/bleachbit/bleachbit-0.9.3.ebuild
new file mode 100644
index 000000000000..e790e95772d9
--- /dev/null
+++ b/sys-apps/bleachbit/bleachbit-0.9.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/bleachbit/bleachbit-0.9.3.ebuild,v 1.1 2012/08/09 11:01:01 kensington Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="sqlite"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
+
+inherit distutils eutils
+
+DESCRIPTION="Clean junk to free disk space and to maintain privacy"
+HOMEPAGE="http://bleachbit.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND=">=dev-python/pygtk-2"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+DOCS="README"
+
+src_prepare() {
+ addpredict /root/.gnome2 #401981
+
+ python_convert_shebangs 2 ${PN}.py
+
+ # warning: key "Encoding" in group "Desktop Entry" is deprecated
+ sed -i -e '/Encoding/d' ${PN}.desktop || die
+
+ distutils_src_prepare
+}
+
+src_compile() {
+ distutils_src_compile
+ use nls && emake -C po
+}
+
+src_install() {
+ distutils_src_install
+ use nls && emake -C po DESTDIR="${D}" install
+
+ # http://bugs.gentoo.org/388999
+ insinto /usr/share/${PN}/cleaners
+ doins cleaners/*.xml
+
+ newbin ${PN}.py ${PN}
+
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+}
diff --git a/sys-apps/bleachbit/metadata.xml b/sys-apps/bleachbit/metadata.xml
index d9cd2cad66c2..054e3b5990c5 100644
--- a/sys-apps/bleachbit/metadata.xml
+++ b/sys-apps/bleachbit/metadata.xml
@@ -1,7 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
-<email>maintainer-needed@gentoo.org</email>
-</maintainer>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">bleachbit</remote-id>
+ <bugs-to>http://bugs.launchpad.net/bleachbit</bugs-to>
+ </upstream>
</pkgmetadata>