Files

32 lines
993 B
Makefile
Raw Permalink Normal View History

2023-08-17 02:06:44 +08:00
PORTNAME= awkward-cpp
2025-05-25 17:33:05 +08:00
PORTVERSION= 46
2023-08-17 02:06:44 +08:00
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
2024-08-05 05:16:21 +08:00
DISTNAME= awkward_cpp-${PORTVERSION}
2023-08-17 02:06:44 +08:00
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>=0:devel/py-pybind11@${PY_FLAVOR} \
2024-09-25 12:14:01 +08:00
${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.10:devel/py-scikit-build-core@${PY_FLAVOR} \
2023-08-17 02:06:44 +08:00
rapidjson>=0:devel/rapidjson
2024-04-05 08:40:28 +08:00
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.18.0,1:math/py-numpy@${PY_FLAVOR}
2023-08-17 02:06:44 +08:00
2024-11-27 10:34:29 +08:00
USES= cmake:indirect compiler:c++11-lang localbase python:3.9+
2023-08-17 02:06:44 +08:00
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} {} +
2024-11-27 10:34:29 +08:00
.include <bsd.port.mk>