diff options
| author | Lars-Dominik Braun <lars@6xq.net> | 2021-04-18 15:09:01 +0200 |
|---|---|---|
| committer | Lars-Dominik Braun <lars@6xq.net> | 2021-04-18 15:09:33 +0200 |
| commit | 8fc446088974e749d3e71f888a76fefc4898f8aa (patch) | |
| tree | 7e8170a6101bc9a603f169bfd3032715ebfb3769 /gnu | |
| parent | 0cfe02cf55baf8ef1395bc8f108672159355f606 (diff) | |
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.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 258f337f82b..0e12f753576 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.") | |||
| 6221 | (uri (pypi-uri "lfdfiles" version)) | 6221 | (uri (pypi-uri "lfdfiles" version)) |
| 6222 | (sha256 | 6222 | (sha256 |
| 6223 | (base32 | 6223 | (base32 |
| 6224 | "12fxm4v805dgjrih7x6jnl1wd7y7jw1rkhjs3d4am8s6qk1cbar2")))) | 6224 | "12fxm4v805dgjrih7x6jnl1wd7y7jw1rkhjs3d4am8s6qk1cbar2")) |
| 6225 | (modules '((guix build utils))) | ||
| 6226 | (snippet | ||
| 6227 | '(begin | ||
| 6228 | ;; Delete pre-generated Cython files. | ||
| 6229 | (for-each delete-file (find-files "lfdfiles" "_.*\\.c$")) | ||
| 6230 | #t)))) | ||
| 6225 | (build-system python-build-system) | 6231 | (build-system python-build-system) |
| 6232 | (arguments | ||
| 6233 | `(#:tests? #f)) ; No tests exist, despite a test dependency on pytest. | ||
| 6226 | (propagated-inputs | 6234 | (propagated-inputs |
| 6227 | `(("python-click" ,python-click) | 6235 | `(("python-click" ,python-click) |
| 6228 | ("python-numpy" ,python-numpy) | 6236 | ("python-numpy" ,python-numpy) |
| 6229 | ("python-tifffile" ,python-tifffile))) | 6237 | ("python-tifffile" ,python-tifffile))) |
| 6238 | (native-inputs `(("python-cython" ,python-cython))) | ||
| 6230 | (home-page "https://www.lfd.uci.edu/~gohlke/") | 6239 | (home-page "https://www.lfd.uci.edu/~gohlke/") |
| 6231 | (synopsis "Work with LFD data files") | 6240 | (synopsis "Work with LFD data files") |
| 6232 | (description | 6241 | (description |
