commit: 87a17d3a3a545a081765287bffa37058788527f1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 14 05:57:56 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 14 06:48:37 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87a17d3a
dev-python/testfixtures: Bump to 9.2.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/testfixtures/Manifest | 1 +
dev-python/testfixtures/testfixtures-9.2.0.ebuild | 51 +++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest
index 21934bb45979..8c3f30c4719f 100644
--- a/dev-python/testfixtures/Manifest
+++ b/dev-python/testfixtures/Manifest
@@ -1 +1,2 @@
DIST testfixtures-9.1.0.tar.gz 88605 BLAKE2B
0ff23f49f24b5bf94cce28b828ffb0f6549f74a4a969c8c65a3abfde44c9903a1d9680b051438b1e3771332e6801f35f7d066de1b7ae8615372583a04a8663c3
SHA512
f1f16be2fb21475e4852f6a1e80eb53d3a702c4748f3bb5abb9dd955020ba0bc823ee910bfec87bd93a4aaa94bd20eff6f061af668219f916b8bb4771ec8f103
+DIST testfixtures-9.2.0.tar.gz 90563 BLAKE2B
3debb106323ba167e818c3ca29028d0729d6be3a82b18120c79855a946ba0c1718c9161b67c735680aa9fd9288fda1b7b6b695bf04947dbcc552e4e69ab5bae8
SHA512
ba678629b3fc68b56b283ee9073f251179fe9d8f15ea75ccefce57389e14b33a9172a3a9a46f78e47fbc327bdf49d5d36850393298c6cc0602d7812e7b8715c9
diff --git a/dev-python/testfixtures/testfixtures-9.2.0.ebuild
b/dev-python/testfixtures/testfixtures-9.2.0.ebuild
new file mode 100644
index 000000000000..c8922e751f02
--- /dev/null
+++ b/dev-python/testfixtures/testfixtures-9.2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc
~x86 ~amd64-linux ~x86-linux"
+
+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=testfixtures.tests.test_django.settings
+
+ local EPYTEST_DESELECT=(
+ # TODO
+
testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_missing
+
testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present
+ )
+ local EPYTEST_IGNORE=()
+ if ! has_version "dev-python/twisted[${PYTHON_USEDEP}]"; then
+ EPYTEST_IGNORE+=(
+ testfixtures/tests/test_twisted.py
+ )
+ fi
+
+ epytest
+}