aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2022-05-07 11:46:15 +0000
committeralice <alice@ayaya.dev>2022-05-14 09:47:58 +0000
commit311392d372de4241344bb709e86d7c3e73a309ab (patch)
treed9c66102cb1876689f4f226070ffd29073869710
parent96005f7abdb251c873e6504133047b717b0b2577 (diff)
downloadaports-311392d372de4241344bb709e86d7c3e73a309ab.tar.gz
aports-311392d372de4241344bb709e86d7c3e73a309ab.tar.bz2
aports-311392d372de4241344bb709e86d7c3e73a309ab.tar.xz
community/py3-apache-arrow: upgrade to 8.0.0
-rw-r--r--community/py3-apache-arrow/APKBUILD17
1 files changed, 7 insertions, 10 deletions
diff --git a/community/py3-apache-arrow/APKBUILD b/community/py3-apache-arrow/APKBUILD
index 4cd7523c7e..608213af1b 100644
--- a/community/py3-apache-arrow/APKBUILD
+++ b/community/py3-apache-arrow/APKBUILD
@@ -2,14 +2,15 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
# based on arch linux PKGBUILD
pkgname=py3-apache-arrow
-pkgver=7.0.0
+pkgver=8.0.0
pkgrel=0
pkgdesc="multi-language toolbox for accelerated data interchange and in-memory processing"
url="https://arrow.apache.org/"
-arch="all !riscv64" # missing glog-dev
+arch="all !s390x !riscv64" # missing glog-dev, thrift
license="Apache-2.0"
makedepends="
apache-arrow-dev
+ apache-arrow-static
bzip2-dev
cython
gtest-dev
@@ -32,11 +33,6 @@ subpackages="$pkgname-dev"
source="https://downloads.apache.org/arrow/arrow-$pkgver/apache-arrow-$pkgver.tar.gz"
builddir="$srcdir/apache-arrow-$pkgver"
-# s390x segaults when testing
-case "$CARCH" in
- s390x) options="!check" ;;
-esac
-
build() {
cd python
@@ -45,7 +41,7 @@ build() {
*) _SIMD="DEFAULT" ;;
esac
export PYARROW_WITH_PARQUET=1
- python3 setup.py build_ext --inplace --extra-cmake-args="-DARROW_SIMD_LEVEL=$_SIMD"
+ python3 setup.py build_ext --inplace --extra-cmake-args="-DARROW_SIMD_LEVEL=$_SIMD -DPYARROW_BUILD_DATASET=ON"
}
check() {
@@ -64,7 +60,8 @@ check() {
--deselect=pyarrow/tests/test_pandas.py::TestConvertStructTypes::test_from_numpy_nested \
--deselect=pyarrow/tests/test_schema.py::test_schema_sizeof \
--deselect=pyarrow/tests/test_serialization.py::test_primitive_serialization \
- --deselect=pyarrow/tests/test_serialization.py::test_integer_limits
+ --deselect=pyarrow/tests/test_serialization.py::test_integer_limits \
+ --deselect=pyarrow/tests/parquet/test_dataset.py::test_partitioned_dataset
}
package() {
@@ -73,5 +70,5 @@ package() {
}
sha512sums="
-6727ea625b1a4dc3fd452e94ef5e8fd7a5bdebcf44b105f0ba684687cf126163317caef9e91cfd3722a8defca1f0295741ed0dde2393e85d15559bddd7ecb9a2 apache-arrow-7.0.0.tar.gz
+8280ce775c05296e33a292241c976caee2bddda7da396ef3c5da700347cb616a932475140139a5e96027781e71f66466e27fcf6423440bf720fbc83faabf0f3d apache-arrow-8.0.0.tar.gz
"