math/py-numexpr: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2024-04-15 21:09:57 +02:00
parent 591b276e6d
commit 1b51b510c8
2 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= numexpr
PORTVERSION= 2.9.0
PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= PYPI \
https://github.com/pydata/numexpr/releases/download/v${PORTVERSION}/
@ -12,11 +13,13 @@ WWW= https://github.com/pydata/numexpr
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${RUN_DEPENDS}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,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.13.3,1:math/py-numpy@${PY_FLAVOR}
USES= dos2unix python:3.9+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +

View File

@ -0,0 +1,9 @@
--- pyproject.toml.orig 2024-01-26 12:44:10 UTC
+++ pyproject.toml
@@ -1,3 +1,3 @@
[build-system]
-requires = ["setuptools", "wheel", "oldest-supported-numpy"]
-build-backend = "setuptools.build_meta"
\ No newline at end of file
+requires = ["setuptools", "wheel", "numpy"]
+build-backend = "setuptools.build_meta"