2025-12-16 13:12:31 +01:00

37 lines
979 B
Makefile

PORTNAME= datafusion
PORTVERSION= 50.1.0
PORTREVISION= 2
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Build and run queries against data
WWW= https://datafusion.apache.org/python/ \
https://github.com/apache/datafusion-python
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_armv7= rustc-LLVM ERROR: out of memory
BROKEN_i386= rustc-LLVM ERROR: out of memory
BUILD_DEPENDS= protoc:devel/protobuf \
${PYTHON_PKGNAMEPREFIX}maturin>=1.8.1:devel/py-maturin@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyarrow>=11.0.0:databases/py-pyarrow@${PY_FLAVOR}
USES= cargo python
USE_PYTHON= autoplist concurrent pep517
CARGO_BUILD= no
CARGO_INSTALL= no
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31300
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>