Files
ports/math/py-awkward-cpp/Makefile
T
Charlie Li d4bd5ba72e math/py-numpy: switch all consumers to math/py-numpy1
...and bump PORTREVISIONs of consumers with hard RUN_DEPENDS

PR: 281470
2026-04-03 14:52:22 -04:00

33 lines
1004 B
Makefile

PORTNAME= awkward-cpp
PORTVERSION= 52
PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= awkward_cpp-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= CPU kernels and compiled extensions for Awkward Array
WWW= https://awkward-array.org/doc/main/ \
https://github.com/scikit-hep/awkward/tree/main/awkward-cpp
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>=3:devel/py-pybind11@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.11:devel/py-scikit-build-core@${PY_FLAVOR} \
rapidjson>=0:devel/rapidjson
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy1>=1.21.3:math/py-numpy1@${PY_FLAVOR}
USES= cmake:indirect compiler:c++11-lang localbase python
USE_PYTHON= autoplist concurrent pep517
post-patch:
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/rapidjson/
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>