commit: 426fc571d6881bcba339d241a31b6041de05e495 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Apr 22 02:54:08 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Apr 22 03:08:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=426fc571
dev-python/stestr: Bump to 4.2.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/stestr/Manifest | 1 + dev-python/stestr/stestr-4.2.0.ebuild | 43 +++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/stestr/Manifest b/dev-python/stestr/Manifest index cbb82d763777..392356421283 100644 --- a/dev-python/stestr/Manifest +++ b/dev-python/stestr/Manifest @@ -1 +1,2 @@ DIST stestr-4.1.0.tar.gz 113187 BLAKE2B 6bd423aaad6189c90fe9b43db9390e85a5f458cfa899c33bd34b1340ca7f111d2edd2981d9c664d63ec6b880a904b08a26c09c332548ac5f2ebdabd2bad6a00a SHA512 77287ffdfe59042c4d189aa6c662df4357633d3a134ea60a4533b5b8b1b433ffd6f265a430977da175f242cc1c8e8514f876a486cc900a436cf93ab629fe7b7d +DIST stestr-4.2.0.tar.gz 79824 BLAKE2B 85ec7ad7a029ba4ebe75c71863ea0962d5d8d3add6fe8f4903013d4c72620b98fd4baf6a1690ccc2084b299930fb8c7f00f9108211742cf850040f4ed2219c86 SHA512 2d870604f671b720bfa7ac21d58b5beb56aab2fe4e70e99c8f332ed0081c0c86e791eeb92d4477b6dafaed50ffa17a0ac8e776bd35713fa5a1b0785803a27ba8 diff --git a/dev-python/stestr/stestr-4.2.0.ebuild b/dev-python/stestr/stestr-4.2.0.ebuild new file mode 100644 index 000000000000..dc6d9b5dd6bf --- /dev/null +++ b/dev-python/stestr/stestr-4.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} ) + +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 ~amd64-linux ~x86-linux" +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() { + stestr init || die + stestr run --test-path stestr/tests \ + --concurrency "${EPYTEST_JOBS:-$(makeopts_jobs)}" || + die "Tests failed with ${EPYTHON}" +}