Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
databases/py-pyarrow: Add py-pyarrow 13.0.0
Python library for Apache Arrow provides a Python API for functionality provided by the Arrow C++ libraries, along with tools for Arrow integration and interoperability with pandas, NumPy, and other software in the Python ecosystem.
- Loading branch information
Showing
5 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
PORTNAME= pyarrow | ||
PORTVERSION= 13.0.0 | ||
CATEGORIES= databases python | ||
MASTER_SITES= PYPI | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= Python library for Apache Arrow | ||
WWW= https://arrow.apache.org/ \ | ||
https://github.com/apache/arrow/tree/main/python | ||
|
||
LICENSE= APACHE20 | ||
|
||
BUILD_DEPENDS= arrow>=${PORTVERSION}<${PORTVERSION}_99:databases/arrow \ | ||
cmake:devel/cmake-core \ | ||
${PYTHON_PKGNAMEPREFIX}numpy>=0.14,1:math/py-numpy@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}setuptools>=40.1.0:devel/py-setuptools@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} | ||
LIB_DEPENDS= libarrow.so:databases/arrow | ||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.6,1:math/py-numpy@${PY_FLAVOR} | ||
|
||
USES= python | ||
USE_PYTHON= autoplist concurrent cython pep517 | ||
|
||
post-install: | ||
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1693797275 | ||
SHA256 (pyarrow-13.0.0.tar.gz) = 83333726e83ed44b0ac94d8d7a21bbdee4a05029c3b1e8db58a863eec8fd8a33 | ||
SIZE (pyarrow-13.0.0.tar.gz) = 1034031 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- pyproject.toml.orig 2023-08-17 08:25:47 UTC | ||
+++ pyproject.toml | ||
@@ -18,7 +18,7 @@ | ||
[build-system] | ||
requires = [ | ||
"cython >= 0.29.31,<3", | ||
- "oldest-supported-numpy>=0.14", | ||
+ "numpy>=0.14", | ||
"setuptools_scm", | ||
"setuptools >= 40.1.0", | ||
"wheel" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Python library for Apache Arrow provides a Python API for functionality provided | ||
by the Arrow C++ libraries, along with tools for Arrow integration and | ||
interoperability with pandas, NumPy, and other software in the Python ecosystem. |