mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: python-pywavelets: Update to 1.1.1.
* gnu/packages/python-xyz.scm (python-pywavelets): Update to 1.1.1. [arguments]: Update "check" phase. [native-inputs]: Replace python-nose with python-pytest.
This commit is contained in:
parent
88e0101b61
commit
501d89d707
1 changed files with 12 additions and 11 deletions
|
@ -5478,14 +5478,14 @@ (define-public python2-pycparser
|
||||||
(define-public python-pywavelets
|
(define-public python-pywavelets
|
||||||
(package
|
(package
|
||||||
(name "python-pywavelets")
|
(name "python-pywavelets")
|
||||||
(version "1.0.1")
|
(version "1.1.1")
|
||||||
(home-page "https://github.com/PyWavelets/pywt")
|
(home-page "https://github.com/PyWavelets/pywt")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "PyWavelets" version))
|
(uri (pypi-uri "PyWavelets" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1p3qv2v66ghnqrb1f98wyyhp9dz71jwcd6kfpsax65sfdpiyqp1w"))))
|
"1j88c0r4j1d4mb3f8qhz6nalyx21qrzmsm70rjngnkybd87v8r0s"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:modules ((ice-9 ftw)
|
'(#:modules ((ice-9 ftw)
|
||||||
|
@ -5493,17 +5493,18 @@ (define-public python-pywavelets
|
||||||
(srfi srfi-26)
|
(srfi srfi-26)
|
||||||
(guix build utils)
|
(guix build utils)
|
||||||
(guix build python-build-system))
|
(guix build python-build-system))
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(let ((cwd (getcwd))
|
(let ((cwd (getcwd))
|
||||||
(libdir (find (cut string-prefix? "lib." <>)
|
(libdir (find (cut string-prefix? "lib." <>)
|
||||||
(scandir "build"))))
|
(scandir "build"))))
|
||||||
(with-directory-excursion (string-append cwd "/build/" libdir)
|
(with-directory-excursion (string-append cwd "/build/" libdir)
|
||||||
(invoke "nosetests" "-v" "."))))))))
|
(invoke "pytest" "-vv"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-matplotlib" ,python-matplotlib) ;for tests
|
`(("python-matplotlib" ,python-matplotlib) ;for tests
|
||||||
("python-nose" ,python-nose)))
|
("python-pytest" ,python-pytest)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-numpy" ,python-numpy)))
|
`(("python-numpy" ,python-numpy)))
|
||||||
(synopsis "Wavelet transforms in Python")
|
(synopsis "Wavelet transforms in Python")
|
||||||
|
|
Loading…
Reference in a new issue