commit:     3bcccb19ee28cd6226e4c6b43c51eb395c005eae
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 22 09:12:14 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 22 09:16:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bcccb19

dev-python/stestr: Add test deps

Closes: https://bugs.gentoo.org/785004
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/stestr/stestr-3.2.0.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/stestr/stestr-3.2.0.ebuild 
b/dev-python/stestr/stestr-3.2.0.ebuild
index 3847c9c410a..6f3fd7d55fc 100644
--- a/dev-python/stestr/stestr-3.2.0.ebuild
+++ b/dev-python/stestr/stestr-3.2.0.ebuild
@@ -13,9 +13,10 @@ 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 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
-BDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]"
 RDEPEND="
        >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
        dev-python/future[${PYTHON_USEDEP}]
@@ -25,6 +26,10 @@ RDEPEND="
        >=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

Reply via email to