summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-18 13:14:16 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-18 13:14:16 +0200
commit0a8b0b3d1ccc8b1a730d3438e23543a5f292db28 (patch)
tree554d835942f9a93fc88fdef0da46b6f20ad6e374 /dev-python/django-sortedm2m
parentdev-python/easy-thumbnails: Require sqlite for tests (diff)
downloadgentoo-0a8b0b3d1ccc8b1a730d3438e23543a5f292db28.tar.gz
gentoo-0a8b0b3d1ccc8b1a730d3438e23543a5f292db28.tar.bz2
gentoo-0a8b0b3d1ccc8b1a730d3438e23543a5f292db28.zip
dev-python/django-sortedm2m: Require sqlite for tests
Closes: https://bugs.gentoo.org/723702 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/django-sortedm2m')
-rw-r--r--dev-python/django-sortedm2m/django-sortedm2m-2.0.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/django-sortedm2m/django-sortedm2m-2.0.0.ebuild b/dev-python/django-sortedm2m/django-sortedm2m-2.0.0.ebuild
index f513c330485d..7e0513e1cb52 100644
--- a/dev-python/django-sortedm2m/django-sortedm2m-2.0.0.ebuild
+++ b/dev-python/django-sortedm2m/django-sortedm2m-2.0.0.ebuild
@@ -21,7 +21,11 @@ IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
-BDEPEND="test? ( ${RDEPEND} )"
+BDEPEND="
+ test? (
+ $(python_gen_impl_dep sqlite)
+ ${RDEPEND}
+ )"
python_test() {
local -x PYTHONPATH=test_project:${PYTHONPATH}