git: d7b24582a689 - main - www/py-django-cors-headers: Update to 4.6.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 03 Nov 2024 10:14:20 UTC
The branch main has been updated by kai:

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

commit d7b24582a689cf11033c21ee5704bcc84ae2e7d2
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-11-03 10:09:00 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-11-03 10:13:42 +0000

    www/py-django-cors-headers: Update to 4.6.0
    
    * Support for Python 3.8 was dropped with release 4.5.0, adjust
      USES=python accordingly.
    
    Changelog since 4.3.1:
    
    https://github.com/adamchainz/django-cors-headers/blob/4.6.0/CHANGELOG.rst
---
 www/py-django-cors-headers/Makefile | 8 ++++----
 www/py-django-cors-headers/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/www/py-django-cors-headers/Makefile b/www/py-django-cors-headers/Makefile
index 6abf829e74e4..2c5410b9e9cc 100644
--- a/www/py-django-cors-headers/Makefile
+++ b/www/py-django-cors-headers/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	django-cors-headers
-PORTVERSION=	4.3.1
-PORTREVISION=	1
+PORTVERSION=	4.6.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	django_cors_headers-${PORTVERSION}
 
 MAINTAINER=	kai@FreeBSD.org
 COMMENT=	Handles server headers required for Cross-Origin Resource Sharing
@@ -14,10 +14,10 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}asgiref>=3.6:www/py-asgiref@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.9+
 USE_PYTHON=	autoplist pep517
 
 NO_ARCH=		yes
diff --git a/www/py-django-cors-headers/distinfo b/www/py-django-cors-headers/distinfo
index d54ddda55d08..8085505c3c98 100644
--- a/www/py-django-cors-headers/distinfo
+++ b/www/py-django-cors-headers/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1701326135
-SHA256 (django-cors-headers-4.3.1.tar.gz) = 0bf65ef45e606aff1994d35503e6b677c0b26cafff6506f8fd7187f3be840207
-SIZE (django-cors-headers-4.3.1.tar.gz) = 21146
+TIMESTAMP = 1730458015
+SHA256 (django_cors_headers-4.6.0.tar.gz) = 14d76b4b4c8d39375baeddd89e4f08899051eeaf177cb02a29bd6eae8cf63aa8
+SIZE (django_cors_headers-4.6.0.tar.gz) = 20961