commit:     f89da530cc7009af6f7f91fef63f2a278da0f0e1
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 22 12:26:21 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jul 22 12:26:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89da530

dev-python/django-registration: fix dep and enable test

Closes: https://bugs.gentoo.org/909579
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 ...istration-3.3.ebuild => django-registration-3.3-r1.ebuild} | 11 ++++++++---
 1 file 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
similarity index 73%
rename from dev-python/django-registration/django-registration-3.3.ebuild
rename to 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}"
+}

Reply via email to