summaryrefslogtreecommitdiff
path: root/sys-apps/bleachbit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/bleachbit
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/bleachbit')
-rw-r--r--sys-apps/bleachbit/Manifest7
-rw-r--r--sys-apps/bleachbit/bleachbit-1.12.ebuild62
-rw-r--r--sys-apps/bleachbit/bleachbit-1.17.ebuild63
-rw-r--r--sys-apps/bleachbit/metadata.xml18
4 files changed, 150 insertions, 0 deletions
diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest
new file mode 100644
index 000000000000..658dbf1dddca
--- /dev/null
+++ b/sys-apps/bleachbit/Manifest
@@ -0,0 +1,7 @@
+DIST bleachbit-1.12.tar.bz2 396838 SHA256 55188debde6ccb9d83ebf5bb9f8c821c616fa0dfe309779d3d87059c04b1a8f4 SHA512 b9c13a75b86eebbedaf928394714ac4d7847b8d53d345a4884acee68cd9c46ff1d5f4108479d7695109bad03c0fcdbb6f89e77d8794a60697fd5c6acdb34530c WHIRLPOOL e0df98dec3948eb6e8035911e82988a14876f07828e58e8badb4042b921e57d544bf060cb542fbd66e68b7c5652d3f9f08dbec2c9ae8a30ecb6df9431aae5d4b
+DIST bleachbit-1.17.tar.gz 867671 SHA256 fe76f43d7cc1347ca6fba1902b35ced454d7a0b45a6ac983d8b63987d4e94fa0 SHA512 c1d7d266e7baef532a9826ce1a0fb8cd247136a335c3236ba7cf6e4f7af4420e4f0f424fb98579c5433ebd55138860657a3fad3ad56ed4f4a3f8163526a73e95 WHIRLPOOL f06b0ac02d80a0dd8cd3f343b60a8af46abad5d6e96cc716d9e6b32539e9deb56574ffeb99285b3b7f1e16987b869275935cfae9b61e42708f176f1e1f9597b6
+EBUILD bleachbit-1.12.ebuild 1497 SHA256 57603aee0f103841863433e839cde911af1650905295909f8792b92e6364cfa8 SHA512 4083aa52a3ae8091bb2532496ad1aa8c7aa48c68c371e8d681fb85c6e6d3745d76ccdb5181f15c61d8a4b07d3ea6220dde37f66848fe2753597da921841ef4fd WHIRLPOOL f59a78b96023d31436f61bb4e92e373b03dabdee73fd046f4081cd7a90f2703f6a9634b52a3b9ab29b77ac363aa79a59525a5158e11ebfdc4e481eece356b729
+EBUILD bleachbit-1.17.ebuild 1534 SHA256 0942b7d04dd0554439542c6e8f926acefc2c00acf6611bdde8dd2196a1053423 SHA512 f0b91c0bc386651ca27a29529cbcc548b3ce2eebbf519b7f5c2d1333eea843eaa689f23da72be3903a663e306b21fc3ab24030e76e906275b186330fe357daa0 WHIRLPOOL 95b0bf2981bb7ad3d62281ec75e7e81da7d58cb533dd06077573e9137700396b43b45c832d7460b3f6354304229ec98e6a3ca17d8c0820726a076d12798abe72
+MISC ChangeLog 4531 SHA256 ce9be2976e1fb551276cc4d0253013dec38248079cf4382d78eea53f69a0f35b SHA512 59b40345748f488c3e2afa3bdf9d7a35020354e88b7a184d3d3e25bd4f9c33aee28b9ebe6ac0db0bc4c478794309f05172eb77747e999729717f7eda3d6273c1 WHIRLPOOL ad2d383907eaa5c0d624e7322c039c7498269729efa61721f083338f13fd46cfbc6189c853f4b9c5be33b01ea42cd3195ac92578927ddf12fbae6a26bb50bfcf
+MISC ChangeLog-2015 4420 SHA256 67d698e5621feb8289f2bbf1c535211b1fad3bc76ae81f7a9bd2eec29ea04ede SHA512 4230bc002dc89233ddff2fcb520a79096ca181bef814004f85c20b0726eb1c573989e7a2ba6b1cf067196f4f10fa0f6630810402bea2283f8ab68ba30f1f020d WHIRLPOOL e6547d10b825ef7991180759fe247d7909c2d7171855d92c4ae22e30bd945be9e08d55f4bf32410dc965458875f81964b8e20d2ff6671d7ba279f7cc0cd84491
+MISC metadata.xml 617 SHA256 557d36d059e86ebba88647cdcfee287dd1850f97ed30ff9b4df8ef0d1a3b4a65 SHA512 d33574458859889b096a77c7855cbf02d294abe9ef6c8b01aca43d33dafa41ea4da409483cca276ff2fe5fa96875cc53db8e0c18108116f4c5c4e9f8dda9f212 WHIRLPOOL be8bb5b9cce1a7b7da4ccbc65b240930dfae70093df343f159a2894188ecc113d8fe3eb706d75bb84ded390f4044ee838e104ab7615c9bb51ae8c1cbf493925b
diff --git a/sys-apps/bleachbit/bleachbit-1.12.ebuild b/sys-apps/bleachbit/bleachbit-1.12.ebuild
new file mode 100644
index 000000000000..927359b5e594
--- /dev/null
+++ b/sys-apps/bleachbit/bleachbit-1.12.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/sys-apps/bleachbit/bleachbit-1.17.ebuild b/sys-apps/bleachbit/bleachbit-1.17.ebuild
new file mode 100644
index 000000000000..997d4a6fd02d
--- /dev/null
+++ b/sys-apps/bleachbit/bleachbit-1.17.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 pt_BR ro ru se si sk sl sq 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="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+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
+}
diff --git a/sys-apps/bleachbit/metadata.xml b/sys-apps/bleachbit/metadata.xml
new file mode 100644
index 000000000000..5c059a4ab560
--- /dev/null
+++ b/sys-apps/bleachbit/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>christian.tietz@mailbox.org</email>
+ <name>Christian Tietz</name>
+ <description>Proxy Maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bleachbit/bleachbit</remote-id>
+ <bugs-to>https://bugs.launchpad.net/bleachbit</bugs-to>
+ <remote-id type="sourceforge">bleachbit</remote-id>
+ </upstream>
+</pkgmetadata>