From 38423c67c8a23f6a1bc42038193182e2da3116eb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Apr 2020 11:37:10 +0100 Subject: gentoo resync : 25.04.2020 --- sys-apps/bleachbit/Manifest | 4 +- sys-apps/bleachbit/bleachbit-3.9.0.ebuild | 78 ------------------------------- sys-apps/bleachbit/bleachbit-4.0.0.ebuild | 74 +++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+), 80 deletions(-) delete mode 100644 sys-apps/bleachbit/bleachbit-3.9.0.ebuild create mode 100644 sys-apps/bleachbit/bleachbit-4.0.0.ebuild (limited to 'sys-apps/bleachbit') diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest index 504620b5332b..a4cade71b044 100644 --- a/sys-apps/bleachbit/Manifest +++ b/sys-apps/bleachbit/Manifest @@ -1,5 +1,5 @@ DIST bleachbit-3.0.tar.bz2 562646 BLAKE2B 4acdd5469ac1b36ff149231ad0b1b2e4e85a54a81c24c7751ceeed569526b905c1cc6be5201c4fb6929eb48e0553f0b27016de2584ee2f702492cc3fe659c2f9 SHA512 0d61f0b183c0d453275913741020c54c2915be9df45be706203e2278b125f4a02c75865117a7a2d587a034caa9bf109b2f498a4d522cc103c3879cc4a5d4854d -DIST bleachbit-3.9.0.tar.bz2 578754 BLAKE2B cafce09ccc45e2a1b058730597571f4ef94672376e067b2b8f5fb6df674bac48ee7ad40cb52165b38afee0513e8b687f46d27264c562f863fe29d80d08093264 SHA512 bb93825b8dffdb62058315683fc3d3c77e0b0aa9adc2901be73abeae07667e15b91a4266c6ca7cecdfcf10cef8c179d8796b39dd76866ccddc0cd50e5e097bdc +DIST bleachbit-4.0.0.tar.bz2 599756 BLAKE2B 05a4dbf9e0b6bbcba528875a82e36eb9f91ae84c5bdc6f8f69063a54bd192332f5dd1d22ee5a737243eb5fb74cf0362eace1b50a73f7c1d0557a8cba146dea01 SHA512 ce120239b411c6e177af0e22a16b583ac3ae8903ba13579878942492e4e221355da28f737d6c78811312bfcc888af7c8dba6c153673f4e1542cc2aceedf2d2c9 EBUILD bleachbit-3.0.ebuild 1188 BLAKE2B 80de495f6744ef7fe7f4003e095b5bc42909dc4e415702f95d49ebdec3296e8d3fe3238ae521938875e49f1bc2e3fcef0a39c1226a95ecffff0664c7c57ceb1c SHA512 d3dc01d9679e378cc4c4e4b4b782be0a367b67a19a6dc130944bdadcb6995a9244cf7eed9d180b7a9e9f32ab32996bc6f3a8326c22e5886431e9a22824aed846 -EBUILD bleachbit-3.9.0.ebuild 1603 BLAKE2B eb568731d44c72f9260519f4073ce63a9acd7c58c20abdf21f0ef3197e93f4cd756042fe579ee8320673277d8f283d2dfb9b716f794efcf059bb6c324bc0a8a2 SHA512 994911f4ecad0a24d686ba5208f5f8bebd0c4f471a0880ed04c781abfcc879e79e5d91faffbdd4fc0f10a918a873c1fee88d27ca62a561095929bcaffcbeeb58 +EBUILD bleachbit-4.0.0.ebuild 1484 BLAKE2B 36ffb7d38b9cdea16721d0266b0c1377ad121deae55487b0e8ac025135c71093cfd2667ed6413c42dbc0bb56d844ded5b9e699643cce2756a3c08e1ab3360ddf SHA512 79d1fe77689de65e4718e80d80b1c841abf8a96aea7fcfccd0fb0584e9e9ff56275359efb178f76ae71cbdd890972a7ddc22fc4a9cd024a3bcf2ad5c29d60cbc MISC metadata.xml 526 BLAKE2B f55f30792d579d5fc57553b3aa8a8f97d450778a1813c53e82a0fea4cc01fe3039d249ed89c8097a973c1bd923390e3bd1b85ae1a1d2386ab3373a9baae08623 SHA512 d2179dee28e6bacaa540039b726eb5ab47b87abc73a5c86621de3230f3d6355d082e8189c9e167871fb8c15975815341ce02bbef80195b984728c3b1b0652bf1 diff --git a/sys-apps/bleachbit/bleachbit-3.9.0.ebuild b/sys-apps/bleachbit/bleachbit-3.9.0.ebuild deleted file mode 100644 index b5898e187fe2..000000000000 --- a/sys-apps/bleachbit/bleachbit-3.9.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} ) -PYTHON_REQ_USE="sqlite(+)" - -inherit desktop distutils-r1 virtualx - -DESCRIPTION="Clean junk to free disk space and to maintain privacy" -HOMEPAGE="https://www.bleachbit.org" -SRC_URI="https://download.bleachbit.org/beta/${PV}/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/chardet[$PYTHON_USEDEP] - dev-python/pygobject:3[$PYTHON_USEDEP] -" -BDEPEND=" - sys-devel/gettext - test? ( dev-python/mock[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests unittest - -# tests fail under FEATURES=usersandbox -RESTRICT="test" - -python_prepare_all() { - if use test; then - # avoid tests requiring internet access - rm tests/Test{Chaff,Update}.py || die - - # fails due to non-existent $HOME/.profile - rm tests/TestInit.py || die - - # permission error on $PORTAGE_TMPDIR - sed -e "s/test_encoding(self)/_&/" \ - -i tests/TestCLI.py || die - - # fails on upstream Travis CI as well as on Gentoo - sed -e "s/test_get_proc_swaps(self)/_&/" \ - -i tests/TestMemory.py || die - fi - - 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 - - insinto /usr/share/bleachbit/cleaners - doins cleaners/*.xml - - insinto /usr/share/bleachbit - doins data/app-menu.ui - - doicon ${PN}.png - domenu org.${PN}.BleachBit.desktop -} - -python_test() { - virtx emake tests -} diff --git a/sys-apps/bleachbit/bleachbit-4.0.0.ebuild b/sys-apps/bleachbit/bleachbit-4.0.0.ebuild new file mode 100644 index 000000000000..8ed560185347 --- /dev/null +++ b/sys-apps/bleachbit/bleachbit-4.0.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="sqlite(+)" + +inherit desktop distutils-r1 virtualx + +DESCRIPTION="Clean junk to free disk space and to maintain privacy" +HOMEPAGE="https://www.bleachbit.org" +SRC_URI="https://download.bleachbit.org/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/chardet[$PYTHON_USEDEP] + dev-python/pygobject:3[$PYTHON_USEDEP] +" +BDEPEND=" + sys-devel/gettext + test? ( dev-python/mock[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests unittest + +# tests fail under FEATURES=usersandbox +RESTRICT="test" + +python_prepare_all() { + if use test; then + # avoid tests requiring internet access + rm tests/Test{Chaff,Update}.py || die + + # fails due to non-existent $HOME/.profile + rm tests/TestInit.py || die + + # fails on upstream Travis CI as well as on Gentoo + sed -e "s/test_get_proc_swaps(self)/_&/" \ + -i tests/TestMemory.py || die + fi + + distutils-r1_python_prepare_all +} + +python_compile_all() { + emake -C po local +} + +python_test() { + virtx emake tests +} + +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 + + insinto /usr/share/bleachbit/cleaners + doins cleaners/*.xml + + insinto /usr/share/bleachbit + doins data/app-menu.ui + + doicon ${PN}.png + domenu org.${PN}.BleachBit.desktop +} -- cgit v1.2.3