summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-07-22 14:26:21 +0200
committerAlfredo Tupone <tupone@gentoo.org>2023-07-22 14:26:21 +0200
commitf89da530cc7009af6f7f91fef63f2a278da0f0e1 (patch)
tree4992fd937e9370ea7564d201f17d71b237f4b324 /dev-python
parent7cc541baaa85c31b034f1949d15c1a8d1f2cb0b1 (diff)
downloadgentoo-f89da530cc7009af6f7f91fef63f2a278da0f0e1.tar.gz
gentoo-f89da530cc7009af6f7f91fef63f2a278da0f0e1.tar.bz2
gentoo-f89da530cc7009af6f7f91fef63f2a278da0f0e1.zip
dev-python/django-registration: fix dep and enable test
Closes: https://bugs.gentoo.org/909579 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/django-registration/django-registration-3.3-r1.ebuild (renamed from dev-python/django-registration/django-registration-3.3.ebuild)11
1 files changed, 8 insertions, 3 deletions
diff --git a/dev-python/django-registration/django-registration-3.3.ebuild b/dev-python/django-registration/django-registration-3.3-r1.ebuild
index 385e2ce8ccb0..ae512f2de161 100644
--- a/dev-python/django-registration/django-registration-3.3.ebuild
+++ b/dev-python/django-registration/django-registration-3.3-r1.ebuild
@@ -20,8 +20,13 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
-RESTRICT="test" # Tests are not working here
-RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
+RDEPEND="
+ dev-python/django[${PYTHON_USEDEP}]
+ dev-python/confusable_homoglyphs[${PYTHON_USEDEP}]
+"
-distutils_enable_tests pytest
+python_test() {
+ "${EPYTHON}" runtests.py \
+ || die "Tests failed with ${EPYTHON}"
+}