lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 0cd900b2d9f0aaea2cb01508476509b71baf1373
Author: Lars-Dominik Braun <[email protected]>
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