git: 0b671bca7e15 - main - graphics/py-willow: Update to 1.5

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 04:27:45 UTC
The branch main has been updated by sunpoet:

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

commit 0b671bca7e15b27b3c7d500026cfa25f8ea24dfc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 04:09:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 04:09:17 +0000

    graphics/py-willow: Update to 1.5
    
    Changes:        https://github.com/wagtail/Willow/releases
---
 graphics/py-willow/Makefile             |  8 +++++---
 graphics/py-willow/distinfo             |  6 +++---
 graphics/py-willow/files/patch-setup.py | 11 +++++++++++
 3 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/graphics/py-willow/Makefile b/graphics/py-willow/Makefile
index 04843d86806a..29b664d6a4c8 100644
--- a/graphics/py-willow/Makefile
+++ b/graphics/py-willow/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	willow
-PORTVERSION=	1.4.1
-PORTREVISION=	1
+PORTVERSION=	1.5
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +12,10 @@ WWW=		https://github.com/wagtail/Willow
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python:3.5+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7<1.0:devel/py-defusedxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}filetype>=1.0.7:devel/py-filetype@${PY_FLAVOR}
+
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
diff --git a/graphics/py-willow/distinfo b/graphics/py-willow/distinfo
index ac6f55e3fe97..2f62fadf2075 100644
--- a/graphics/py-willow/distinfo
+++ b/graphics/py-willow/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655208292
-SHA256 (Willow-1.4.1.tar.gz) = 0df8ff528531e00b48d40bf72ed81beac1dc82f2d42e5bbed4aff0218bef8c0d
-SIZE (Willow-1.4.1.tar.gz) = 103868
+TIMESTAMP = 1684104498
+SHA256 (Willow-1.5.tar.gz) = 3fe42cda9872d8e4f64df301e58a1d8be5b9e66944eb83aadcc50128d3ae658a
+SIZE (Willow-1.5.tar.gz) = 119748
diff --git a/graphics/py-willow/files/patch-setup.py b/graphics/py-willow/files/patch-setup.py
new file mode 100644
index 000000000000..efc3a5ee38ff
--- /dev/null
+++ b/graphics/py-willow/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2023-03-29 19:16:29 UTC
++++ setup.py
+@@ -46,7 +46,7 @@ setup(
+     ],
+     python_requires='>=3.7',
+     install_requires=[
+-        "filetype>=1.0.10,!=1.1.0",
++        "filetype>=1.0.7,!=1.1.0",
+         "defusedxml>=0.7,<1.0",
+     ],
+     extras_require={"testing": [