1 |
commit: 3bcccb19ee28cd6226e4c6b43c51eb395c005eae |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 22 09:12:14 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 22 09:16:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bcccb19 |
7 |
|
8 |
dev-python/stestr: Add test deps |
9 |
|
10 |
Closes: https://bugs.gentoo.org/785004 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/stestr/stestr-3.2.0.ebuild | 9 +++++++-- |
14 |
1 file changed, 7 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/stestr/stestr-3.2.0.ebuild b/dev-python/stestr/stestr-3.2.0.ebuild |
17 |
index 3847c9c410a..6f3fd7d55fc 100644 |
18 |
--- a/dev-python/stestr/stestr-3.2.0.ebuild |
19 |
+++ b/dev-python/stestr/stestr-3.2.0.ebuild |
20 |
@@ -13,9 +13,10 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
21 |
|
22 |
LICENSE="Apache-2.0" |
23 |
SLOT="0" |
24 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
25 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
26 |
+IUSE="test" |
27 |
+RESTRICT="!test? ( test )" |
28 |
|
29 |
-BDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]" |
30 |
RDEPEND=" |
31 |
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
32 |
dev-python/future[${PYTHON_USEDEP}] |
33 |
@@ -25,6 +26,10 @@ RDEPEND=" |
34 |
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
35 |
>=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}] |
36 |
>=dev-python/voluptuous-0.8.9[${PYTHON_USEDEP}]" |
37 |
+BDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
38 |
+ test? ( |
39 |
+ >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] |
40 |
+ )" |
41 |
|
42 |
python_test() { |
43 |
distutils_install_for_testing |