mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
Changes: https://github.com/pydata/numexpr/releases https://github.com/pydata/numexpr/blob/master/RELEASE_NOTES.rst
26 lines
868 B
Makefile
26 lines
868 B
Makefile
PORTNAME= numexpr
|
|
PORTVERSION= 2.10.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} \
|
|
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.0,1:math/py-numpy@${PY_FLAVOR}
|
|
|
|
USES= dos2unix python:3.9+
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|