3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
6 |
DISTUTILS_USE_PEP517=setuptools
|
|
7 |
PYTHON_COMPAT=( python3_{10..11} )
|
|
8 |
|
7 |
9 |
inherit distutils-r1 pypi
|
8 |
10 |
|
9 |
11 |
DESCRIPTION="A parallel Python test runner built around subunit"
|
10 |
|
HOMEPAGE="https://github.com/mtreinish/stestr"
|
|
12 |
HOMEPAGE="
|
|
13 |
https://github.com/mtreinish/stestr/
|
|
14 |
https://pypi.org/project/stestr/
|
|
15 |
"
|
11 |
16 |
|
12 |
17 |
LICENSE="Apache-2.0"
|
13 |
18 |
SLOT="0"
|
14 |
|
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
|
19 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
15 |
20 |
IUSE="test"
|
16 |
21 |
RESTRICT="!test? ( test )"
|
17 |
22 |
|
18 |
23 |
RDEPEND="
|
19 |
|
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
20 |
|
dev-python/future[${PYTHON_USEDEP}]
|
21 |
24 |
>=dev-python/cliff-2.8.0[${PYTHON_USEDEP}]
|
22 |
|
>=dev-python/subunit-1.4.0[${PYTHON_USEDEP}]
|
|
25 |
>=dev-python/extras-1.0.0[${PYTHON_USEDEP}]
|
23 |
26 |
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
24 |
|
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
|
|
27 |
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
25 |
28 |
>=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}]
|
26 |
|
>=dev-python/voluptuous-0.8.9[${PYTHON_USEDEP}]"
|
27 |
|
BDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
|
29 |
>=dev-python/subunit-1.4.0[${PYTHON_USEDEP}]
|
|
30 |
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
|
|
31 |
>=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}]
|
|
32 |
>=dev-python/voluptuous-0.8.9[${PYTHON_USEDEP}]
|
|
33 |
"
|
|
34 |
BDEPEND="
|
|
35 |
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
28 |
36 |
test? (
|
29 |
37 |
>=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
|
30 |
|
)"
|
|
38 |
)
|
|
39 |
"
|
31 |
40 |
|
32 |
41 |
python_test() {
|
33 |
|
distutils_install_for_testing
|
34 |
42 |
stestr init || die
|
35 |
43 |
stestr run || die "Tests failed with ${EPYTHON}"
|
36 |
44 |
}
|