git: b91cdc9da980 - main - devel/py-maturin: Update to 1.9.4

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sat, 06 Sep 2025 11:49:01 UTC
The branch main has been updated by kai:

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

commit b91cdc9da980160edf05ed2f62a63cdc2726bd21
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-09-06 11:44:26 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-09-06 11:44:26 +0000

    devel/py-maturin: Update to 1.9.4
    
    Changelogs since 1.9.1:
    
    https://github.com/PyO3/maturin/releases/tag/v1.9.4
    https://github.com/PyO3/maturin/releases/tag/v1.9.3
    https://github.com/PyO3/maturin/releases/tag/v1.9.2
---
 devel/py-maturin/Makefile                   |  3 +--
 devel/py-maturin/distinfo                   |  6 +++---
 devel/py-maturin/files/patch-pyproject.toml | 27 +++++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/devel/py-maturin/Makefile b/devel/py-maturin/Makefile
index d5d72d814f89..03d45ee28a08 100644
--- a/devel/py-maturin/Makefile
+++ b/devel/py-maturin/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	maturin
-DISTVERSION=	1.9.1
-PORTREVISION=	1
+DISTVERSION=	1.9.4
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-maturin/distinfo b/devel/py-maturin/distinfo
index 9d6f4fa2d518..163d28923e8c 100644
--- a/devel/py-maturin/distinfo
+++ b/devel/py-maturin/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1752386758
-SHA256 (maturin-1.9.1.tar.gz) = 97b52fb19d20c1fdc70e4efdc05d79853a4c9c0051030c93a793cd5181dc4ccd
-SIZE (maturin-1.9.1.tar.gz) = 209757
+TIMESTAMP = 1756543540
+SHA256 (maturin-1.9.4.tar.gz) = 235163a0c99bc6f380fb8786c04fd14dcf6cd622ff295ea3de525015e6ac40cf
+SIZE (maturin-1.9.4.tar.gz) = 213647
 SHA256 (rust/crates/adler2-2.0.0.crate) = 512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627
 SIZE (rust/crates/adler2-2.0.0.crate) = 13529
 SHA256 (rust/crates/ahash-0.8.11.crate) = e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011
diff --git a/devel/py-maturin/files/patch-pyproject.toml b/devel/py-maturin/files/patch-pyproject.toml
new file mode 100644
index 000000000000..ad79b31a27b2
--- /dev/null
+++ b/devel/py-maturin/files/patch-pyproject.toml
@@ -0,0 +1,27 @@
+* Relax version requirements for py-setuptools and enable build for
+  older versions of it
+
+--- pyproject.toml.orig	2025-08-04 11:39:48 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ requires = [
+ # Workaround to bootstrap maturin on non-manylinux platforms
+ [build-system]
+ requires = [
+-    "setuptools>=77.0.0",
++    "setuptools",
+     "tomli>=1.1.0 ; python_version<'3.11'",
+     "setuptools-rust>=1.11.0",
+ ]
+@@ -14,11 +14,7 @@ requires-python = ">=3.7"
+ authors = [{ name = "konstin", email = "konstin@mailbox.org" }]
+ readme = { file = "README.md", content-type = "text/markdown" }
+ requires-python = ">=3.7"
+-license = "MIT OR Apache-2.0"
+-license-files = [
+-    "license-mit",
+-    "license-apache",
+-]
++license = { text = "MIT OR Apache-2.0" }
+ classifiers = [
+     "Topic :: Software Development :: Build Tools",
+     "Programming Language :: Rust",