mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-05 02:16:31 +01:00
gnu: python-pywavelets: Remove cythonized files.
* gnu/packages/python-xyz.scm (python-pywavelets)[source]: Add snippet to remove cythonized files. [native-inputs]: Add python-cython.
This commit is contained in:
parent
6083372f61
commit
802c94034c
1 changed files with 13 additions and 2 deletions
|
@ -7671,7 +7671,17 @@ formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.")
|
||||||
(uri (pypi-uri "PyWavelets" version))
|
(uri (pypi-uri "PyWavelets" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"13csbr6ls9q9ww53z2xwwsj0hpsz88rj2iwp623h0kmv8yq6kgbc"))))
|
"13csbr6ls9q9ww53z2xwwsj0hpsz88rj2iwp623h0kmv8yq6kgbc"))
|
||||||
|
(snippet
|
||||||
|
#~(begin
|
||||||
|
(use-modules ((guix build utils)))
|
||||||
|
(for-each delete-file
|
||||||
|
(list
|
||||||
|
"pywt/_extensions/_cwt.c"
|
||||||
|
"pywt/_extensions/_dwt.c"
|
||||||
|
"pywt/_extensions/_pywt.c"
|
||||||
|
"pywt/_extensions/_pywt.h"
|
||||||
|
"pywt/_extensions/_swt.c"))))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:modules ((ice-9 ftw)
|
'(#:modules ((ice-9 ftw)
|
||||||
|
@ -7689,7 +7699,8 @@ formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.")
|
||||||
(with-directory-excursion (string-append cwd "/build/" libdir)
|
(with-directory-excursion (string-append cwd "/build/" libdir)
|
||||||
(invoke "pytest" "-vv"))))))))
|
(invoke "pytest" "-vv"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-matplotlib ;for tests
|
(list python-cython
|
||||||
|
python-matplotlib ;for tests
|
||||||
python-pytest))
|
python-pytest))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-numpy))
|
(list python-numpy))
|
||||||
|
|
Loading…
Add table
Reference in a new issue