summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-01 17:36:20 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-01 17:44:06 +0200
commitc3f3f310f23b23350fe9c0dd28c77aa20802a04a (patch)
tree035db1e2f71e536d8870fb3472557370f13c53f4 /dev-python/serpent
parentdev-python/jsonpickle: Add missing dep on dev-python/toml (diff)
downloadgentoo-c3f3f310f23b23350fe9c0dd28c77aa20802a04a.tar.gz
gentoo-c3f3f310f23b23350fe9c0dd28c77aa20802a04a.tar.bz2
gentoo-c3f3f310f23b23350fe9c0dd28c77aa20802a04a.zip
dev-python/serpent: Add missing test deps
Closes: https://bugs.gentoo.org/720074 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/serpent')
-rw-r--r--dev-python/serpent/serpent-1.30.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/serpent/serpent-1.30.ebuild b/dev-python/serpent/serpent-1.30.ebuild
index 0e65a6b47e35..8ef70a2141f7 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}]
+ )"