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,27 +1,25 @@ PORTNAME= ml-dtypes -PORTVERSION= 0.5.1 -PORTREVISION= 2 +PORTVERSION= 0.6.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ml_dtypes-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Stand-alone implementation of several NumPy dtype extensions WWW= https://github.com/jax-ml/ml_dtypes 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 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include 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",