git: 35020f5e575e - main - www/py-wagtail: Fix d7f9610cf9322ef01f626713e86fa443cf629398

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Apr 2023 18:09:30 UTC
The branch main has been updated by sunpoet:

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

commit 35020f5e575e29f63a346b1c9c1e012a8f64125c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-18 17:58:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-18 18:00:58 +0000

    www/py-wagtail: Fix d7f9610cf9322ef01f626713e86fa443cf629398
    
    - Bump PORTREVISION for package change
    
    Restore accidentally-removed draftjs_exporter patch.
---
 www/py-wagtail/Makefile             | 2 +-
 www/py-wagtail/files/patch-setup.py | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/www/py-wagtail/Makefile b/www/py-wagtail/Makefile
index 51c41f216079..58632ed29827 100644
--- a/www/py-wagtail/Makefile
+++ b/www/py-wagtail/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wagtail
 PORTVERSION=	4.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-wagtail/files/patch-setup.py b/www/py-wagtail/files/patch-setup.py
index a52b7140559d..70325e37c62e 100644
--- a/www/py-wagtail/files/patch-setup.py
+++ b/www/py-wagtail/files/patch-setup.py
@@ -1,8 +1,11 @@
 --- setup.py.orig	2023-02-06 13:19:58 UTC
 +++ setup.py
-@@ -28,7 +28,7 @@ install_requires = [
+@@ -26,9 +26,9 @@ install_requires = [
+     "django-treebeard>=4.5.1,<5.0",
+     "djangorestframework>=3.11.1,<4.0",
      "django-filter>=2.2,<23",
-     "draftjs_exporter>=2.1.5,<3.0",
+-    "draftjs_exporter>=2.1.5,<3.0",
++    "draftjs_exporter>=2.1.5",
      "Pillow>=4.0.0,<10.0.0",
 -    "beautifulsoup4>=4.8,<4.12",
 +    "beautifulsoup4>=4.8,<4.13",