dev-python/testtools: Bump to 2.9.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-07 07:35:13 +02:00
parent a0b0ae1793
commit 5508d2118d
2 changed files with 46 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST testtools-2.7.2.tar.gz 201430 BLAKE2B d827d8e66c85908f4d16aa0762c3b0a454d37
DIST testtools-2.8.2.tar.gz 206889 BLAKE2B 4c25e88d5602c00ab9079d5ef504648cf7f59ae63d8844d5bdbac2b215db64234925ee9ce89532ca71d681031fa4d656e1c60413f731aa135791b43edbbd6015 SHA512 2880b5e8c92e59e3d9cad7b6b64781763a549abf74672a46f0b3a33300793d91ea8453fc364d497ae7492095385309e6b150a712fea4529324cf4673b6e60aa7
DIST testtools-2.8.7.tar.gz 219464 BLAKE2B 2fc7a96ed6cfacef508b6f095ff69b10a1bbb7dd7c7e38a84eb4ef301f1c08dc20a6a0a754978e5ca7b311ee5060aa74837b2376e531699107af9b974db6dfc0 SHA512 673f85058cf1c6d30b9283e67905c9e156304b682bcee7240a42cf2946d0aa0743cf2ae67968582ae58f21feba6a9769c54afd3e1544c966f72ccb2ceb948fac
DIST testtools-2.8.7.tar.gz.provenance 9519 BLAKE2B 928791506982c283ae39bd2327bdf7d816cf6f57482bed9edf8c90becedb77afe3a2f8dc5f2e9371c66cc3b51e447172ef9079d5dfcae7c6402fda30c565c73f SHA512 523fe8e7132a69703cd939a5e55db337d0269241d376c876068672a5a3e736a1fb8d1caa8053e69bbf3c9ab2acec973997ec2244b37c5e2396e91d8c321f2ab2
DIST testtools-2.9.0.tar.gz 220801 BLAKE2B d269b7a2a5dd8b79ee8bbedd74df76e5e08eb019f99c5ef079e3b5998a94e9d20abec3accc56f2c10ec84ae3090d86c3d2742c54e1523db2099e0ce895167b0f SHA512 ab0f8b94d67e432d2ea2edff3e351368607e4e55e8ea8f5c1fa66a186317bb81bd5948745b4d523472f0a60acc7d216d704b1888098e4dff0f28150dce1a7395
DIST testtools-2.9.0.tar.gz.provenance 9506 BLAKE2B 5fe31bb8456892b14738aa77b9b8bd0ee6f2673c0399a6e51ff333e77e9450a9bc3a98f1be0d75d645686234eb525c66c5ff9f672b392b07539d10ed471e2234 SHA512 1692e02fdfe17bdfa7fb046547254cdee74e990ce3d56bbd60bad349986292517355b5a8fd9fc3f1a7cac7b592fc93831c62b32a067f0adb7aa84d1222ea1cd2

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/testing-cabal/testtools
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 pypi
DESCRIPTION="Extensions to the Python standard library unit testing framework"
HOMEPAGE="
https://github.com/testing-cabal/testtools/
https://pypi.org/project/testtools/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? (
>=dev-python/fixtures-2.0.0[${PYTHON_USEDEP}]
dev-python/testscenarios[${PYTHON_USEDEP}]
dev-python/testresources[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]
)
"
distutils_enable_sphinx doc
python_test() {
if ! has_version "dev-python/twisted[${PYTHON_USEDEP}]"; then
sed -i -e '/twistedsupport/d' tests/test_suite.py || die
fi
"${EPYTHON}" -m testtools.run tests.test_suite ||
die "tests failed under ${EPYTHON}"
}