From 3faa6ebe0068b432ee5a9390c47ceca068ea7fe9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 21 Mar 2024 07:00:13 +0000 Subject: gentoo auto-resync : 21:03:2024 - 07:00:13 --- sys-apps/bleachbit/Manifest | 2 +- sys-apps/bleachbit/bleachbit-4.6.0-r1.ebuild | 87 ++++++++++++++++++++++++++++ sys-apps/bleachbit/bleachbit-4.6.0.ebuild | 87 ---------------------------- 3 files changed, 88 insertions(+), 88 deletions(-) create mode 100644 sys-apps/bleachbit/bleachbit-4.6.0-r1.ebuild delete mode 100644 sys-apps/bleachbit/bleachbit-4.6.0.ebuild (limited to 'sys-apps/bleachbit') diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest index 0fa90f023575..f73d0303e65e 100644 --- a/sys-apps/bleachbit/Manifest +++ b/sys-apps/bleachbit/Manifest @@ -1,5 +1,5 @@ DIST bleachbit-4.4.2.tar.bz2 653525 BLAKE2B ae65e310d33c2e523244a32de1ff28081be940a6a2ed2aadf682218ebe7346de3b5f37ab457d4f16542730d617678effbcda461e7080c43cd81c17f6b959018d SHA512 247a1ed0e491e5e02c4bc9a5c2d11d5f1511ef9644b9edf34b1c9326e6515c33dfd60b98bb2dab59eac36ab5e1c9b5ed1e8d7c749261bde90450a2fc717dae6f DIST bleachbit-4.6.0.tar.bz2 667238 BLAKE2B c150ef9ff5c5f3d8241c5d8a8b8ad5b3f7a23aef24c21ef67a8680f56f3844893fd0e8513f47936ac3a667a15f0d6df2186658be282846309f3ad79f545a380d SHA512 fd0888195bc1fd6dfdc19ca4b35906554e0b6bf22c7f12db01ff8a5790a8a358aedd39f0c0906eb98e67ea5344c655e7f042516cc0c17b59637463d01927a33a EBUILD bleachbit-4.4.2-r1.ebuild 1784 BLAKE2B e2edd231e5559fc48b88eb54a08745ff3fa5c6b42c2ba1d9d7a130ec8c10f2cd55f591c1a72b4094c311a82a0e6a26be5a39799810cb615329fc092901639129 SHA512 e58472a468efd65203197bd87386284f75dcd4476a257fc35c09f27131c39d9d8ed577e6549b753ce837c22074074da56fa32e346cbe15c10e20cb962b4b946f -EBUILD bleachbit-4.6.0.ebuild 1785 BLAKE2B e7e0587eb030fc54f392a9e20d09d636b36ed7c5a1e39dbc0e06efa20bc78b3622b638c174a7b755747deaa20daf6ecba5929070d4c310569bbb1e5ff4046e75 SHA512 afc10b56649728fcf899cae6438ceac7c65891912d9448fbbcb2d796da3333ae42c1c2c8438dc02154517ee034ee93ab5847d2467a1e91f0586ad9f5df7d9b16 +EBUILD bleachbit-4.6.0-r1.ebuild 1800 BLAKE2B 94a4f1ab2a7f5cf8c51e13d982ff99c228737495b629a21ffd78e3329888ae156586fc46872099a30f3f1d24ce57630382beee8a50ce789304c50b1b6de77099 SHA512 a028097f8c0eb2e286631b78f7acb817ea2ba2592f971eba30552f020038fb82a16df209d0f0625600211a8d8f9f1d66e0dd0e7e64ce83972f7b9e86e6536410 MISC metadata.xml 557 BLAKE2B 61de1eec1e533aea9a008403d40069d8e7fb3ca2e1217f1ebf8746adf07725bf82011ee6597961443e6474de9908e3b8a70a6aef42439b4aa62a562212846378 SHA512 dc31e0aa896798f20540c5f7119aa7cf60a8ec5e498d8a7a7baf3d73b5287b03083e33f0816d84467acfc221d8bf0dfdeea59734b3048e4194693d63ec453214 diff --git a/sys-apps/bleachbit/bleachbit-4.6.0-r1.ebuild b/sys-apps/bleachbit/bleachbit-4.6.0-r1.ebuild new file mode 100644 index 000000000000..957436a35baf --- /dev/null +++ b/sys-apps/bleachbit/bleachbit-4.6.0-r1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="sqlite(+)" +DISTUTILS_SINGLE_IMPL=1 + +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 ~arm ~arm64 x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + x11-libs/gtk+:3[introspection] +" +BDEPEND=" + sys-devel/gettext + test? ( + $(python_gen_cond_dep '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 + + # only applicable to Windows installer + rm tests/TestNsisUtilities.py || die + + # these fail on upstream Travis CI as well as on Gentoo + sed -e "s/test_notify(self)/_&/" \ + -i tests/TestGUI.py || die + + 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 +} diff --git a/sys-apps/bleachbit/bleachbit-4.6.0.ebuild b/sys-apps/bleachbit/bleachbit-4.6.0.ebuild deleted file mode 100644 index 2ce3db673047..000000000000 --- a/sys-apps/bleachbit/bleachbit-4.6.0.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_REQ_USE="sqlite(+)" -DISTUTILS_SINGLE_IMPL=1 - -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 ~arm ~arm64 x86" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - ') - x11-libs/gtk+:3 -" -BDEPEND=" - sys-devel/gettext - test? ( - $(python_gen_cond_dep '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 - - # only applicable to Windows installer - rm tests/TestNsisUtilities.py || die - - # these fail on upstream Travis CI as well as on Gentoo - sed -e "s/test_notify(self)/_&/" \ - -i tests/TestGUI.py || die - - 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