From b9eb74d6559deaa83b8bf32d778fe623f76f78f1 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 7 Jun 2023 20:16:07 +0200 Subject: gnu: python-pyarrow: Include dataset support. * gnu/packages/databases.scm (python-pyarrow)[arguments]: Remove obsolete build phase 'make-git-checkout-writable; rename phase 'set-PYARROW_WITH_PARQUET to 'set-pyarrow-build-options and also enable building of dataset extension. --- gnu/packages/databases.scm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 43f5f9c072..74483d27f7 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4677,13 +4677,11 @@ algorithm implementations.") (delete 'build) ; XXX the build is performed again during the install phase (add-after 'unpack 'enter-source-directory (lambda _ (chdir "python"))) - (add-after 'unpack 'make-git-checkout-writable - (lambda _ - (for-each make-file-writable (find-files ".")))) - (add-before 'install 'set-PYARROW_WITH_PARQUET + (add-before 'install 'set-pyarrow-build-options (lambda _ (setenv "PYARROW_BUNDLE_ARROW_CPP_HEADERS" "0") - (setenv "PYARROW_WITH_PARQUET" "1")))))) + (setenv "PYARROW_WITH_PARQUET" "1") + (setenv "PYARROW_WITH_DATASET" "1")))))) (propagated-inputs (list (list apache-arrow "lib") (list apache-arrow "include") -- cgit v1.2.3