Re: git: 5d93a494946d - main - math/py-ml-dtypes: Update to 0.6.0

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Fri, 11 Sep 2026 06:17:39 UTC
Hi

===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py312-ml-dtypes-0.6.0
* Getting build dependencies for wheel...

ERROR Unmet dependencies (checked against /usr/local/bin/python3.12):
	cmake>=3.15
		wanted: >=3.15
		found: not installed
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/math/py-ml-dtypes
=>> Cleaning up wrkdir
===>  Cleaning for py312-ml-dtypes-0.6.0



Am 09.09.26 um 16:55 schrieb Po-Chuan Hsieh:
> The branch main has been updated by sunpoet:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=5d93a494946d44d7ad6e839a17888adc373e7e36
> 
> commit 5d93a494946d44d7ad6e839a17888adc373e7e36
> Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> AuthorDate: 2026-09-09 14:40:25 +0000
> Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> CommitDate: 2026-09-09 14:48:39 +0000
> 
>      math/py-ml-dtypes: Update to 0.6.0
>      
>      Changes:        https://github.com/jax-ml/ml_dtypes/releases
> ---
>   math/py-ml-dtypes/Makefile                   |  8 +++-----
>   math/py-ml-dtypes/distinfo                   |  6 +++---
>   math/py-ml-dtypes/files/patch-pyproject.toml | 21 +++++++++++----------
>   3 files changed, 17 insertions(+), 18 deletions(-)
> 
> diff --git a/math/py-ml-dtypes/Makefile b/math/py-ml-dtypes/Makefile
> index 63b27391cb34..8bb36e2d588a 100644
> --- a/math/py-ml-dtypes/Makefile
> +++ b/math/py-ml-dtypes/Makefile
> @@ -1,6 +1,5 @@
>   PORTNAME=	ml-dtypes
> -PORTVERSION=	0.5.1
> -PORTREVISION=	2
> +PORTVERSION=	0.6.0
>   CATEGORIES=	math python
>   MASTER_SITES=	PYPI
>   PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> @@ -14,9 +13,8 @@ LICENSE=	APACHE20
>   LICENSE_FILE=	${WRKSRC}/LICENSE
>   
>   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>=2.1.0,1:math/py-numpy@${PY_FLAVOR}
> +		${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0:devel/py-scikit-build-core@${PY_FLAVOR}
> +RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=2.3.0,1:math/py-numpy@${PY_FLAVOR}
>   
>   USES=		python
>   USE_PYTHON=	autoplist concurrent pep517
> diff --git a/math/py-ml-dtypes/distinfo b/math/py-ml-dtypes/distinfo
> index fc3946fc55a5..aa452032cce3 100644
> --- a/math/py-ml-dtypes/distinfo
> +++ b/math/py-ml-dtypes/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1738089116
> -SHA256 (ml_dtypes-0.5.1.tar.gz) = ac5b58559bb84a95848ed6984eb8013249f90b6bab62aa5acbad876e256002c9
> -SIZE (ml_dtypes-0.5.1.tar.gz) = 698772
> +TIMESTAMP = 1788500256
> +SHA256 (ml_dtypes-0.6.0.tar.gz) = 5e60251d32ced5598972e4d5e06a2f044341f9291402551a3f6f0ec44f9299b0
> +SIZE (ml_dtypes-0.6.0.tar.gz) = 3032327
> diff --git a/math/py-ml-dtypes/files/patch-pyproject.toml b/math/py-ml-dtypes/files/patch-pyproject.toml
> index 23cd5429a7c2..734d7fd99d9d 100644
> --- a/math/py-ml-dtypes/files/patch-pyproject.toml
> +++ b/math/py-ml-dtypes/files/patch-pyproject.toml
> @@ -1,11 +1,12 @@
> ---- pyproject.toml.orig	2025-01-07 02:25:37 UTC
> +--- pyproject.toml.orig	2022-11-09 12:37:21 UTC
>   +++ pyproject.toml
> -@@ -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",
> --    "setuptools~=75.7.0",
> -+    "setuptools",
> - ]
> - build-backend = "setuptools.build_meta"
> -
> +@@ -4,8 +4,7 @@ requires-python = ">=3.10"
> + description = "ml_dtypes is a stand-alone implementation of several NumPy dtype extensions used in machine learning."
> + readme = "README.md"
> + requires-python = ">=3.10"
> +-license = "Apache-2.0"
> +-license-files = ["LICENSE", "LICENSE.eigen"]
> ++license = {file = "LICENSE"}
> + authors = [{name = "ml_dtypes authors", email="ml_dtypes@google.com"}]
> + classifiers = [
> +     "Programming Language :: Python :: 3",