git: 529d1a8ede4a - main - www/py-django-simple-captcha: Update to 0.5.20

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Fri, 09 Feb 2024 05:43:49 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=529d1a8ede4acd404b9be62e94a7ac39f6ff1594

commit 529d1a8ede4acd404b9be62e94a7ac39f6ff1594
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-02-09 05:37:43 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-02-09 05:40:01 +0000

    www/py-django-simple-captcha: Update to 0.5.20
    
    * Remove obsolete MIGRATIONS option as the south migrations were dropped
      with the 0.5.8 release.
    
    PR:             276433
    Approved by:    maintainer timeout (2+ weeks)
---
 www/py-django-simple-captcha/Makefile | 19 +++++++++----------
 www/py-django-simple-captcha/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/www/py-django-simple-captcha/Makefile b/www/py-django-simple-captcha/Makefile
index ed61cae9db34..3adf786a9c4a 100644
--- a/www/py-django-simple-captcha/Makefile
+++ b/www/py-django-simple-captcha/Makefile
@@ -1,6 +1,8 @@
 PORTNAME=	django-simple-captcha
-PORTVERSION=	0.5.14
-PORTREVISION=	1
+# Note: Releases >= 0.6.0 have no longer support for Django 3.2. Before
+# updating, it should be first checked whether its consumers, e.g. www/seahub,
+# have been switched to Django 4.2.
+PORTVERSION=	0.5.20
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,24 +14,21 @@ WWW=		https://pypi.org/project/django-simple-captcha/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=1.7.0:www/py-django32@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}django-ranged-response>=0.2.0:www/py-django-ranged-response@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=1.2.0:devel/py-six@${PY_FLAVOR} \
-		${PY_PILLOW}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}django-ranged-response>=0.2.0<0.2.0_99:www/py-django-ranged-response@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=6.2.0:graphics/py-pillow@${PY_FLAVOR}
 
-USES=		python zip
+USES=		python
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
 PORTDOCS=	*
 
-OPTIONS_DEFINE=		DOCS MIGRATIONS
+OPTIONS_DEFINE=		DOCS
 DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
 DOCS_VARS=		PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
-MIGRATIONS_DESC=	Schema and data migration support (via south)
-MIGRATIONS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}south>0:databases/py-south@${PY_FLAVOR}
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/www/py-django-simple-captcha/distinfo b/www/py-django-simple-captcha/distinfo
index 159645c70baa..e07c87907d9b 100644
--- a/www/py-django-simple-captcha/distinfo
+++ b/www/py-django-simple-captcha/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1629348373
-SHA256 (django-simple-captcha-0.5.14.zip) = 84b5c188e6ae50e9ecec5e5d734c5bc4d2a50fbbca7f59d2c12da9a3bbee5051
-SIZE (django-simple-captcha-0.5.14.zip) = 167563
+TIMESTAMP = 1705521631
+SHA256 (django-simple-captcha-0.5.20.tar.gz) = 20273009a7beb44297e9f6c7a6bd21ada3d2fa93c314d2f6bf5e394ceeb6a297
+SIZE (django-simple-captcha-0.5.20.tar.gz) = 123144