diff --git a/dev-python/pytest-rerunfailures/Manifest b/dev-python/pytest-rerunfailures/Manifest index 0c9177f873129..79c2cba6dc868 100644 --- a/dev-python/pytest-rerunfailures/Manifest +++ b/dev-python/pytest-rerunfailures/Manifest @@ -1 +1,2 @@ DIST pytest-rerunfailures-12.0.tar.gz 21154 BLAKE2B 3de39a8b92858bd90b312fca1c5f2e5ad790e12277f118bf18182b6192edf14dd160070bfe31ce981dc7ba41e0d0e2509ea80793c35c1856afdcfb5272ca55cc SHA512 2e6787ec8b420344eb1f7175b0f9e7f8a2f3cc3fd59ebf0c49128b39dc887200bd497e1d73a59311d072456e34126a1829324a4d86f86e5c01916940383c8fd4 +DIST pytest-rerunfailures-13.0.tar.gz 20846 BLAKE2B 7fbe5b05091ec358769837cb5a3f505f2901e4cec71f311268c606b237b25199d3dddb86f81399c8222f582570d99ef12a51d020d9610ea7fe25aca0a79294fe SHA512 466da7beac4785c82362e65c2c3420a5ac7c3d52a2b0c00f67ab6b8a5c64a51fc0b2172e7308c072b28a0cb0f74e1178f94ade3b10f4ad929ddf33057c80a654 diff --git a/dev-python/pytest-rerunfailures/pytest-rerunfailures-13.0.ebuild b/dev-python/pytest-rerunfailures/pytest-rerunfailures-13.0.ebuild new file mode 100644 index 0000000000000..c6263b8ee63e3 --- /dev/null +++ b/dev-python/pytest-rerunfailures/pytest-rerunfailures-13.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin to re-run tests to eliminate flaky failures" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-rerunfailures/ + https://pypi.org/project/pytest-rerunfailures/ +" + +SLOT="0" +LICENSE="MPL-2.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/packaging-17.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_rerunfailures + epytest +}