aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-09 13:32:54 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-05-02 16:38:20 +0000
commitb5bab13975977ab107852f55de8d732419e0ac60 (patch)
tree9eef3cd7d70f3d9165d8e7e6a92fc8f51c291bb8
parentf5a6fb9c804d9b296556d70dd6e627b6e2ae0329 (diff)
downloadports-b5bab13975977ab107852f55de8d732419e0ac60.tar.gz
ports-b5bab13975977ab107852f55de8d732419e0ac60.zip
www/py-wagtail: Allow build with py-beautifulsoup 4.12
- Bump PORTREVISION for package change (cherry picked from commit d7f9610cf9322ef01f626713e86fa443cf629398)
-rw-r--r--www/py-wagtail/Makefile3
-rw-r--r--www/py-wagtail/files/patch-setup.py14
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",