git: a1174d384948 - main - www/py-wagtail: Allow build with py-pillow 10.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 21:39:35 UTC
The branch main has been updated by sunpoet:

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

commit a1174d3849486b10ebf7da11f718c8c9ddc7aa0d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 21:25:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 21:34:44 +0000

    www/py-wagtail: Allow build with py-pillow 10.0.0+
    
    - Bump PORTREVISION for package change
---
 www/py-wagtail/Makefile             | 3 ++-
 www/py-wagtail/files/patch-setup.py | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/www/py-wagtail/Makefile b/www/py-wagtail/Makefile
index df53ca7cf0a7..8487e6e03961 100644
--- a/www/py-wagtail/Makefile
+++ b/www/py-wagtail/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	wagtail
 PORTVERSION=	5.0.2
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -25,7 +26,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anyascii>=0.1.5:textproc/py-anyascii@${PY_FL
 		${PYTHON_PKGNAMEPREFIX}html5lib>=0.999<2:www/py-html5lib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}l18n>=2018.5:devel/py-l18n@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}openpyxl>=3.0.10<4.0:textproc/py-openpyxl@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pillow>=4.0.0<10.0.0:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=4.0.0<11.0.0:graphics/py-pillow@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.11.1<3.0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}telepath>=0.1.1<1:devel/py-telepath@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}willow>=1.5<1.6:graphics/py-willow@${PY_FLAVOR}
diff --git a/www/py-wagtail/files/patch-setup.py b/www/py-wagtail/files/patch-setup.py
index 3610396c2062..1868e3e26796 100644
--- a/www/py-wagtail/files/patch-setup.py
+++ b/www/py-wagtail/files/patch-setup.py
@@ -5,9 +5,10 @@
      "djangorestframework>=3.11.1,<4.0",
      "django-filter>=2.2,<23",
 -    "draftjs_exporter>=2.1.5,<3.0",
-+    "draftjs_exporter>=2.1.5",
-     "Pillow>=4.0.0,<10.0.0",
+-    "Pillow>=4.0.0,<10.0.0",
 -    "beautifulsoup4>=4.8,<4.12",
++    "draftjs_exporter>=2.1.5",
++    "Pillow>=4.0.0,<11.0.0",
 +    "beautifulsoup4>=4.8,<4.13",
      "html5lib>=0.999,<2",
      "Willow>=1.5,<1.6",