From 2c9fab2a3468abc6862cb3115c9ff63aa266bf57 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 7 Jul 2023 10:16:30 +0100 Subject: gentoo auto-resync : 07:07:2023 - 10:16:30 --- dev-python/pytest-rerunfailures/Manifest | 2 ++ .../pytest-rerunfailures-12.0.ebuild | 32 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 dev-python/pytest-rerunfailures/pytest-rerunfailures-12.0.ebuild (limited to 'dev-python/pytest-rerunfailures') diff --git a/dev-python/pytest-rerunfailures/Manifest b/dev-python/pytest-rerunfailures/Manifest index 57ffc8105477..d436d435ff0f 100644 --- a/dev-python/pytest-rerunfailures/Manifest +++ b/dev-python/pytest-rerunfailures/Manifest @@ -1,3 +1,5 @@ DIST pytest-rerunfailures-11.1.2.tar.gz 17234 BLAKE2B c497fee173f09de42d605d092336105e7144aafcdcfe6cdfbe3df65e09c3ab5cf0bc2d42746662f792c832ac25538f3cd81dc97d6e01201b14b480cb0e2d3a46 SHA512 309a0d180a996ddb5d6eb0833e6abd107887bc17ca3003a2b02bbaf5a4cbd63012618ee293a2a80623ca327b46ce7a5cd53bb341de75e5670a62b84e7ce5f0bc +DIST pytest-rerunfailures-12.0.tar.gz 21154 BLAKE2B 3de39a8b92858bd90b312fca1c5f2e5ad790e12277f118bf18182b6192edf14dd160070bfe31ce981dc7ba41e0d0e2509ea80793c35c1856afdcfb5272ca55cc SHA512 2e6787ec8b420344eb1f7175b0f9e7f8a2f3cc3fd59ebf0c49128b39dc887200bd497e1d73a59311d072456e34126a1829324a4d86f86e5c01916940383c8fd4 EBUILD pytest-rerunfailures-11.1.2.ebuild 776 BLAKE2B 4e89d945b85ccbdbbdd1af9e8d6e9f19172ac7f83584ff8014b98f357b69e94b7c9ee631b3062d5710e908a49e6710a75993fee3ba60c9b0e4da62db93b49de5 SHA512 0065f39640b0137d299280b34f7d22b0ad883fb2bc16528ee35b5c4445deac93d3db0b0e36cfa655e12f5e915ce2bb25429f5aeb3a7131d3cea6722a6710b32e +EBUILD pytest-rerunfailures-12.0.ebuild 785 BLAKE2B 83a9cfd8eb22d8d3465b13bbcbfae5b65fb650bc61cb7fc1d1d763199773b6cf977adce7026ef3eac1e8a022a8dcab4833601aa21f81881e3830bcd9028ce5fe SHA512 1082bd4de1fd1ba38da553f8bc0d96fd9ed5a5f003e620ef1b0ac88445b7331b813c0a81855c1f2f8ed48135a816f1398917122738a2464cecb2bf9ac645fd23 MISC metadata.xml 432 BLAKE2B 3bbb0bd303a26d2a336563f187160b3b023e6d7a3a776922dee4853164d7461f395e840b2c0ba1349687d24050ccb5fd18166aeec397c9b21a1aa0e6b536b795 SHA512 f372a1f73a4dc3e60f66bd6049cddb4d8cd8fe53bebff2a6d194eb3d5872adab9b7ac226971696fb24a8d4e4744427c4d4148054fc51a94f63320d428ef80d52 diff --git a/dev-python/pytest-rerunfailures/pytest-rerunfailures-12.0.ebuild b/dev-python/pytest-rerunfailures/pytest-rerunfailures-12.0.ebuild new file mode 100644 index 000000000000..c6263b8ee63e --- /dev/null +++ b/dev-python/pytest-rerunfailures/pytest-rerunfailures-12.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 +} -- cgit v1.2.3