aboutsummaryrefslogtreecommitdiff
path: root/www/py-django-cors-headers
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-django-cors-headers')
-rw-r--r--www/py-django-cors-headers/Makefile4
-rw-r--r--www/py-django-cors-headers/distinfo6
-rw-r--r--www/py-django-cors-headers/files/patch-pyproject.toml24
3 files changed, 29 insertions, 5 deletions
diff --git a/www/py-django-cors-headers/Makefile b/www/py-django-cors-headers/Makefile
index 6483a16bf9c4..2ea1f7c1ad4f 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.7.0
+DISTVERSION= 4.9.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= django_cors_headers-${PORTVERSION}
+DISTNAME= django_cors_headers-${DISTVERSION}
MAINTAINER= kai@FreeBSD.org
COMMENT= Handles server headers required for Cross-Origin Resource Sharing
diff --git a/www/py-django-cors-headers/distinfo b/www/py-django-cors-headers/distinfo
index ea513ae6604c..12c0cabe9960 100644
--- a/www/py-django-cors-headers/distinfo
+++ b/www/py-django-cors-headers/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739187247
-SHA256 (django_cors_headers-4.7.0.tar.gz) = 6fdf31bf9c6d6448ba09ef57157db2268d515d94fc5c89a0a1028e1fc03ee52b
-SIZE (django_cors_headers-4.7.0.tar.gz) = 21037
+TIMESTAMP = 1759317248
+SHA256 (django_cors_headers-4.9.0.tar.gz) = fe5d7cb59fdc2c8c646ce84b727ac2bca8912a247e6e68e1fb507372178e59e8
+SIZE (django_cors_headers-4.9.0.tar.gz) = 21458
diff --git a/www/py-django-cors-headers/files/patch-pyproject.toml b/www/py-django-cors-headers/files/patch-pyproject.toml
new file mode 100644
index 000000000000..b7e07d6bac3c
--- /dev/null
+++ b/www/py-django-cors-headers/files/patch-pyproject.toml
@@ -0,0 +1,24 @@
+* Relax version requirements of py-setuptools and enable build for
+ older versions of it
+
+--- pyproject.toml.orig 2025-09-18 12:15:44 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ requires = [
+ [build-system]
+ build-backend = "setuptools.build_meta"
+ requires = [
+- "setuptools>=77",
++ "setuptools",
+ ]
+
+ [project]
+@@ -16,8 +16,7 @@ keywords = [
+ "middleware",
+ "rest",
+ ]
+-license = "MIT"
+-license-files = [ "LICENSE" ]
++license = { text="MIT" }
+ maintainers = [
+ { name = "Adam Johnson", email = "me@adamj.eu" },
+ ]