git: f86bafdddb88 - main - math/py-ml-dtypes: Fix build after py-pybind11 2.11.0 update (8c3e03e40f25c5aee906148e655cfe2b3ebe4580)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 18:33:05 UTC
The branch main has been updated by sunpoet:

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

commit f86bafdddb8896523efc9dffff8a483734671218
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-16 18:12:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-16 18:25:40 +0000

    math/py-ml-dtypes: Fix build after py-pybind11 2.11.0 update (8c3e03e40f25c5aee906148e655cfe2b3ebe4580)
    
    - Bump PORTREVISION for package change
---
 math/py-ml-dtypes/Makefile                   | 5 +++--
 math/py-ml-dtypes/files/patch-pyproject.toml | 9 +++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/math/py-ml-dtypes/Makefile b/math/py-ml-dtypes/Makefile
index 5808317a6e4e..9de862f8b15f 100644
--- a/math/py-ml-dtypes/Makefile
+++ b/math/py-ml-dtypes/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ml-dtypes
 PORTVERSION=	0.2.0
+PORTREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +14,8 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.23.3:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pybind11>=2.10.0<2.11:devel/py-pybind11@${PY_FLAVOR} \
-		${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}pybind11>=2.10.0:devel/py-pybind11@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.23.3:math/py-numpy@${PY_FLAVOR}
 
diff --git a/math/py-ml-dtypes/files/patch-pyproject.toml b/math/py-ml-dtypes/files/patch-pyproject.toml
index 645226e9988e..169884de5f8c 100644
--- a/math/py-ml-dtypes/files/patch-pyproject.toml
+++ b/math/py-ml-dtypes/files/patch-pyproject.toml
@@ -1,4 +1,4 @@
---- pyproject.toml.orig	2023-03-27 19:04:56 UTC
+--- pyproject.toml.orig	2023-06-06 14:42:20 UTC
 +++ pyproject.toml
 @@ -16,10 +16,7 @@ keywords = []
  
@@ -12,16 +12,17 @@
  ]
  
  [project.urls]
-@@ -45,11 +42,9 @@ pyink-use-majority-quotes = true
+@@ -47,11 +44,9 @@ pyink-use-majority-quotes = true
  
  [build-system]
  requires = [
 -    # Build with oldest supported numpy for each Python version.
 -    "numpy~=1.21.2; python_version<'3.11'",
 -    "numpy~=1.23.3; python_version>='3.11'",
-+    "numpy>=1.23.3",
-     "pybind11~=2.10.0",
+-    "pybind11~=2.10.0",
 -    "setuptools~=67.6.0",
++    "numpy>=1.23.3",
++    "pybind11>=2.10.0",
 +    "setuptools",
  ]
  build-backend = "setuptools.build_meta"