commit:     c3f3f310f23b23350fe9c0dd28c77aa20802a04a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May  1 15:36:20 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May  1 15:44:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3f3f310

dev-python/serpent: Add missing test deps

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

 dev-python/serpent/serpent-1.30.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-python/serpent/serpent-1.30.ebuild 
b/dev-python/serpent/serpent-1.30.ebuild
index 0e65a6b47e3..8ef70a2141f 100644
--- a/dev-python/serpent/serpent-1.30.ebuild
+++ b/dev-python/serpent/serpent-1.30.ebuild
@@ -13,6 +13,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 ppc ppc64 x86"
-IUSE=""
+IUSE="test"
+RESTRICT="!test? ( test )"
 
 distutils_enable_tests setup.py
+
+BDEPEND="
+       test? (
+               dev-python/attrs[${PYTHON_USEDEP}]
+               dev-python/pytz[${PYTHON_USEDEP}]
+       )"

Reply via email to