diff --git a/math/py-numexpr/Makefile b/math/py-numexpr/Makefile index 4db5ef00cb03..7e5d48e3e66d 100644 --- a/math/py-numexpr/Makefile +++ b/math/py-numexpr/Makefile @@ -1,27 +1,27 @@ PORTNAME= numexpr PORTVERSION= 2.14.1 PORTREVISION= 2 CATEGORIES= math python MASTER_SITES= PYPI \ https://github.com/pydata/numexpr/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast numerical array expression evaluator for Python and NumPy WWW= https://github.com/pydata/numexpr LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.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} USES= dos2unix python USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/math/py-numexpr/files/patch-pyproject.toml b/math/py-numexpr/files/patch-pyproject.toml index f38f9c304dc5..c7b81465e49b 100644 --- a/math/py-numexpr/files/patch-pyproject.toml +++ b/math/py-numexpr/files/patch-pyproject.toml @@ -1,22 +1,20 @@ ---- pyproject.toml.orig 2025-09-11 10:39:22 UTC +--- pyproject.toml.orig 2026-05-06 14:38:18 UTC +++ pyproject.toml -@@ -1,7 +1,7 @@ requires = [ +@@ -1,6 +1,6 @@ requires = [ [build-system] requires = [ - "setuptools>=77.0.0", -- "numpy>=2.0.0", + "setuptools>=61.0.0", -+ "numpy", + "numpy>=2.0.0", ] build-backend = "setuptools.build_meta" - @@ -14,8 +14,7 @@ maintainers = [{ name = "Blosc Development Team", emai readme = "README.rst" authors = [{name = "David M. Cooke, Francesc Alted, and others", email = "blosc@blosc.org"}] maintainers = [{ name = "Blosc Development Team", email = "blosc@blosc.org"}] -license = "MIT" -license-files = ["LICENSE.txt", "LICENSES/*"] +license = {text = "MIT"} classifiers = [ "Development Status :: 6 - Mature", "Intended Audience :: Developers",