From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- dev-python/pytest-xdist/Manifest | 2 - .../files/pytest-xdist-3.8.0-pytest-9.patch | 64 ---------------------- dev-python/pytest-xdist/metadata.xml | 13 ----- dev-python/pytest-xdist/pytest-xdist-3.8.0.ebuild | 47 ---------------- 4 files changed, 126 deletions(-) delete mode 100644 dev-python/pytest-xdist/Manifest delete mode 100644 dev-python/pytest-xdist/files/pytest-xdist-3.8.0-pytest-9.patch delete mode 100644 dev-python/pytest-xdist/metadata.xml delete mode 100644 dev-python/pytest-xdist/pytest-xdist-3.8.0.ebuild (limited to 'dev-python/pytest-xdist') diff --git a/dev-python/pytest-xdist/Manifest b/dev-python/pytest-xdist/Manifest deleted file mode 100644 index 69ba09aa248b..000000000000 --- a/dev-python/pytest-xdist/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST pytest_xdist-3.8.0.tar.gz 88069 BLAKE2B fe1c06b937c7c08535949c026e15af046e41d46601c6fc79a56f586b8c88737b9e13af692ff270f0019c17fd47283e50f34f5567e0c2a71603729e2503e61fec SHA512 fedea555be872afe09409cb1a2a3e5c183efefacc2f0eb6edeb306b855ac0ebd1d0b0063186c8c434410c0c35a178f5a80133d7f4b48ad71a4e4e0110315396b -DIST pytest_xdist-3.8.0.tar.gz.provenance 9492 BLAKE2B bc66519ffce6812f93b5770ba9dfddef8f230c8683e150d956e359ea7ce722db528b135f06e37f62d9613cc2e3c535e0f498d34c3971a2bdc200eef2d54542d0 SHA512 449bc03d3db3d57e3b13dc8609bb2a56ff6409aa65f697713418d0451323907eeb6030d3b287805129a11825ef84b3ccc5d2ad02799b4fdc85f75b2b9cd74a92 diff --git a/dev-python/pytest-xdist/files/pytest-xdist-3.8.0-pytest-9.patch b/dev-python/pytest-xdist/files/pytest-xdist-3.8.0-pytest-9.patch deleted file mode 100644 index c39a004664bb..000000000000 --- a/dev-python/pytest-xdist/files/pytest-xdist-3.8.0-pytest-9.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 0c984478f39d7a01aa24c061f2581bdfd071cb6a Mon Sep 17 00:00:00 2001 -From: Bruno Oliveira -Date: Sun, 2 Nov 2025 10:18:21 -0300 -Subject: [PATCH] Adapt test to also worth with pytest-main - ---- - testing/test_newhooks.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/testing/test_newhooks.py b/testing/test_newhooks.py -index e3a8ac6f..9091ed31 100644 ---- a/testing/test_newhooks.py -+++ b/testing/test_newhooks.py -@@ -115,7 +115,7 @@ def pytest_handlecrashitem(crashitem, report, sched): - res.stdout.fnmatch_lines_random(["*HOOK: pytest_handlecrashitem"]) - res.stdout.fnmatch_lines( - [ -- "FAILED test_handlecrashitem_one.py::test_b", -- "FAILED test_handlecrashitem_one.py::test_b", -+ "FAILED test_handlecrashitem_one.py::test_b*", -+ "FAILED test_handlecrashitem_one.py::test_b*", - ] - ) -From 44f4bea2652e06e7cd5d4a063aa2673b5ef701ee Mon Sep 17 00:00:00 2001 -From: Bruno Oliveira -Date: Tue, 11 Nov 2025 08:00:23 -0300 -Subject: [PATCH] Fix CI for pytest 9.0+ (#1272) - ---- - testing/test_remote.py | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -diff --git a/testing/test_remote.py b/testing/test_remote.py -index 909f7ca2..ae82e2b7 100644 ---- a/testing/test_remote.py -+++ b/testing/test_remote.py -@@ -378,6 +378,11 @@ def test_mainargv(request): - - - def test_remote_usage_prog(pytester: pytest.Pytester) -> None: -+ if pytest.version_tuple[:2] >= (9, 0): -+ get_optparser_expr = "get_config_parser.optparser" -+ else: -+ get_optparser_expr = "get_config_parser._getparser()" -+ - pytester.makeconftest( - """ - import pytest -@@ -394,12 +399,12 @@ def pytest_configure(config): - """ - ) - pytester.makepyfile( -- """ -+ f""" - import sys - - def test(get_config_parser, request): -- get_config_parser._getparser().error("my_usage_error") -- """ -+ {get_optparser_expr}.error("my_usage_error") -+ """ - ) - - result = pytester.runpytest_subprocess("-n1") diff --git a/dev-python/pytest-xdist/metadata.xml b/dev-python/pytest-xdist/metadata.xml deleted file mode 100644 index 137ccb1542de..000000000000 --- a/dev-python/pytest-xdist/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - python@gentoo.org - Python - - - - pytest-xdist - pytest-dev/pytest-xdist - - diff --git a/dev-python/pytest-xdist/pytest-xdist-3.8.0.ebuild b/dev-python/pytest-xdist/pytest-xdist-3.8.0.ebuild deleted file mode 100644 index 21ca738fa0fa..000000000000 --- a/dev-python/pytest-xdist/pytest-xdist-3.8.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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/pytest-dev/pytest-xdist -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Distributed testing and loop-on-failing modes" -HOMEPAGE=" - https://pypi.org/project/pytest-xdist/ - https://github.com/pytest-dev/pytest-xdist/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/execnet-2.1[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] -" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/filelock[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" ) -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/pytest-dev/pytest-xdist/commit/0c984478f39d7a01aa24c061f2581bdfd071cb6a - # https://github.com/pytest-dev/pytest-xdist/commit/44f4bea2652e06e7cd5d4a063aa2673b5ef701ee - "${FILESDIR}/${P}-pytest-9.patch" -) - -python_test() { - epytest -o tmp_path_retention_count=1 -} -- cgit v1.3