gnu: python-pyarrow: Refresh package style.

* gnu/packages/databases.scm: Apply new package style.

Change-Id: I2f26ee6569f9d8a5730757ca7a9e3d612ac20f38
This commit is contained in:
Sharlatan Hellseher 2024-08-28 20:55:17 +01:00
parent dbc64bef16
commit d942cf18c2
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5

View File

@ -5033,18 +5033,19 @@ algorithm implementations.")
(name "python-pyarrow") (name "python-pyarrow")
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:tests? #f ; XXX There are no tests in the "python" directory (list
#:phases #:tests? #f ; XXX There are no tests in the "python" directory
(modify-phases %standard-phases #:phases
(delete 'build) ; XXX the build is performed again during the install phase #~(modify-phases %standard-phases
(add-after 'unpack 'enter-source-directory (delete 'build) ; XXX the build is performed again during the install phase
(lambda _ (chdir "python"))) (add-after 'unpack 'enter-source-directory
(add-before 'install 'set-pyarrow-build-options (lambda _ (chdir "python")))
(lambda _ (add-before 'install 'set-pyarrow-build-options
(setenv "PYARROW_BUNDLE_ARROW_CPP_HEADERS" "0") (lambda _
(setenv "PYARROW_WITH_ORC" "1") (setenv "PYARROW_BUNDLE_ARROW_CPP_HEADERS" "0")
(setenv "PYARROW_WITH_PARQUET" "1") (setenv "PYARROW_WITH_ORC" "1")
(setenv "PYARROW_WITH_DATASET" "1")))))) (setenv "PYARROW_WITH_PARQUET" "1")
(setenv "PYARROW_WITH_DATASET" "1"))))))
(propagated-inputs (propagated-inputs
(list (list apache-arrow "lib") (list (list apache-arrow "lib")
(list apache-arrow "include") (list apache-arrow "include")