diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index d37e2cc..47b4aad 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -5,7 +5,7 @@ _pkg=arrow _pkgname=pyarrow pkgname=python-${_pkgname} -pkgver=10.0.1 +pkgver=12.0.0 pkgrel=1 pkgdesc="Columnar in-memory analytics layer for big data — Python module." arch=(x86_64) @@ -19,9 +19,9 @@ makedepends=(git cmake cython python-build python-installer python-wheel python- checkdepends=(python-brotli python-hypothesis python-pandas python-pytest python-pytest-lazy-fixture python-pytz) source=(https://archive.apache.org/dist/${_pkg}/${_pkg}-${pkgver}/apache-${_pkg}-${pkgver}.tar.gz{,.asc} git+https://github.com/apache/arrow-testing.git) -sha512sums=(c6198e5c9b8fe5ccd89e445c9252da44d8d7c9e0c8eb5a802fa0cabf89482fddf775ed383bac1acc9331bc3195d21df7ea02c4a73aa6ee163c2959f34175d650 - SKIP - SKIP) +sha512sums=('f815be4fb20b6001ba5525270765fe239b5468708a7be34b93b60ee0ce63464727d183c9756fbc33bffd199019e1f06a7fddd306ce8388435cea7771070a2ca9' + 'SKIP' + 'SKIP') validpgpkeys=(265F80AB84FE03127E14F01125BCCA5220D84079 # Krisztian Szucs (apache) 08D3564B7C6A9CAFBFF6A66791D18FCF079F8007) # Kouhei Sutou @@ -36,15 +36,12 @@ prepare() { build() { cd apache-${_pkg}-${pkgver}/python # https://github.com/apache/arrow/blob/main/docs/source/developers/python.rst#relevant-components-and-environment-variables - PYARROW_BUNDLE_ARROW_CPP_HEADERS=0 \ - PYARROW_BUNDLE_PLASMA_EXECUTABLE=0 \ PYARROW_WITH_DATASET=1 \ PYARROW_WITH_FLIGHT=1 \ PYARROW_WITH_HDFS=1 \ PYARROW_WITH_ORC=1 \ PYARROW_WITH_PARQUET=1 \ PYARROW_WITH_PARQUET_ENCRYPTION=1 \ - PYARROW_WITH_PLASMA=1 \ PYARROW_WITH_SUBSTRAIT=1 \ PYARROW_WITH_TENSORFLOW=1 \ python -m build --wheel --no-isolation @@ -67,4 +64,11 @@ package(){ # drop tests from install local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") rm -rf "${pkgdir}${site_packages}"/${_pkgname}/tests + + # move python include files + install -d "${pkgdir}"/usr/include/arrow/ + mv "${pkgdir}${site_packages}"/${_pkgname}/include/arrow/python/ "${pkgdir}"/usr/include/arrow/ + rm -rf "${pkgdir}${site_packages}"/${_pkgname}/include/ + ln -sT /usr/include/arrow/ "${pkgdir}${site_packages}"/${_pkgname}/include + # Drop /usr/lib/python3.10/site-packages/pyarrow/src/ ? }