git: a029ce4cc72d - main - www/py-wagtail: Update to 7.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jun 2025 20:57:04 UTC
The branch main has been updated by sunpoet:

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

commit a029ce4cc72df3881944633e02f1a83ab8cb4a79
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-30 20:54:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-30 20:54:12 +0000

    www/py-wagtail: Update to 7.0.1
    
    Changes:        https://github.com/wagtail/wagtail/releases
---
 www/py-wagtail/Makefile                   |  8 ++++----
 www/py-wagtail/distinfo                   |  6 +++---
 www/py-wagtail/files/patch-pyproject.toml | 19 +++++++++++++++++++
 www/py-wagtail/files/patch-setup.py       | 13 -------------
 4 files changed, 26 insertions(+), 20 deletions(-)

diff --git a/www/py-wagtail/Makefile b/www/py-wagtail/Makefile
index 91cd333862e7..acbce5a38cc3 100644
--- a/www/py-wagtail/Makefile
+++ b/www/py-wagtail/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	wagtail
-PORTVERSION=	6.4.2
+PORTVERSION=	7.0.1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,11 @@ WWW=		https://wagtail.io/ \
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anyascii>=0.1.5:textproc/py-anyascii@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.8<5:www/py-beautifulsoup@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}django42>=4.2<6.0:www/py-django42@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django-filter>=23.3:www/py-django-filter@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django-modelcluster>=6.2.1<7.0:www/py-django-modelcluster@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django-permissionedforms>=0.1<1.0:www/py-django-permissionedforms@${PY_FLAVOR} \
@@ -39,6 +39,6 @@ NO_ARCH=	yes
 
 CPE_VENDOR=	torchbox
 
-SHEBANG_FILES=	wagtail/project_template/manage.py
+SHEBANG_FILES=	wagtail/project_template/manage.py-tpl
 
 .include <bsd.port.mk>
diff --git a/www/py-wagtail/distinfo b/www/py-wagtail/distinfo
index 6aafe09fa9e6..13fecbab88b0 100644
--- a/www/py-wagtail/distinfo
+++ b/www/py-wagtail/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1750954264
-SHA256 (wagtail-6.4.2.tar.gz) = fcf39430e5fb856674c0cfa3cda67591b44214cc5a99c9308019140eb26ddb42
-SIZE (wagtail-6.4.2.tar.gz) = 6637640
+TIMESTAMP = 1751208186
+SHA256 (wagtail-7.0.1.tar.gz) = cfc5c37738f98cae380a15252f5676604f6c61554bef1a3791e34de1e703beec
+SIZE (wagtail-7.0.1.tar.gz) = 6671934
diff --git a/www/py-wagtail/files/patch-pyproject.toml b/www/py-wagtail/files/patch-pyproject.toml
new file mode 100644
index 000000000000..57c97d673722
--- /dev/null
+++ b/www/py-wagtail/files/patch-pyproject.toml
@@ -0,0 +1,19 @@
+--- pyproject.toml.orig	2025-06-12 15:29:53 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=78.0"]
++requires = ["setuptools>=61.0"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
+@@ -7,8 +7,7 @@ readme = "README.md"
+ dynamic = ["version"]
+ description = "A Django content management system."
+ readme = "README.md"
+-license = "BSD-3-Clause"
+-license-files = ["LICENSE"]
++license = {text = "BSD-3-Clause"}
+ authors = [
+   { name = "Wagtail core team + contributors", email = "hello@wagtail.org" },
+ ]
diff --git a/www/py-wagtail/files/patch-setup.py b/www/py-wagtail/files/patch-setup.py
deleted file mode 100644
index 43d4a8051941..000000000000
--- a/www/py-wagtail/files/patch-setup.py
+++ /dev/null
@@ -1,13 +0,0 @@
-Obtained from:	https://github.com/wagtail/wagtail/commit/2fafac56fab59e8d13fa57d0f483844114a15374
-
---- setup.py.orig	2025-02-21 16:19:57 UTC
-+++ setup.py
-@@ -35,7 +35,7 @@ install_requires = [
-     "anyascii>=0.1.5",
-     "telepath>=0.3.1,<1",
-     "laces>=0.1,<0.2",
--    "django-tasks>=0.6.1,<0.7",
-+    "django-tasks>=0.7,<0.8",
- ]
- 
- # Testing dependencies