Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 May 2026 05:46:59 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6d44738c59ec - main - math/py-ml-dtypes: Update version requirement of RUN_DEPENDS
Message-ID:  <69fc2753.3a9e7.9d935d9@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit 6d44738c59ec9082c87a83deaa17a08a7a74ede6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-07 05:43:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-07 05:43:26 +0000

    math/py-ml-dtypes: Update version requirement of RUN_DEPENDS
    
    - Bump PORTREVISION for package change
---
 math/py-ml-dtypes/Makefile                   |  4 ++--
 math/py-ml-dtypes/files/patch-pyproject.toml | 19 ++-----------------
 2 files changed, 4 insertions(+), 19 deletions(-)

diff --git a/math/py-ml-dtypes/Makefile b/math/py-ml-dtypes/Makefile
index 000fa69c248f..63b27391cb34 100644
--- a/math/py-ml-dtypes/Makefile
+++ b/math/py-ml-dtypes/Makefile
@@ -13,10 +13,10 @@ WWW=		https://github.com/jax-ml/ml_dtypes
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.26.0,1:math/py-numpy@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=2.0,1<3,1:math/py-numpy@${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.26.0,1:math/py-numpy@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=2.1.0,1:math/py-numpy@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/math/py-ml-dtypes/files/patch-pyproject.toml b/math/py-ml-dtypes/files/patch-pyproject.toml
index 5ce41da69d71..23cd5429a7c2 100644
--- a/math/py-ml-dtypes/files/patch-pyproject.toml
+++ b/math/py-ml-dtypes/files/patch-pyproject.toml
@@ -1,25 +1,10 @@
 --- pyproject.toml.orig	2025-01-07 02:25:37 UTC
 +++ pyproject.toml
-@@ -17,11 +17,7 @@ dependencies = [
- # pip dependencies of the project
- dependencies = [
-     # Ensure numpy release supports Python version.
--    "numpy>=1.21",
--    "numpy>=1.21.2; python_version>='3.10'",
--    "numpy>=1.23.3; python_version>='3.11'",
--    "numpy>=1.26.0; python_version>='3.12'",
--    "numpy>=2.1.0; python_version>='3.13'",
-+    "numpy>=1.26.0",
- ]
- 
- [project.urls]
-@@ -51,8 +47,8 @@ requires = [
- requires = [
+@@ -52,7 +52,7 @@ requires = [
      # We build against the most recent supported NumPy 2.0 release;
      # see https://github.com/numpy/numpy/issues/27265
--    "numpy~=2.0",
+     "numpy~=2.0",
 -    "setuptools~=75.7.0",
-+    "numpy>=1.26.0",
 +    "setuptools",
  ]
  build-backend = "setuptools.build_meta"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69fc2753.3a9e7.9d935d9>