git: b5bab1397597 - 2023Q2 - www/py-wagtail: Allow build with py-beautifulsoup 4.12

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 02 May 2023 16:38:41 UTC
The branch 2023Q2 has been updated by sunpoet:

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

commit b5bab13975977ab107852f55de8d732419e0ac60
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-09 13:32:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-02 16:38:20 +0000

    www/py-wagtail: Allow build with py-beautifulsoup 4.12
    
    - Bump PORTREVISION for package change
    
    (cherry picked from commit d7f9610cf9322ef01f626713e86fa443cf629398)
---
 www/py-wagtail/Makefile             |  3 ++-
 www/py-wagtail/files/patch-setup.py | 14 +++++++-------
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/www/py-wagtail/Makefile b/www/py-wagtail/Makefile
index 20f9acdaade7..51c41f216079 100644
--- a/www/py-wagtail/Makefile
+++ b/www/py-wagtail/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	wagtail
 PORTVERSION=	4.2
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,7 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anyascii>=0.1.5:textproc/py-anyascii@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.8<4.12:www/py-beautifulsoup@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.8<4.13:www/py-beautifulsoup@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django32>=3.2<4.2:www/py-django32@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django-filter>=2.2<23:www/py-django-filter@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django-modelcluster>=6.0<7.0:www/py-django-modelcluster@${PY_FLAVOR} \
diff --git a/www/py-wagtail/files/patch-setup.py b/www/py-wagtail/files/patch-setup.py
index 35222d737922..a52b7140559d 100644
--- a/www/py-wagtail/files/patch-setup.py
+++ b/www/py-wagtail/files/patch-setup.py
@@ -1,11 +1,11 @@
---- setup.py.orig	2022-08-31 13:20:32 UTC
+--- setup.py.orig	2023-02-06 13:19:58 UTC
 +++ setup.py
-@@ -26,7 +26,7 @@ install_requires = [
-     "django-treebeard>=4.5.1,<5.0",
-     "djangorestframework>=3.11.1,<4.0",
+@@ -28,7 +28,7 @@ install_requires = [
      "django-filter>=2.2,<23",
--    "draftjs_exporter>=2.1.5,<3.0",
-+    "draftjs_exporter>=2.1.5",
+     "draftjs_exporter>=2.1.5,<3.0",
      "Pillow>=4.0.0,<10.0.0",
-     "beautifulsoup4>=4.8,<4.12",
+-    "beautifulsoup4>=4.8,<4.12",
++    "beautifulsoup4>=4.8,<4.13",
      "html5lib>=0.999,<2",
+     "Willow>=1.4,<1.5",
+     "requests>=2.11.1,<3.0",