From f89da530cc7009af6f7f91fef63f2a278da0f0e1 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Sat, 22 Jul 2023 14:26:21 +0200 Subject: [PATCH] dev-python/django-registration: fix dep and enable test Closes: https://bugs.gentoo.org/909579 Signed-off-by: Alfredo Tupone --- ...n-3.3.ebuild => django-registration-3.3-r1.ebuild} | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) rename dev-python/django-registration/{django-registration-3.3.ebuild => django-registration-3.3-r1.ebuild} (73%) 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 385e2ce8ccb0d..ae512f2de1619 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}" +}