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")
(build-system python-build-system)
(arguments
'(#:tests? #f ; XXX There are no tests in the "python" directory
#:phases
(modify-phases %standard-phases
(delete 'build) ; XXX the build is performed again during the install phase
(add-after 'unpack 'enter-source-directory
(lambda _ (chdir "python")))
(add-before 'install 'set-pyarrow-build-options
(lambda _
(setenv "PYARROW_BUNDLE_ARROW_CPP_HEADERS" "0")
(setenv "PYARROW_WITH_ORC" "1")
(setenv "PYARROW_WITH_PARQUET" "1")
(setenv "PYARROW_WITH_DATASET" "1"))))))
(list
#:tests? #f ; XXX There are no tests in the "python" directory
#:phases
#~(modify-phases %standard-phases
(delete 'build) ; XXX the build is performed again during the install phase
(add-after 'unpack 'enter-source-directory
(lambda _ (chdir "python")))
(add-before 'install 'set-pyarrow-build-options
(lambda _
(setenv "PYARROW_BUNDLE_ARROW_CPP_HEADERS" "0")
(setenv "PYARROW_WITH_ORC" "1")
(setenv "PYARROW_WITH_PARQUET" "1")
(setenv "PYARROW_WITH_DATASET" "1"))))))
(propagated-inputs
(list (list apache-arrow "lib")
(list apache-arrow "include")