dev-python/django-tagging: Require python with sqlite for tests
authorMichał Górny <mgorny@gentoo.org>
Mon, 18 May 2020 10:25:34 +0000 (12:25 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 18 May 2020 10:32:07 +0000 (12:32 +0200)
Closes: https://bugs.gentoo.org/723630
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/django-tagging/django-tagging-0.5.0.ebuild

index f20e767c32e7764d9aa4eb6730414d5fce37dc4e..c6bfe58d4599276fb165bda1601c4a97e97d3b76 100644 (file)
@@ -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