git: 49a8b471e195 - main - graphics/py-pillow: Update to 12.3.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 09 Sep 2026 14:55:24 UTC
The branch main has been updated by sunpoet:

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

commit 49a8b471e195a5017437fd9dbf6d46a274d7c630
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-09 14:40:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-09 14:48:35 +0000

    graphics/py-pillow: Update to 12.3.0
    
    Changes:        https://github.com/python-pillow/Pillow/releases
                    https://pillow.readthedocs.io/en/stable/releasenotes/
---
 graphics/py-pillow/Makefile                   |  8 ++++----
 graphics/py-pillow/distinfo                   |  6 +++---
 graphics/py-pillow/files/patch-pyproject.toml | 10 +++++-----
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/graphics/py-pillow/Makefile b/graphics/py-pillow/Makefile
index bdcff341147e..a2d86f859daa 100644
--- a/graphics/py-pillow/Makefile
+++ b/graphics/py-pillow/Makefile
@@ -1,12 +1,11 @@
 PORTNAME=	pillow
-PORTVERSION=	11.3.0
-PORTREVISION=	2
+PORTVERSION=	12.3.0
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Fork of the Python Imaging Library (PIL)
+COMMENT=	Python Imaging Library (fork)
 WWW=		https://python-pillow.github.io/ \
 		https://pillow.readthedocs.io/en/stable/ \
 		https://github.com/python-pillow/Pillow
@@ -16,7 +15,8 @@ LICENSE_NAME=	CMU License
 LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_PERMS=	auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR} \
+		${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}
 
diff --git a/graphics/py-pillow/distinfo b/graphics/py-pillow/distinfo
index 612f07901e64..980d76e8d7f7 100644
--- a/graphics/py-pillow/distinfo
+++ b/graphics/py-pillow/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751622375
-SHA256 (pillow-11.3.0.tar.gz) = 3828ee7586cd0b2091b6209e5ad53e20d0649bbe87164a459d0676e035e8f523
-SIZE (pillow-11.3.0.tar.gz) = 47113069
+TIMESTAMP = 1788500236
+SHA256 (pillow-12.3.0.tar.gz) = 3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce
+SIZE (pillow-12.3.0.tar.gz) = 47025035
diff --git a/graphics/py-pillow/files/patch-pyproject.toml b/graphics/py-pillow/files/patch-pyproject.toml
index b9adef928b09..0ee5a6e66fe3 100644
--- a/graphics/py-pillow/files/patch-pyproject.toml
+++ b/graphics/py-pillow/files/patch-pyproject.toml
@@ -1,15 +1,15 @@
---- pyproject.toml.orig	2025-04-12 17:02:40 UTC
+--- pyproject.toml.orig	2026-07-01 09:47:15 UTC
 +++ pyproject.toml
-@@ -1,7 +1,7 @@ requires = [
- [build-system]
+@@ -2,7 +2,7 @@ requires = [
  build-backend = "backend"
  requires = [
+   "pybind11",
 -  "setuptools>=77",
 +  "setuptools>=61",
  ]
  backend-path = [
    "_custom_build",
-@@ -14,8 +14,7 @@ keywords = [
+@@ -15,8 +15,7 @@ keywords = [
  keywords = [
    "Imaging",
  ]
@@ -17,5 +17,5 @@
 -license-files = [ "LICENSE" ]
 +license = { text = "MIT-CMU" }
  authors = [
-   { name = "Jeffrey A. Clark", email = "aclark@aclark.net" },
+   { name = "Jeffrey 'Alex' Clark", email = "aclark@aclark.net" },
  ]