gnu: python-jdcal: Update to 1.4.1.
* gnu/packages/python-xyz.scm (python-jdcal): Update to 1.4.1. [arguments]: Use G-expression and respect TESTS? keyword.
This commit is contained in:
parent
8d5637103f
commit
1329b64db5
1 changed files with 8 additions and 6 deletions
|
@ -3549,20 +3549,22 @@ version numbers.")
|
||||||
(define-public python-jdcal
|
(define-public python-jdcal
|
||||||
(package
|
(package
|
||||||
(name "python-jdcal")
|
(name "python-jdcal")
|
||||||
(version "1.4")
|
(version "1.4.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "jdcal" version))
|
(uri (pypi-uri "jdcal" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1ja6j2xq97bsl6rv09mhdx7n0xnrsfx0mj5xqza0mxghqmkm02pa"))))
|
"1j6g19jf21qprjsr8h0r7nsbss366gy8j9izq8cz53gbjvh74a27"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
(list #:phases
|
||||||
(replace 'check
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(replace 'check
|
||||||
(invoke "pytest"))))))
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest" "-vv")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-pytest))
|
||||||
(home-page "https://github.com/phn/jdcal")
|
(home-page "https://github.com/phn/jdcal")
|
||||||
|
|
Reference in a new issue