guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: python-lfdfiles: Fix build.


From: guix-commits
Subject: branch master updated: gnu: python-lfdfiles: Fix build.
Date: Sun, 18 Apr 2021 09:11:26 -0400

This is an automated email from the git hooks/post-receive script.

lbraun pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 8fc4460  gnu: python-lfdfiles: Fix build.
8fc4460 is described below

commit 8fc446088974e749d3e71f888a76fefc4898f8aa
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Apr 18 15:09:01 2021 +0200

    gnu: python-lfdfiles: Fix build.
    
    * gnu/packages/python-xyz.scm (python-lfdfiles) [source]: Remove
    pre-generated C files.
    [native-inputs]: Add python-cython.
    [arguments]: Disable tests.
---
 gnu/packages/python-xyz.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 258f337..0e12f75 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6221,12 +6221,21 @@ numpy arrays to TIFF, BigTIFF, and ImageJ hyperstack 
compatible files.")
        (uri (pypi-uri "lfdfiles" version))
        (sha256
         (base32
-         "12fxm4v805dgjrih7x6jnl1wd7y7jw1rkhjs3d4am8s6qk1cbar2"))))
+         "12fxm4v805dgjrih7x6jnl1wd7y7jw1rkhjs3d4am8s6qk1cbar2"))
+        (modules '((guix build utils)))
+        (snippet
+         '(begin
+            ;; Delete pre-generated Cython files.
+            (for-each delete-file (find-files "lfdfiles" "_.*\\.c$"))
+            #t))))
     (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; No tests exist, despite a test dependency on pytest.
     (propagated-inputs
      `(("python-click" ,python-click)
        ("python-numpy" ,python-numpy)
        ("python-tifffile" ,python-tifffile)))
+    (native-inputs `(("python-cython" ,python-cython)))
     (home-page "https://www.lfd.uci.edu/~gohlke/";)
     (synopsis "Work with LFD data files")
     (description



reply via email to

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