me
/
guix
Archived
1
0
Fork 0

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.
master
Ricardo Wurmus 2023-06-07 20:16:07 +02:00
parent e8f9fb3e03
commit b9eb74d655
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 5 deletions

View File

@ -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")