guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

106/150: gnu: python-tables: Move flags to #:configure-flags.


From: guix-commits
Subject: 106/150: gnu: python-tables: Move flags to #:configure-flags.
Date: Sun, 24 Apr 2022 05:12:30 -0400 (EDT)

lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit 0cd900b2d9f0aaea2cb01508476509b71baf1373
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Jan 7 13:27:24 2022 +0100

    gnu: python-tables: Move flags to #:configure-flags.
    
    * gnu/packages/python-xyz.scm (python-tables)[arguments]: Add
---
 gnu/packages/python-xyz.scm | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 002716b6e2..4c62f161d4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11833,8 +11833,7 @@ tasks, sockets, files, locks, and queues.")
            #t))))
     (build-system python-build-system)
     (arguments
-     `(;; FIXME: python-build-system does not pass configure-flags to "build"
-       ;; or "check", so we must override the build and check phases.
+     `(#:configure-flags ,#~`(@ ("--hdf5" . #$hdf5-1.10))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'use-gcc
@@ -11854,17 +11853,7 @@ tasks, sockets, files, locks, and queues.")
              (substitute* "setup.py"
                (("cpu_flags = .*")
                 "cpu_flags = ['sse2']\n"))
-             #t))
-         (replace 'build
-           (lambda* (#:key inputs #:allow-other-keys)
-             (invoke "python" "setup.py" "build"
-                     (string-append "--hdf5="
-                                    (assoc-ref inputs "hdf5")))))
-         (replace 'check
-           (lambda* (#:key inputs #:allow-other-keys)
-             (invoke "python" "setup.py" "check"
-                     (string-append "--hdf5="
-                                    (assoc-ref inputs "hdf5"))))))))
+             #t)))))
     (propagated-inputs
      (list python-numexpr python-numpy))
     (native-inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]