forked from Lainports/opnsense-ports
math/py-numexpr: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
591b276e6d
commit
1b51b510c8
2 changed files with 14 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= numexpr
|
PORTNAME= numexpr
|
||||||
PORTVERSION= 2.9.0
|
PORTVERSION= 2.9.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= math python
|
CATEGORIES= math python
|
||||||
MASTER_SITES= PYPI \
|
MASTER_SITES= PYPI \
|
||||||
https://github.com/pydata/numexpr/releases/download/v${PORTVERSION}/
|
https://github.com/pydata/numexpr/releases/download/v${PORTVERSION}/
|
||||||
|
|
@ -12,11 +13,13 @@ WWW= https://github.com/pydata/numexpr
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
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}
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.13.3,1:math/py-numpy@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= dos2unix python:3.9+
|
USES= dos2unix python:3.9+
|
||||||
USE_PYTHON= autoplist concurrent distutils
|
USE_PYTHON= autoplist concurrent pep517
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
||||||
|
|
|
||||||
9
math/py-numexpr/files/patch-pyproject.toml
Normal file
9
math/py-numexpr/files/patch-pyproject.toml
Normal 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"
|
||||||
Loading…
Add table
Reference in a new issue