git: 8331599f8e6f - main - www/py-django-recaptcha: Update to 3.0.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Tue, 08 Mar 2022 06:54:14 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8331599f8e6fb711e54d8ef76835a444bbbb7e8f

commit 8331599f8e6fb711e54d8ef76835a444bbbb7e8f
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-03-08 06:46:02 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-03-08 06:47:35 +0000

    www/py-django-recaptcha: Update to 3.0.0
    
    * Switch back to PyPI because the sdist is available there again.
    
    * Update WWW field as the upstream repository got a new maintainer and
      make the pkg-descr a bit more detailed.
    
    Changelog:
    
    https://github.com/torchbox/django-recaptcha/releases/tag/3.0.0
    
    Approved by:    myself (python, maintainer)
---
 www/py-django-recaptcha/Makefile  |  9 ++++-----
 www/py-django-recaptcha/distinfo  |  6 +++---
 www/py-django-recaptcha/pkg-descr | 11 ++++++++++-
 3 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/www/py-django-recaptcha/Makefile b/www/py-django-recaptcha/Makefile
index aa71575c1e08..767c4ee47897 100644
--- a/www/py-django-recaptcha/Makefile
+++ b/www/py-django-recaptcha/Makefile
@@ -1,9 +1,11 @@
 # Created by: Tom Judge <tj@FreeBSD.org>
 
 PORTNAME=	recaptcha
-PORTVERSION=	2.0.6
+PORTVERSION=	3.0.0
 CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}django-
+DISTNAME=	django-${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Django reCAPTCHA form field/widget integration app
@@ -13,10 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=1.11<4.0:www/py-django22@${PY_FLAVOR}
 
-USES=		python:3.5+
-USE_GITHUB=	yes
-GH_ACCOUNT=	praekelt
-GH_PROJECT=	django-recaptcha
+USES=		python:3.7+
 USE_PYTHON=	distutils autoplist
 
 NO_ARCH=	yes
diff --git a/www/py-django-recaptcha/distinfo b/www/py-django-recaptcha/distinfo
index be652973b110..6c2288486345 100644
--- a/www/py-django-recaptcha/distinfo
+++ b/www/py-django-recaptcha/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1590395598
-SHA256 (praekelt-django-recaptcha-2.0.6_GH0.tar.gz) = 0c9ded24c04c46209c923db2a5ac1ac5d1373681c1fdc0ca36c613f57ba076eb
-SIZE (praekelt-django-recaptcha-2.0.6_GH0.tar.gz) = 17998
+TIMESTAMP = 1646505801
+SHA256 (django-recaptcha-3.0.0.tar.gz) = 253197051288923cae675d7eff91b619e3775311292a5dbaf27a8a55ffebc670
+SIZE (django-recaptcha-3.0.0.tar.gz) = 22063
diff --git a/www/py-django-recaptcha/pkg-descr b/www/py-django-recaptcha/pkg-descr
index 6a4ad7af8757..f88e3bcf670a 100644
--- a/www/py-django-recaptcha/pkg-descr
+++ b/www/py-django-recaptcha/pkg-descr
@@ -1,3 +1,12 @@
 Django reCAPTCHA form field/widget integration app.
 
-WWW: https://github.com/praekelt/django-recaptcha
+Following reCAPTCHA variants are supported:
+
+* Google reCAPTCHA V2 - Checkbox (Default)
+* Google reCAPTCHA V2 - Invisible
+* Google reCAPTCHA V3
+
+Django reCAPTCHA uses a modified version of the Python reCAPTCHA client which
+is included in the package as "client.py"
+
+WWW: https://github.com/torchbox/django-recaptcha