commit:     3b37a1a2ee8b28df3094068d70f9742f26c0fa1d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 15 03:09:29 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 15 03:12:09 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b37a1a2

dev-python/testtools: Bump to 2.8.7

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/testtools/Manifest               |  2 ++
 dev-python/testtools/testtools-2.8.7.ebuild | 44 +++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/testtools/Manifest b/dev-python/testtools/Manifest
index cf10c3bd8780..4b87e37a1100 100644
--- a/dev-python/testtools/Manifest
+++ b/dev-python/testtools/Manifest
@@ -5,3 +5,5 @@ DIST testtools-2.8.4.tar.gz 219143 BLAKE2B 
a0ddac267ebd0583f53fdec5b74769532708d
 DIST testtools-2.8.4.tar.gz.provenance 9220 BLAKE2B 
32d60cdeb63500a3efdfa722a11a87b85773b45d9ef268bc75518f15fef9db4ab8b6d5201b3207a9dd9dbeaaa2c6cdd73668a78cab0ce9b33bb2b28d80b56fb3
 SHA512 
0d6bdcbdf67a3edaa1ce5c37326b7482837c14f05377fb76c7ec020e7dedf3a11100a295a48753052f1f350a8994ea9bb6bbb4252717ac6a1d5e4d8994f97f14
 DIST testtools-2.8.5.tar.gz 219116 BLAKE2B 
37756680fd2fde4c8595a5e3281b16c913e7169af8a55eebea896ececb2e6a093287cf72abb5117bac377cd1dcf21e45e58a36d1274619d35587fb65d7e65cc8
 SHA512 
39952401f125f08c81a006f1be9df4661132b33864a59df0687311b1705d625230bd340e962a45a2174778c4788d06b6cf07f149d37ed71789df6635a0fe3b1e
 DIST testtools-2.8.5.tar.gz.provenance 9550 BLAKE2B 
a7cb31f7220e2ca87daf341062b5f7c4a74d78c1aa236c41266be129aeb6463e70e873e23cd25fff1b58321cb384317a7ff9296f7bb2e3252384157ecdbfb2ca
 SHA512 
8cab5e5313b8d086ffaebbaad752f22cd275fc8574c89aef58e3623e2bb1679fe3e079ed56e10f7a174992a3db2a9b97ebd7a3c4fbc3eba10917f0f36a938ae0
+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

diff --git a/dev-python/testtools/testtools-2.8.7.ebuild 
b/dev-python/testtools/testtools-2.8.7.ebuild
new file mode 100644
index 000000000000..6a0177e8c455
--- /dev/null
+++ b/dev-python/testtools/testtools-2.8.7.ebuild
@@ -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}"
+}

Reply via email to