summaryrefslogtreecommitdiff
path: root/www/py-wagtail
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-wagtail')
-rw-r--r--www/py-wagtail/Makefile11
-rw-r--r--www/py-wagtail/distinfo6
-rw-r--r--www/py-wagtail/files/patch-pyproject.toml19
-rw-r--r--www/py-wagtail/files/patch-setup.py13
4 files changed, 27 insertions, 22 deletions
diff --git a/www/py-wagtail/Makefile b/www/py-wagtail/Makefile
index 1949f6e83e1e..acbce5a38cc3 100644
--- a/www/py-wagtail/Makefile
+++ b/www/py-wagtail/Makefile
@@ -1,6 +1,5 @@
PORTNAME= wagtail
-PORTVERSION= 6.4.1
-PORTREVISION= 1
+PORTVERSION= 7.0.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,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} \
@@ -31,7 +30,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyascii>=0.1.5:textproc/py-anyascii@${PY_FL
${PYTHON_PKGNAMEPREFIX}pillow>=9.1.0<12.0.0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.11.1<3.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}telepath>=0.3.1<1:devel/py-telepath@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}willow>=1.8.0<2:graphics/py-willow@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}willow>=1.10.0<2:graphics/py-willow@${PY_FLAVOR}
USES= cpe python shebangfix
USE_PYTHON= autoplist concurrent pep517
@@ -40,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 531bbc8e6810..13fecbab88b0 100644
--- a/www/py-wagtail/distinfo
+++ b/www/py-wagtail/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1740836204
-SHA256 (wagtail-6.4.1.tar.gz) = cec3e6d4920a6d178fa1eb6f4af80b370fdd5570ed924b979104e157f10ca097
-SIZE (wagtail-6.4.1.tar.gz) = 6630337
+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