dev-python/testfixtures: Bump to 12.3.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-07-09 04:14:47 +02:00
parent f2a31ea1b6
commit 900594c4e0
2 changed files with 63 additions and 0 deletions

View File

@@ -6,3 +6,5 @@ DIST testfixtures-12.1.0.tar.gz 187591 BLAKE2B 2c5b60fb2cb31fbd3679de4c1160bc8fe
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
DIST testfixtures-12.3.0.tar.gz 201458 BLAKE2B 837003cf7468d5752f806b8e90b8126267965dfd2fe0525fd6d1f9d2e04146c4a6da3c3314e38ea4e44eb40db9b08334e56cd95bcc0ff0ef50598e5d6a5b8f27 SHA512 a774513a178bb54ec091d0290ddcd5ba4af61ee3f8a47c52298907e0fafa6e1c9a64404e3d0c1d3ac119117c59cd43e87bd76a116ba1bb378fd304d0e2c444f0
DIST testfixtures-12.3.0.tar.gz.provenance 10058 BLAKE2B 9048d747926e374199d9597ee18620f2baa93024ad97db7a77429954a8597be1edde735d1843056cff0d4ae00b0e4c157ee7faae57e1d822486953dc0005d6ff SHA512 0d6ea9321fa30935b69ac5e4b9f088dd054aee5852033385d3de16e9458ab035990264398ed741ae52b03311b6af5fcf50cb6b19072379a6fa08f2f3e7ac031b

View File

@@ -0,0 +1,61 @@
# 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
# need polars
docs/pydantic.rst::line:48,column:1
docs/pydantic.rst::line:69,column:1
docs/pydantic.rst::line:83,column:1
)
local EPYTEST_IGNORE=()
if ! has_version "dev-python/twisted[${PYTHON_USEDEP}]"; then
EPYTEST_IGNORE+=(
tests/test_twisted.py
)
fi
epytest
}