summaryrefslogtreecommitdiff
path: root/dev-python/stestr
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/stestr')
-rw-r--r--dev-python/stestr/Manifest2
-rw-r--r--dev-python/stestr/stestr-4.0.1.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/stestr/Manifest b/dev-python/stestr/Manifest
index 127178675c02..946226396f94 100644
--- a/dev-python/stestr/Manifest
+++ b/dev-python/stestr/Manifest
@@ -1,3 +1,5 @@
DIST stestr-3.2.1.tar.gz 118139 BLAKE2B dedb63767adfab26d837ce92762dcc44a482b1772aecbc31d12beb22f2c3c08368475cd110de7376f4df7fa8ce03c5b8e3b04436296ad4bd11c2fc3a4243695b SHA512 43187ca0d81e3b31e16ed60a1db561dc49c34f679594d11cad8cb0e658bf790af0b3d606bf99233a5767e2511675d3aedb6a476046d2f5483ffab05eaae393ed
+DIST stestr-4.0.1.tar.gz 111695 BLAKE2B e9ced9237f3c889c2eb116b51645a6d8b86d8085e2991b421b8955772225342325eb66276f43e710a57d79392974cc42072e0a05b7022c666181b9ca66d51735 SHA512 a74b9278b1941da62af58a087a10e5a0624901ceb81dcdd25eab3a05f003756773551fe6eec46dfb371f7b726cf296abfe0116444fb32c94fb6811440ee22a58
EBUILD stestr-3.2.1.ebuild 1107 BLAKE2B a4eb293e9c65627a47372f876ab606164ee573ca81ae77c5d9616d8f20b2609708659af0a7fcc80f86d679593e94fc73690f12ddaee452356722d58a25bcaa62 SHA512 291bd705b5993023020772362e141a7b5ea4b9091bb05fe6cd543cb161d60ca0af29b07a32ac71e1eac758b695cf1d53c5429e1f5aa23930a9895b7e0f85d9bb
+EBUILD stestr-4.0.1.ebuild 1111 BLAKE2B 2e22c45f72de89e4e22df105357407d99f9a2495db495856aa52870d9b6f077a3d96b53e5812dca6bc3b5c71b950e4408adf998e54f87547352343abdf2975cc SHA512 9f4c21ba8baf1be1c8581d0f724458f481f555f717f61089cd43523c2122c887579bf4b95a17f24e29ec4e1cee1be9a0bd0a3d42188239ad435eef83cc216903
MISC metadata.xml 640 BLAKE2B 2f6a2d6b549da3bdde1994544d2ed3a5a96ba08e1675394112643544d6afbb64162fd0bf8c72d39f1fbc43c3e120577e9d23506d9b51e1889308e670aa7d0775 SHA512 5fa6c1132aab62f72ff471ee8b551852e6ce84d66ca50c71f11c25f228b2c6de65e9d6dfcf464a7b826d9f0ce8768109cc4e475842c39bb7a6647fed662821a1
diff --git a/dev-python/stestr/stestr-4.0.1.ebuild b/dev-python/stestr/stestr-4.0.1.ebuild
new file mode 100644
index 000000000000..76e25799861d
--- /dev/null
+++ b/dev-python/stestr/stestr-4.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit distutils-r1
+
+DESCRIPTION="A parallel Python test runner built around subunit"
+HOMEPAGE="https://github.com/mtreinish/stestr"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
+ dev-python/future[${PYTHON_USEDEP}]
+ >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}]
+ >=dev-python/subunit-1.4.0[${PYTHON_USEDEP}]
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}]
+ >=dev-python/voluptuous-0.8.9[${PYTHON_USEDEP}]"
+BDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ distutils_install_for_testing
+ stestr init || die
+ stestr run || die "Tests failed with ${EPYTHON}"
+}