~ruther/guix-local

d942cf18c28c2edfa1ee2e8ea6f41d0f7eaca4c3 — Sharlatan Hellseher 1 year, 9 months ago dbc64be
gnu: python-pyarrow: Refresh package style.

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

Change-Id: I2f26ee6569f9d8a5730757ca7a9e3d612ac20f38
1 files changed, 13 insertions(+), 12 deletions(-)

M gnu/packages/databases.scm
M gnu/packages/databases.scm => gnu/packages/databases.scm +13 -12
@@ 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")