git: 6c7c1bd6a390 - main - www/py-wagtail: Allow build with py-pillow 11.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Oct 2024 14:41:52 UTC
The branch main has been updated by sunpoet:

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

commit 6c7c1bd6a390189bf5b1b88edb8a4de5ad6fad94
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-29 14:20:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-29 14:38:41 +0000

    www/py-wagtail: Allow build with py-pillow 11.0.0+
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/wagtail/wagtail/commit/d404d37ba5d14ed3de2510a20fb81eb4a2e260cf
---
 www/py-wagtail/Makefile             |  3 ++-
 www/py-wagtail/files/patch-setup.py | 12 ++++++++----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/www/py-wagtail/Makefile b/www/py-wagtail/Makefile
index 11b15a43f152..b26d37177bcd 100644
--- a/www/py-wagtail/Makefile
+++ b/www/py-wagtail/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	wagtail
 PORTVERSION=	6.2.2
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -27,7 +28,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anyascii>=0.1.5:textproc/py-anyascii@${PY_FL
 		${PYTHON_PKGNAMEPREFIX}l18n>=2018.5:devel/py-l18n@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}laces>=0.1<0.2:www/py-laces@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}openpyxl>=3.0.10<4.0:textproc/py-openpyxl@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pillow>=9.1.0<11.0.0:graphics/py-pillow@${PY_FLAVOR} \
+		${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}
diff --git a/www/py-wagtail/files/patch-setup.py b/www/py-wagtail/files/patch-setup.py
index f79e29b7994e..ddcdfecd373d 100644
--- a/www/py-wagtail/files/patch-setup.py
+++ b/www/py-wagtail/files/patch-setup.py
@@ -1,11 +1,15 @@
---- setup.py.orig	2024-05-01 12:57:48 UTC
+--- setup.py.orig	2024-09-24 09:22:58 UTC
 +++ setup.py
-@@ -24,7 +24,7 @@ install_requires = [
+@@ -24,10 +24,10 @@ install_requires = [
      "django-permissionedforms>=0.1,<1.0",
-     "django-taggit>=4.0,<5.1",
+     "django-taggit>=5.0,<5.1",
      "django-treebeard>=4.5.1,<5.0",
 -    "djangorestframework>=3.15.1,<4.0",
 +    "djangorestframework>=3.14.0,<4.0",
      "django-filter>=23.3,<25",
      "draftjs_exporter>=2.1.5,<6.0",
-     "Pillow>=9.1.0,<11.0.0",
+-    "Pillow>=9.1.0,<11.0.0",
++    "Pillow>=9.1.0,<12.0.0",
+     "beautifulsoup4>=4.8,<4.13",
+     "Willow[heif]>=1.8.0,<2",
+     "requests>=2.11.1,<3.0",