git: 65795714532a - main - www/py-django-csp: Update to 3.8

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:33:47 UTC
The branch main has been updated by kai:

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

commit 65795714532a58983a99e2febebff6f3112091ab
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-03-09 14:13:47 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-03-09 14:20:53 +0000

    www/py-django-csp: Update to 3.8
    
    * Switch to the PEP517 build framework.
    
    Changelog:
    
    https://github.com/mozilla/django-csp/blob/3.8/CHANGES
---
 www/py-django-csp/Makefile | 9 +++++----
 www/py-django-csp/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/www/py-django-csp/Makefile b/www/py-django-csp/Makefile
index 597640b83995..1e1d7116d0ba 100644
--- a/www/py-django-csp/Makefile
+++ b/www/py-django-csp/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	django-csp
-PORTVERSION=	3.7
-PORTREVISION=	1
+PORTVERSION=	3.8
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,10 +12,12 @@ WWW=		https://github.com/mozilla/django-csp
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=1.8:www/py-django32@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
diff --git a/www/py-django-csp/distinfo b/www/py-django-csp/distinfo
index 958ee4a98489..e11813045afa 100644
--- a/www/py-django-csp/distinfo
+++ b/www/py-django-csp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644784370
-SHA256 (django_csp-3.7.tar.gz) = 01eda02ad3f10261c74131cdc0b5a6a62b7c7ad4fd017fbefb7a14776e0a9727
-SIZE (django_csp-3.7.tar.gz) = 12821
+TIMESTAMP = 1709978451
+SHA256 (django_csp-3.8.tar.gz) = ef0f1a9f7d8da68ae6e169c02e9ac661c0ecf04db70e0d1d85640512a68471c0
+SIZE (django_csp-3.8.tar.gz) = 13341