From 22eb00514ec9cb13e3b9f6cb9dd666127c3f92e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 21 Feb 2026 06:55:50 +0100 Subject: [PATCH] dev-python/stestr: Bump to 4.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/stestr/Manifest | 2 ++ dev-python/stestr/stestr-4.2.1.ebuild | 46 +++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-python/stestr/stestr-4.2.1.ebuild diff --git a/dev-python/stestr/Manifest b/dev-python/stestr/Manifest index 13f650f738919..de8c85fbf0b9d 100644 --- a/dev-python/stestr/Manifest +++ b/dev-python/stestr/Manifest @@ -1,2 +1,4 @@ DIST stestr-4.2.0.tar.gz 79824 BLAKE2B 85ec7ad7a029ba4ebe75c71863ea0962d5d8d3add6fe8f4903013d4c72620b98fd4baf6a1690ccc2084b299930fb8c7f00f9108211742cf850040f4ed2219c86 SHA512 2d870604f671b720bfa7ac21d58b5beb56aab2fe4e70e99c8f332ed0081c0c86e791eeb92d4477b6dafaed50ffa17a0ac8e776bd35713fa5a1b0785803a27ba8 DIST stestr-4.2.0.tar.gz.provenance 9190 BLAKE2B eb8b9e5306a16fd22a5a5f51d2943c7f3ac230a70f6d71c7110989850e887ced935ab0da8e6dd90004605010730a1d0f05e06c4bb857bec8f744fe2959c47cda SHA512 386292e86cd77785b3ce062fcdd3db936f127351b8abd8822ac1b9c8b4a68c33ad99ecebb41d5cb3d448d375c72cd466ff70db54ff25337a9d1a1b64290ddcd3 +DIST stestr-4.2.1.tar.gz 79815 BLAKE2B 1334994cd4bc3b0f984fad6a6fedfc760bfb37153cea087bd7e7b51fb07d4560afa50e4f2d3dafb7247cdd4e23ff903f84231819f733327a552b245fa25373e4 SHA512 bba00836b3235f9ac220c2675d365954b1d48aaa238acc6192d294000cb34dc2417568186424708a05c7e3c07a5b7ddf8a8cf4741d568f7e8fc3765de23229c2 +DIST stestr-4.2.1.tar.gz.provenance 9379 BLAKE2B 199ce915de796840471778b6e064c6293b474ddce5e3b02d8e1539bee4634bd2f6221e140d7411fda2ca552d996368dcece90d0bbe8c63ab4f29635bfcf88266 SHA512 8a89765f85dc41e0ebd390fe245c7f053265000d927142112487a4ea20e6e902e13193ae653b23611ec1823d21663c53bf4ffeddf489fba2094842f3e35ce927 diff --git a/dev-python/stestr/stestr-4.2.1.ebuild b/dev-python/stestr/stestr-4.2.1.ebuild new file mode 100644 index 0000000000000..8bf731d513618 --- /dev/null +++ b/dev-python/stestr/stestr-4.2.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_VERIFY_REPO=https://github.com/mtreinish/stestr +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="A parallel Python test runner built around subunit" +HOMEPAGE=" + https://github.com/mtreinish/stestr/ + https://pypi.org/project/stestr/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}] + >=dev-python/python-subunit-1.4.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] + >=dev-python/voluptuous-0.8.9[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + ) +" + +python_test() { + # no clue why we need to set it + local -x PYTHONPATH=${PWD} + "${EPYTHON}" -m stestr init || die + "${EPYTHON}" -m stestr run --test-path stestr/tests \ + --concurrency "${EPYTEST_JOBS:-$(makeopts_jobs)}" || + die "Tests failed with ${EPYTHON}" +}