mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
c40230b476
- Bump PORTREVISION of dependent ports for shlib change Changes: https://github.com/Blosc/c-blosc2/releases
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
PORTNAME= blosc2
|
|
PORTVERSION= 2.6.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= archivers python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Python wrapper for the C-Blosc2 library
|
|
WWW= https://github.com/Blosc/python-blosc2
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
BUILD_DEPENDS= c-blosc2>=2.14.3:archivers/c-blosc2 \
|
|
cmake:devel/cmake-core \
|
|
ninja:devel/ninja \
|
|
${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}scikit-build>=0:devel/py-scikit-build@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
|
|
LIB_DEPENDS= libblosc2.so:archivers/c-blosc2
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}ndindex>=1.4:math/py-ndindex@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}numexpr>=0:math/py-numexpr@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}numpy>=1.20.3,1:math/py-numpy@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}py-cpuinfo>=0:sysutils/py-py-cpuinfo@${PY_FLAVOR}
|
|
|
|
USES= pkgconfig python
|
|
USE_PYTHON= autoplist concurrent cython pep517
|
|
|
|
MAKE_ENV= CMAKE_ARGS=-DUSE_SYSTEM_BLOSC2=ON
|
|
|
|
post-patch:
|
|
# Clean up bundled libraries
|
|
@${RM} -r ${WRKSRC}/blosc2/c-blosc2/
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} < 31000
|
|
IGNORE= requires Python 3.10+
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|