commit: 168e30fd50eb85dd9734cfdfb2f59a3f09b6c019 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Mon Jun 2 16:22:40 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Mon Jun 2 16:27:07 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=168e30fd
dev-python/unittest-or-fail: treeclean Closes: https://bugs.gentoo.org/954213 (pkgremoved) Closes: https://bugs.gentoo.org/953369 (pkgremoved) Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-python/unittest-or-fail/Manifest | 1 - dev-python/unittest-or-fail/metadata.xml | 16 -------- .../unittest-or-fail/unittest-or-fail-2-r1.ebuild | 45 ---------------------- profiles/package.mask | 6 --- 4 files changed, 68 deletions(-) diff --git a/dev-python/unittest-or-fail/Manifest b/dev-python/unittest-or-fail/Manifest deleted file mode 100644 index c7be820f29d9..000000000000 --- a/dev-python/unittest-or-fail/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST unittest-or-fail-2.tar.gz 3177 BLAKE2B 862a406f3faea7bdf47b8e3f9dfa0057cb45669d9ed47f94dd51b2db107be62d1a332e7e6f0fc8f8f1f6719db90a9ebe19a8379d12a3f0908b073f1dd1dc4643 SHA512 f5b34ed5f312618e174147d1717142fe817fca3f993606f572a6e3f7481f055f793c3b4bc56481e259513ca7ac1b94b8a27ac6e319ccf909f55492edd5f14951 diff --git a/dev-python/unittest-or-fail/metadata.xml b/dev-python/unittest-or-fail/metadata.xml deleted file mode 100644 index ea822a7564ad..000000000000 --- a/dev-python/unittest-or-fail/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Michał Górny</name> - </maintainer> - <maintainer type="project"> - <email>[email protected]</email> - <name>Python</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="github">projg2/unittest-or-fail</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/unittest-or-fail/unittest-or-fail-2-r1.ebuild b/dev-python/unittest-or-fail/unittest-or-fail-2-r1.ebuild deleted file mode 100644 index a0b267844ea5..000000000000 --- a/dev-python/unittest-or-fail/unittest-or-fail-2-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2021-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -# in py3.12+ unittest already fails when no tests are found -# we're adding these impls to PYTHON_COMPAT to clean up upgrade graphs -# but we're not installing anything -PYTHON_USED=( pypy3{,_11} python3_{10..11} ) -PYTHON_COMPAT=( "${PYTHON_USED[@]}" python3_{12..13} ) - -inherit distutils-r1 - -DESCRIPTION="Run unittests or fail if no tests were found" -HOMEPAGE="https://github.com/projg2/unittest-or-fail/" -SRC_URI=" - https://github.com/projg2/unittest-or-fail/archive/v${PV}.tar.gz - -> ${P}.tar.gz -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -python_compile() { - if has "${EPYTHON/./_}" "${PYTHON_USED[@]}"; then - distutils-r1_python_compile - fi -} - -# Warning: do not use distutils_enable_tests to avoid a circular -# dependency on itself! -python_test() { - if has "${EPYTHON/./_}" "${PYTHON_USED[@]}"; then - "${EPYTHON}" -m unittest -v test/test_unittest_or_fail.py || - die "Tests failed with ${EPYTHON}" - fi -} - -python_install() { - if has "${EPYTHON/./_}" "${PYTHON_USED[@]}"; then - distutils-r1_python_install - fi -} diff --git a/profiles/package.mask b/profiles/package.mask index 344bf49fb5cd..d9bb800db804 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -255,12 +255,6 @@ x11-themes/fvwm-themes-extra # Removal on 2025-05-22. dev-python/pypy3 -# Michał Górny <[email protected]> (2025-04-22) -# This package was only really necessary for packages without -# Python 3.12+ support, and the eclass no longer uses it. -# Removal on 2025-05-22. Bug #954213. -dev-python/unittest-or-fail - # Michał Górny <[email protected]> (2025-04-19) # This package will no longer feature stable keywords, due to unresolved # test failures blocking the stabilization request for months.
