summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-18 12:25:34 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-18 12:32:07 +0200
commitaad768fc3e6016945749ff7b028ecf6841ab808a (patch)
tree3c52f6c8a45d6370581d44be5aa6f1021d7ae382
parentdev-python/gcs-oauth2-boto-plugin: Add test-dep on mock (diff)
downloadgentoo-aad768fc3e6016945749ff7b028ecf6841ab808a.tar.gz
gentoo-aad768fc3e6016945749ff7b028ecf6841ab808a.tar.bz2
gentoo-aad768fc3e6016945749ff7b028ecf6841ab808a.zip
dev-python/django-tagging: Require python with sqlite for tests
Closes: https://bugs.gentoo.org/723630 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/django-tagging/django-tagging-0.5.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/django-tagging/django-tagging-0.5.0.ebuild b/dev-python/django-tagging/django-tagging-0.5.0.ebuild
index f20e767c32e7..c6bfe58d4599 100644
--- a/dev-python/django-tagging/django-tagging-0.5.0.ebuild
+++ b/dev-python/django-tagging/django-tagging-0.5.0.ebuild
@@ -14,8 +14,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/django-1.0[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ $(python_gen_impl_dep sqlite)
+ )"
distutils_enable_sphinx docs