git: 89a75356e6e9 - main - graphics/py-wand: Update to 0.7.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 19:30:39 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89a75356e6e9d41234cd378b4f6a29fa23970426

commit 89a75356e6e9d41234cd378b4f6a29fa23970426
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 19:00:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:25:01 +0000

    graphics/py-wand: Update to 0.7.2
    
    - Use lowercase PORTNAME
    - Add GitHub to MASTER_SITES
    - Update WWW
    - Update dependent ports for PORTNAME change
    
    Changes:        https://github.com/emcconville/wand/releases
                    https://docs.wand-py.org/en/latest/changes.html
---
 graphics/halftone/Makefile                  |  2 +-
 graphics/py-dj60-sorl-thumbnail/Makefile    |  2 +-
 graphics/py-fotokilof/Makefile              |  2 +-
 graphics/py-sorl-thumbnail/Makefile         |  2 +-
 graphics/py-sqlalchemy-imageattach/Makefile |  2 +-
 graphics/py-wand/Makefile                   | 13 ++++++------
 graphics/py-wand/distinfo                   |  6 +++---
 graphics/py-wand/files/patch-pyproject.toml | 33 +++++++++++++++++++++++++++++
 www/py-calibreweb/Makefile                  |  2 +-
 9 files changed, 49 insertions(+), 15 deletions(-)

diff --git a/graphics/halftone/Makefile b/graphics/halftone/Makefile
index d3d8881112e2..e8da82e7d2e3 100644
--- a/graphics/halftone/Makefile
+++ b/graphics/halftone/Makefile
@@ -11,7 +11,7 @@ LICENSE=	GPLv3
 BUILD_DEPENDS=	desktop-file-validate:devel/desktop-file-utils \
 		blueprint-compiler:devel/blueprint-compiler
 LIB_DEPENDS=	libgio-2.0.so:devel/glib20
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Wand>0:graphics/py-wand@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wand>0:graphics/py-wand@${PY_FLAVOR}
 
 USES=		desktop-file-utils gettext-tools:build gnome meson pkgconfig python shebangfix
 USE_GNOME=	glib20 gtk40 libadwaita pygobject3
diff --git a/graphics/py-dj60-sorl-thumbnail/Makefile b/graphics/py-dj60-sorl-thumbnail/Makefile
index 000eace757ab..67f6a3a9fa80 100644
--- a/graphics/py-dj60-sorl-thumbnail/Makefile
+++ b/graphics/py-dj60-sorl-thumbnail/Makefile
@@ -46,7 +46,7 @@ GRAPHICSMAGICK_RUN_DEPENDS=	${LOCALBASE}/bin/gm:graphics/GraphicsMagick
 IMAGEMAGICK_USES=		magick:6,run
 PILLOW_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
 REDIS_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}redis>0:databases/py-redis@${PY_FLAVOR}
-WAND_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}Wand>0:graphics/py-wand@${PY_FLAVOR}
+WAND_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}wand>0:graphics/py-wand@${PY_FLAVOR}
 
 post-build-DOCS-on:
 	${SETENV} PYTHONPATH=${WRKSRC} ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \
diff --git a/graphics/py-fotokilof/Makefile b/graphics/py-fotokilof/Makefile
index 80a7465397ca..af6b959849fd 100644
--- a/graphics/py-fotokilof/Makefile
+++ b/graphics/py-fotokilof/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}darkdetect>=0.8.0:devel/py-darkdetect@${PY_F
 		${PYTHON_PKGNAMEPREFIX}requests>=2.32.3:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tkcolorpicker>=2.1.3:graphics/py-tkcolorpicker@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}ttkbootstrap>=1.10.1:devel/py-ttkbootstrap@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Wand>=0.6.11:graphics/py-wand@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}wand>=0.6.11:graphics/py-wand@${PY_FLAVOR}
 
 USES=		magick:run python
 USE_GITHUB=	yes
diff --git a/graphics/py-sorl-thumbnail/Makefile b/graphics/py-sorl-thumbnail/Makefile
index 6f84d41d6a66..67428f814a10 100644
--- a/graphics/py-sorl-thumbnail/Makefile
+++ b/graphics/py-sorl-thumbnail/Makefile
@@ -41,7 +41,7 @@ GRAPHICSMAGICK_RUN_DEPENDS=	${LOCALBASE}/bin/gm:graphics/GraphicsMagick
 IMAGEMAGICK_USES=		magick:6,run
 PILLOW_RUN_DEPENDS=		${PY_PILLOW}
 REDIS_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}redis>0:databases/py-redis@${PY_FLAVOR}
-WAND_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}Wand>0:graphics/py-wand@${PY_FLAVOR}
+WAND_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}wand>0:graphics/py-wand@${PY_FLAVOR}
 
 GRAPHICSMAGICK_DESC=	Use GraphicsMagick for image processing (faster)
 IMAGEMAGICK_DESC=	Use ImageMagick for image processing
diff --git a/graphics/py-sqlalchemy-imageattach/Makefile b/graphics/py-sqlalchemy-imageattach/Makefile
index 705bdede7e7b..cb241a873a58 100644
--- a/graphics/py-sqlalchemy-imageattach/Makefile
+++ b/graphics/py-sqlalchemy-imageattach/Makefile
@@ -12,7 +12,7 @@ WWW=		https://github.com/dahlia/sqlalchemy-imageattach
 LICENSE=	MIT
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy14>0:databases/py-sqlalchemy14@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Wand>0:graphics/py-wand@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}wand>0:graphics/py-wand@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist distutils
diff --git a/graphics/py-wand/Makefile b/graphics/py-wand/Makefile
index b92530678f6f..6386dad00426 100644
--- a/graphics/py-wand/Makefile
+++ b/graphics/py-wand/Makefile
@@ -1,18 +1,19 @@
-PORTNAME=	Wand
-PORTVERSION=	0.6.13
-PORTREVISION=	2
+PORTNAME=	wand
+PORTVERSION=	0.7.2
 CATEGORIES=	graphics python
-MASTER_SITES=	PYPI
+MASTER_SITES=	PYPI \
+		https://github.com/emcconville/wand/releases/download/${PORTVERSION}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Ctypes-based simple MagickWand API binding for Python
-WWW=		https://github.com/emcconville/wand
+WWW=		https://docs.wand-py.org/en/latest/ \
+		https://github.com/emcconville/wand
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		magick python
diff --git a/graphics/py-wand/distinfo b/graphics/py-wand/distinfo
index 50b60c6b5731..bd178c68dc9b 100644
--- a/graphics/py-wand/distinfo
+++ b/graphics/py-wand/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1699774644
-SHA256 (Wand-0.6.13.tar.gz) = f5013484eaf7a20eb22d1821aaefe60b50cc329722372b5f8565d46d4aaafcca
-SIZE (Wand-0.6.13.tar.gz) = 11883700
+TIMESTAMP = 1790435886
+SHA256 (wand-0.7.2.tar.gz) = 0387fd08848d00cadd1d885fcb19a17dd4250df2029e5338b6b668b7fed64b5b
+SIZE (wand-0.7.2.tar.gz) = 11889993
diff --git a/graphics/py-wand/files/patch-pyproject.toml b/graphics/py-wand/files/patch-pyproject.toml
new file mode 100644
index 000000000000..d10ae0dcc2e3
--- /dev/null
+++ b/graphics/py-wand/files/patch-pyproject.toml
@@ -0,0 +1,33 @@
+--- pyproject.toml.orig	2026-06-25 13:47:18 UTC
++++ pyproject.toml
+@@ -1,11 +1,11 @@ requires = [
+ [build-system]
+ requires = [
+-  "setuptools>=77.0"
++  "setuptools>=61"
+ ]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
+-name = "Wand"
++name = "wand"
+ authors = [
+     {name = "Hong Minhee", email = "hongminhee@member.fsf.org"},
+     {name = "E. McConville", email = "emcconville@emcconville.com"},
+@@ -17,8 +17,7 @@ keywords = ["ImageMagick", "ctypes"]
+ readme = { file = "README.rst", content-type = "text/x-rst" }
+ requires-python = ">=3.8"
+ keywords = ["ImageMagick", "ctypes"]
+-license = "MIT"
+-license-files = ["LICENSE"]
++license = { text = "MIT" }
+ classifiers = [
+     "Development Status :: 5 - Production/Stable",
+     "Intended Audience :: Developers",
+@@ -61,4 +60,4 @@ testpaths = ["tests"]
+ [tool.pytest.ini_options]
+ minversion = "7.2.0"
+ testpaths = ["tests"]
+-addopts = "--skip-pdf --skip-fft"
+\ No newline at end of file
++addopts = "--skip-pdf --skip-fft"
diff --git a/www/py-calibreweb/Makefile b/www/py-calibreweb/Makefile
index 84268284c932..da5bcda72826 100644
--- a/www/py-calibreweb/Makefile
+++ b/www/py-calibreweb/Makefile
@@ -35,7 +35,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}APScheduler>=0:devel/py-apscheduler@${PY_FLA
 		${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}unidecode>=0:converters/py-unidecode@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Wand>=0:graphics/py-wand@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}wand>=0:graphics/py-wand@${PY_FLAVOR}
 
 USES=		python ssl
 USE_PYTHON=	autoplist cryptography pep517