parent
591b276e6d
commit
1b51b510c8
|
@ -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} {} +
|
||||
|
|
|
@ -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…
Reference in New Issue