diff --git a/www/py-django-recaptcha/Makefile b/www/py-django-recaptcha/Makefile index e86f24e2beba..e331213cb2fb 100644 --- a/www/py-django-recaptcha/Makefile +++ b/www/py-django-recaptcha/Makefile @@ -1,22 +1,24 @@ PORTNAME= django-recaptcha -PORTVERSION= 4.0.0 -PORTREVISION= 2 +PORTVERSION= 4.1.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= django_recaptcha-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= Django reCAPTCHA form field/widget integration app WWW= https://github.com/django-recaptcha/django-recaptcha LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>0:www/py-django42@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/www/py-django-recaptcha/distinfo b/www/py-django-recaptcha/distinfo index 775d9182de06..65731aeed44c 100644 --- a/www/py-django-recaptcha/distinfo +++ b/www/py-django-recaptcha/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1700760696 -SHA256 (django-recaptcha-4.0.0.tar.gz) = 5316438f97700c431d65351470d1255047e3f2cd9af0f2f13592b637dad9213e -SIZE (django-recaptcha-4.0.0.tar.gz) = 22907 +TIMESTAMP = 1772101290 +SHA256 (django_recaptcha-4.1.0.tar.gz) = 73097b958733f65b729d4e4630c51fc2bf147aca6f026017d18898dfc25cb4c5 +SIZE (django_recaptcha-4.1.0.tar.gz) = 28676 diff --git a/www/py-django-recaptcha/files/patch-pyproject.toml b/www/py-django-recaptcha/files/patch-pyproject.toml new file mode 100644 index 000000000000..62b9dcef789a --- /dev/null +++ b/www/py-django-recaptcha/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +Relax version requirements to enable build with older py-setuptools versions. + +--- pyproject.toml.orig 2026-02-26 10:28:55 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=64", "wheel"] ++requires = ["setuptools", "wheel"] + build-backend = "setuptools.build_meta" + + [project]