git: 2f50c0f65895 - main - graphics/py-pillow: Update to 10.0.0

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

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

commit 2f50c0f6589530b50181832fea78a6aaff39f8c9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 21:24:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 21:34:39 +0000

    graphics/py-pillow: Update to 10.0.0
    
    Changes:        https://github.com/python-pillow/Pillow/releases
                    https://pillow.readthedocs.io/en/stable/releasenotes/index.html
---
 graphics/py-pillow/Makefile                   |  4 +++-
 graphics/py-pillow/distinfo                   |  6 +++---
 graphics/py-pillow/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/graphics/py-pillow/Makefile b/graphics/py-pillow/Makefile
index 4dba705cfd21..bbc896fa161a 100644
--- a/graphics/py-pillow/Makefile
+++ b/graphics/py-pillow/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pillow
-PORTVERSION=	9.5.0
+PORTVERSION=	10.0.0
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,6 +15,8 @@ LICENSE_NAME=	Standard PIL License
 LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR}
 
 USES=		cpe localbase python
diff --git a/graphics/py-pillow/distinfo b/graphics/py-pillow/distinfo
index f37eb78fae4c..dea49dfcc638 100644
--- a/graphics/py-pillow/distinfo
+++ b/graphics/py-pillow/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680726180
-SHA256 (Pillow-9.5.0.tar.gz) = bf548479d336726d7a0eceb6e767e179fbde37833ae42794602631a070d630f1
-SIZE (Pillow-9.5.0.tar.gz) = 50488147
+TIMESTAMP = 1688902173
+SHA256 (Pillow-10.0.0.tar.gz) = 9c82b5b3e043c7af0d95792d0d20ccf68f61a1fec6b3530e718b688422727396
+SIZE (Pillow-10.0.0.tar.gz) = 50527522
diff --git a/graphics/py-pillow/files/patch-pyproject.toml b/graphics/py-pillow/files/patch-pyproject.toml
new file mode 100644
index 000000000000..8ad261202d17
--- /dev/null
+++ b/graphics/py-pillow/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2023-07-01 12:59:48 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@
+ [build-system]
+ build-backend = "backend"
+ requires = [
+-  "setuptools>=67.8",
++  "setuptools>=61",
+   "wheel",
+ ]
+ backend-path = [