dev-python/serpent: Add missing test deps
authorMichał Górny <mgorny@gentoo.org>
Fri, 1 May 2020 15:36:20 +0000 (17:36 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 1 May 2020 15:44:06 +0000 (17:44 +0200)
Closes: https://bugs.gentoo.org/720074
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/serpent/serpent-1.30.ebuild

index 0e65a6b47e3558d355f9c0b879b61466e7aba7cd..8ef70a2141f7c613a916ac0accb36044c76ec641 100644 (file)
@@ -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}]
+       )"