mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: python-patsy: Update to 0.5.2.
* gnu/packages/statistics.scm (python-patsy): Update to 0.5.2. [arguments]: Run tests conditionally; run tests with pytest. [native-inputs]: Replace python-nose with python-pytest.
This commit is contained in:
parent
3fc12128c2
commit
492dac2fb0
1 changed files with 5 additions and 4 deletions
|
@ -1953,25 +1953,26 @@ (define-public r-xtable
|
||||||
(define-public python-patsy
|
(define-public python-patsy
|
||||||
(package
|
(package
|
||||||
(name "python-patsy")
|
(name "python-patsy")
|
||||||
(version "0.5.1")
|
(version "0.5.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "patsy" version))
|
(uri (pypi-uri "patsy" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"149rbrdzwns0ay88caf1zsm1r53v1q5np1mrb36na50y432cw5gi"))))
|
"17dn72519gvwifw3i8mzwlslxmxkl8ihzfrxg1iblsk70iwdwlsh"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _ (invoke "nosetests" "-v"))))))
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests? (invoke "pytest" "-vv")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-numpy" ,python-numpy)
|
`(("python-numpy" ,python-numpy)
|
||||||
("python-scipy" ,python-scipy)
|
("python-scipy" ,python-scipy)
|
||||||
("python-six" ,python-six)))
|
("python-six" ,python-six)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-nose" ,python-nose)))
|
`(("python-pytest" ,python-pytest)))
|
||||||
(home-page "https://github.com/pydata/patsy")
|
(home-page "https://github.com/pydata/patsy")
|
||||||
(synopsis "Describe statistical models and build design matrices")
|
(synopsis "Describe statistical models and build design matrices")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue