commit:     4f36f27ac9aac4bf14d188cc668be2b58d4aeafe
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  9 19:34:32 2026 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan  9 19:34:32 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f36f27a

dev-python/pytest-regressions: add 2.9.1

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/pytest-regressions/Manifest             |  2 +
 .../pytest-regressions-2.9.1.ebuild                | 72 ++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-python/pytest-regressions/Manifest 
b/dev-python/pytest-regressions/Manifest
index 29a3f2bb1527..edddc9aef0e8 100644
--- a/dev-python/pytest-regressions/Manifest
+++ b/dev-python/pytest-regressions/Manifest
@@ -2,3 +2,5 @@ DIST pytest_regressions-2.8.3.tar.gz 117168 BLAKE2B 
e47121216fa3d2212eaac14c479f
 DIST pytest_regressions-2.8.3.tar.gz.provenance 9801 BLAKE2B 
d2257b1c64b91031d46537f801ebe6f0cf1041cd32aafea347f67b5508bf9bd2af0dfee18ec87b356003d8b59a50ec4c0097993bf08331b0ad044202bfb0e396
 SHA512 
d658957c78dddf74159bde3d8fad6ee61e6ac2e493a190a76f009827f16c65c58a44a8f78402c3f632d60bd50069fcb26430333fa04c0b5aa1f1063c6acb73de
 DIST pytest_regressions-2.9.0.tar.gz 115110 BLAKE2B 
45272956929730ce2d0c35115f5fe77dff0c18695e7dbae1cb573a9d4696e71b759b3117995b25aecaa6f30eb0ac34b88820e6d9be490ad43c8e7fd544ef0984
 SHA512 
1e47859ff2823fc80f9514831079df4746d574c3e18b12264141a8e5c0251adca6bce855bd11ec6c8ba04e2fde10c5ab7a334c6329c069339e0fb7e6df350e06
 DIST pytest_regressions-2.9.0.tar.gz.provenance 9519 BLAKE2B 
d72c038677ed851ddeb05b2001259cba1474a41c5551d93a2e8fd0649b572c3e817810f2888fd07f30f5242e24d68ac432234fa3738e65e8b3a0a109cabfcf3b
 SHA512 
a72af535965c99b0b97ef85ce7368356a29394d897cdb75c30438279f52cddb1603b46ac08b504f6ce2b2015befae28ef5551f89a88b2dc6d996139c01a54dcb
+DIST pytest_regressions-2.9.1.tar.gz 115361 BLAKE2B 
375b0e7d415a2fecd5d20034a937c9d92c620a0e0cddc9e5957ad76331aa417e2a359da0886aefdf3cda7a2d8bd55a5d1e6f2c43ccf527bd6e7dad7fd7576394
 SHA512 
6618070577103d4f356173262e047a562dc5389db0d3f516e16d2d28ec1eef1009a45bb1f264ba469d5d09f43edf9ef14c9fc4591f0754b7b538aa5f65328116
+DIST pytest_regressions-2.9.1.tar.gz.provenance 9566 BLAKE2B 
05e3bb0025a0899572779a55b29bf684fd8bae765b74241d9e5fe45324f2ecc58da9679ac7ae5b96fb6af1b347d0bb41dc1a84c702c5a32da783bf6644c7f07d
 SHA512 
9940fe10b80fd5fed42096c891ac00e4eb340f3c2746912a016c7923dbfb42e552d8855c1f9d4dfd347730d358668fe6fb4b7ea9553b75d9384dbac687916740

diff --git a/dev-python/pytest-regressions/pytest-regressions-2.9.1.ebuild 
b/dev-python/pytest-regressions/pytest-regressions-2.9.1.ebuild
new file mode 100644
index 000000000000..916796d4ba75
--- /dev/null
+++ b/dev-python/pytest-regressions/pytest-regressions-2.9.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/ESSS/pytest-regressions
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Easy to use fixtures to write regression tests"
+HOMEPAGE="
+       https://github.com/ESSS/pytest-regressions/
+       https://pypi.org/project/pytest-regressions/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       dev-python/pytest[${PYTHON_USEDEP}]
+       >=dev-python/pytest-datadir-1.7.0[${PYTHON_USEDEP}]
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+distutils_enable_sphinx doc dev-python/sphinx-rtd-theme
+
+python_test() {
+       local EPYTEST_DESELECT=()
+       local EPYTEST_IGNORE=()
+       if ! has_version "dev-python/matplotlib[${PYTHON_USEDEP}]"; then
+               EPYTEST_DESELECT+=(
+                       tests/test_image_regression.py::test_image_regression
+               )
+       fi
+       if ! has_version "dev-python/numpy[${PYTHON_USEDEP}]"; then
+               EPYTEST_IGNORE+=(
+                       tests/test_ndarrays_regression.py
+               )
+       fi
+       if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then
+               EPYTEST_DESELECT+=(
+                       tests/test_filenames.py::test_foo
+                       tests/test_filenames.py::TestClass::test_foo
+                       
tests/test_filenames.py::TestClassWithIgnoredName::test_foo
+               )
+               EPYTEST_IGNORE+=(
+                       tests/test_dataframe_regression.py
+                       tests/test_num_regression.py
+               )
+       fi
+       if ! has_version "dev-python/pillow[${PYTHON_USEDEP}]"; then
+               EPYTEST_DESELECT+=(
+                       tests/test_image_regression.py
+               )
+       fi
+
+       if [[ ${EPYTHON} == python3.14* ]] ; then
+               EPYTEST_DESELECT+=(
+                       # Sensitive to warnings
+                       tests/test_data_regression.py::test_regen_all
+               )
+       fi
+
+       local EPYTEST_PLUGINS=( pytest-{datadir,regressions} )
+       epytest
+}

Reply via email to