mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pytest-regressions: Bump to 2.8.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST pytest_regressions-2.8.1.tar.gz 116486 BLAKE2B 3c70a62249b8b255f980f8ae3b83979c5850859a6497f7341266751cfd0588792f53afd80397fbfbe7567059076765dac2212ee7d12c87130149f61c51b7f77e SHA512 0dd244b1a186371decb6efb1e593cf1047ba34c57696400393f410d66c16918fb3b2eb7f7cf5dca78c48baf445c29d48cbe1e128d1b909dfd0320ef9e1efafed
|
||||
DIST pytest_regressions-2.8.2.tar.gz 116642 BLAKE2B 7c46291cdbad722c3bc00328a4f2865891dfd76a3e808a8be5cb9e10b7ecec7d6fcb6876f578d4c6589c3f6e97523d04232c84b11e52868e9a787ee408ebd6af SHA512 1d37aa106c451470e541beda3254954d24135158e813bc3ffc37287a8364da45930a00729b37e6fc79d6353781a7158b69ca96950a3c540b2cd6e0e455b74027
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
# 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}]
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user