Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/stestr/
Date: Fri, 23 Sep 2022 08:13:31
Message-Id: 1663920798.f85670dd600e32b481a35f677959945035678018.arthurzam@gentoo
1 commit: f85670dd600e32b481a35f677959945035678018
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 07:14:12 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 08:13:18 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f85670dd
7
8 dev-python/stestr: add 4.0.1
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/stestr/Manifest | 1 +
13 dev-python/stestr/stestr-4.0.1.ebuild | 37 +++++++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/stestr/Manifest b/dev-python/stestr/Manifest
17 index 484a3edd58c6..00e67b4a9f7d 100644
18 --- a/dev-python/stestr/Manifest
19 +++ b/dev-python/stestr/Manifest
20 @@ -1 +1,2 @@
21 DIST stestr-3.2.1.tar.gz 118139 BLAKE2B dedb63767adfab26d837ce92762dcc44a482b1772aecbc31d12beb22f2c3c08368475cd110de7376f4df7fa8ce03c5b8e3b04436296ad4bd11c2fc3a4243695b SHA512 43187ca0d81e3b31e16ed60a1db561dc49c34f679594d11cad8cb0e658bf790af0b3d606bf99233a5767e2511675d3aedb6a476046d2f5483ffab05eaae393ed
22 +DIST stestr-4.0.1.tar.gz 111695 BLAKE2B e9ced9237f3c889c2eb116b51645a6d8b86d8085e2991b421b8955772225342325eb66276f43e710a57d79392974cc42072e0a05b7022c666181b9ca66d51735 SHA512 a74b9278b1941da62af58a087a10e5a0624901ceb81dcdd25eab3a05f003756773551fe6eec46dfb371f7b726cf296abfe0116444fb32c94fb6811440ee22a58
23
24 diff --git a/dev-python/stestr/stestr-4.0.1.ebuild b/dev-python/stestr/stestr-4.0.1.ebuild
25 new file mode 100644
26 index 000000000000..76e25799861d
27 --- /dev/null
28 +++ b/dev-python/stestr/stestr-4.0.1.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..11} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="A parallel Python test runner built around subunit"
39 +HOMEPAGE="https://github.com/mtreinish/stestr"
40 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
45 +IUSE="test"
46 +RESTRICT="!test? ( test )"
47 +
48 +RDEPEND="
49 + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
50 + dev-python/future[${PYTHON_USEDEP}]
51 + >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}]
52 + >=dev-python/subunit-1.4.0[${PYTHON_USEDEP}]
53 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
54 + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
55 + >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}]
56 + >=dev-python/voluptuous-0.8.9[${PYTHON_USEDEP}]"
57 +BDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
58 + test? (
59 + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
60 + )"
61 +
62 +python_test() {
63 + distutils_install_for_testing
64 + stestr init || die
65 + stestr run || die "Tests failed with ${EPYTHON}"
66 +}