From ee3e7766db93c66376cf52eaac72b16fa156d223 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Oct 2023 05:56:26 +0100 Subject: gentoo auto-resync : 06:10:2023 - 05:56:26 --- dev-python/pytest-xdist/Manifest | 1 + .../pytest-xdist/pytest-xdist-3.3.1-r1.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-python/pytest-xdist/pytest-xdist-3.3.1-r1.ebuild (limited to 'dev-python/pytest-xdist') diff --git a/dev-python/pytest-xdist/Manifest b/dev-python/pytest-xdist/Manifest index 63e4564b36c3..6fc97b29811e 100644 --- a/dev-python/pytest-xdist/Manifest +++ b/dev-python/pytest-xdist/Manifest @@ -1,3 +1,4 @@ DIST pytest-xdist-3.3.1.tar.gz 77751 BLAKE2B 483774b3fefefb513cc3021c49fd816089869a885ba098588e503530ff3b2dfb77612aff80a7147ff33fd8c1fe69c4fda40133de94007e41c699ad763d112e92 SHA512 f439ff1acf65a8df025fec847602ebdc5355b2099501845f8cde3c5287299a9c3102fa6dd6fc82a30bc016893556a24b0b5409323f5db4015e77c711a7b5c59f +EBUILD pytest-xdist-3.3.1-r1.ebuild 1061 BLAKE2B 3cc707cfa3d284e4b0dbea9cd28220c6b60bdacbd79ac7d54f6f46c44f392e2d6819d306bc6515f5f78e230cec51dc8947516431abbaf4660e53844216b1d907 SHA512 7948f46c67b08e478b40a0abf482b89339bc3dd3e2cd647c3a823856e7e3febf2808e1ea8649929edbbfff94ea372672c88e6e47c7a63092abc92190c2295f34 EBUILD pytest-xdist-3.3.1.ebuild 1097 BLAKE2B d3edfdae4b57a6dcb23427285e21a266ca52f5b7e8a0b8f75a8b63e22c43ae62acfa7f802a7b31fdc31223742ddbd9dd1f1a5223e8573ab780156c34624cef72 SHA512 f125820c3bbd2f50359e3dbfc70e101c59048f7d4d4e9d41c25f1b8c5b9a29e8160985644f0ac72c83bbef30486761d58db970d5197e2a811d1d4070aad21626 MISC metadata.xml 403 BLAKE2B 0aef0787ad01d8e5e5a0588b95740ca54527c1f425d17cc6655308ca478597ebdbfc35165e88864163929104aba9820848b63c17c3d77b238c4f0e17d9b98261 SHA512 c12b3e2a13b6497f748b373753410df996955ddcb9631b310104f2ae31a1427d983462c242692c1b6f9a9b9cd36b7f4aaef58e408543572c040e3dbeb38848fe diff --git a/dev-python/pytest-xdist/pytest-xdist-3.3.1-r1.ebuild b/dev-python/pytest-xdist/pytest-xdist-3.3.1-r1.ebuild new file mode 100644 index 000000000000..441f239a2f03 --- /dev/null +++ b/dev-python/pytest-xdist/pytest-xdist-3.3.1-r1.ebuild @@ -0,0 +1,44 @@ +# 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="Distributed testing and loop-on-failing modes" +HOMEPAGE=" + https://pypi.org/project/pytest-xdist/ + https://github.com/pytest-dev/pytest-xdist/ +" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/execnet[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pytest-6.2.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/filelock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + # disable autoloading plugins in nested pytest calls + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # since we disabled autoloading, force loading necessary plugins + local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked + + epytest +} -- cgit v1.2.3