Skip to content
Snippets Groups Projects
Commit 311392d3 authored by Duncan Bellamy's avatar Duncan Bellamy :speech_balloon: Committed by alice
Browse files

community/py3-apache-arrow: upgrade to 8.0.0

parent 96005f7a
No related branches found
No related tags found
1 merge request!34108community/apache-arrow: upgrade to 8.0.0
......@@ -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
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment