commit:     25f498c0b36cdd6b1482312c57b8fb1cda8d8b37
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  5 04:42:27 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul  5 04:44:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25f498c0

dev-python/pytest-regressions: Bump to 2.8.1

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

 dev-python/pytest-regressions/Manifest             |  1 +
 .../pytest-regressions-2.8.1.ebuild                | 68 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/dev-python/pytest-regressions/Manifest 
b/dev-python/pytest-regressions/Manifest
index 8b61394a9a06..049c02eccb0a 100644
--- a/dev-python/pytest-regressions/Manifest
+++ b/dev-python/pytest-regressions/Manifest
@@ -1 +1,2 @@
 DIST pytest_regressions-2.8.0.tar.gz 116454 BLAKE2B 
3ebe0590ae794a83ea2be5372c318fe9ff16c59b2093ad221961a39f472c35daa0974e192e82cdb100fb20d4a7a24574d6b057854c2246c7f6f97f1fcf016a9e
 SHA512 
dcb7b2aa7e80d59e86f1c6e12cb736fe9ecbf043d61dd462575b5a24b71c88325b13631cdd0052444087b8e61490fd21153867299c19b03dc465d7f9d07cdff9
+DIST pytest_regressions-2.8.1.tar.gz 116486 BLAKE2B 
3c70a62249b8b255f980f8ae3b83979c5850859a6497f7341266751cfd0588792f53afd80397fbfbe7567059076765dac2212ee7d12c87130149f61c51b7f77e
 SHA512 
0dd244b1a186371decb6efb1e593cf1047ba34c57696400393f410d66c16918fb3b2eb7f7cf5dca78c48baf445c29d48cbe1e128d1b909dfd0320ef9e1efafed

diff --git a/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild 
b/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild
new file mode 100644
index 000000000000..2b6e9ebc4cd9
--- /dev/null
+++ b/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild
@@ -0,0 +1,68 @@
+# 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..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}]
+"
+
+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
+
+       epytest
+}

Reply via email to