dev-python/testfixtures: Bump to 12.2.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-06-21 04:46:52 +02:00
parent d6f10b545e
commit 1fa7c22852
2 changed files with 59 additions and 0 deletions

View File

@@ -4,3 +4,5 @@ DIST testfixtures-12.0.1.tar.gz 177474 BLAKE2B cb27b968a41b764823b0129c6649e97e1
DIST testfixtures-12.0.1.tar.gz.provenance 9776 BLAKE2B 9046c0b27e325408f40ea423afe4707f602b4e57f74a969744ac4b7dd77ca233f4fd444b4cc8f387e8e9480d87a70787ce17a8ef5bb064781bc87b7b7a7fa950 SHA512 77a053b56e72ea73f4a5f064d6356fc5ba7b35883b9f61b6a215ae7f3209de96054e9f701a34dd280fee116780b6faa2014b1066e8632057f63e661d81eea10d
DIST testfixtures-12.1.0.tar.gz 187591 BLAKE2B 2c5b60fb2cb31fbd3679de4c1160bc8fefdee49c35993c101af1c27968c01ef0551acd94c4f57e8237286e5b35443de683a7d0f6c9be62c8b34ef91785592d93 SHA512 385974c755d7dbe43fa0a14a7c3fee51f47330dd97f542f7fc1c3b48dd25fb7a7a1e6119d0e1356619d28a572c96645eeccdb4ae40ca34ce4deb77192659e794
DIST testfixtures-12.1.0.tar.gz.provenance 9772 BLAKE2B 673e6124e037b607ff044460ed6021696c88f66fce8b89632db1401b061f74df3c03b6ab9a7d6a6ebcfe47761ec3dc26031924717da1bdd101f0a6d1ce8ab995 SHA512 173f91eb6cfdad05ff54536e86ef50ac8af3bdb467fb9d230c65e6732f5ee0fe7d1923a6ca5fd2f29fc2beb5dbd602be9c81b0d5cbda9b04b08dae78f6632392
DIST testfixtures-12.2.0.tar.gz 189430 BLAKE2B bbc7444365324021dc52b39d3842be83deab6aa70e5bd4a91c46762851a962d9f7baaff564c72861320f3e2ead149293e3ee2f5023ac8f4efe3d7f5e03c95a4f SHA512 006d2bda1ad3b67e877d9b55faca2fdd6ad27db31105039e3eda7c9782b8ec30ef13050df54fbf923cdc5d838f9660df84952bf5c492fb0d07d5ddb1a463ecae
DIST testfixtures-12.2.0.tar.gz.provenance 9819 BLAKE2B 7dc6b3e35459e0ff9cc21b81a22ccb1243e075440c34d54c741af09e6a18c50e8919733505af3dbdfb05bd560dfb4bb62f5f53343513a55b6282495ddf133046 SHA512 75ffb869b87ff1ee7308a206e328f2d089a0f57155bfe9b86455b2282b2aaa11924e676e1a06ff7399240fe1f52af3cc7d10d597e583d1ebdb102261fa0f7a66

View File

@@ -0,0 +1,57 @@
# 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/simplistix/testfixtures
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests"
HOMEPAGE="
https://pypi.org/project/testfixtures/
https://github.com/simplistix/testfixtures/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
RDEPEND="
$(python_gen_cond_dep '
>=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}]
' 3.12)
"
BDEPEND="
test? (
$(python_gen_impl_dep sqlite)
dev-python/django[${PYTHON_USEDEP}]
>=dev-python/sybil-6[${PYTHON_USEDEP}]
>=dev-python/twisted-18[${PYTHON_USEDEP}]
sys-libs/timezone-data
)
"
EPYTEST_PLUGINS=( pytest-django )
distutils_enable_tests pytest
python_test() {
local -x PYTHONPATH="."
local -x DJANGO_SETTINGS_MODULE=tests.test_django.settings
local EPYTEST_DESELECT=(
# TODO
tests/test_shouldwarn.py::ShouldWarnTests::test_filter_missing
tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present
)
local EPYTEST_IGNORE=()
if ! has_version "dev-python/twisted[${PYTHON_USEDEP}]"; then
EPYTEST_IGNORE+=(
tests/test_twisted.py
)
fi
epytest
}