mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: python-jsonschema: Update to 3.2.0.
* gnu/packages/python-xyz.scm (python-jsonschema): Update to 3.2.0. [propagated-inputs]: Add python-importlib-metadata. [arguments]: Use add-installed-pythonpath to make a test pass. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
2c15cb5898
commit
a356d1b68d
1 changed files with 5 additions and 3 deletions
|
@ -2271,19 +2271,20 @@ (define-public python-jsondiff
|
||||||
(define-public python-jsonschema
|
(define-public python-jsonschema
|
||||||
(package
|
(package
|
||||||
(name "python-jsonschema")
|
(name "python-jsonschema")
|
||||||
(version "3.0.1")
|
(version "3.2.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "jsonschema" version))
|
(uri (pypi-uri "jsonschema" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"03g20i1xfg4qdlk4475pl4pp7y0h37g1fbgs5qhy678q9xb822hc"))))
|
"0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68"))))
|
||||||
(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 _
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(add-installed-pythonpath inputs outputs)
|
||||||
(setenv "PYTHONPATH" (string-append ".:" (getenv "PYTHONPATH")))
|
(setenv "PYTHONPATH" (string-append ".:" (getenv "PYTHONPATH")))
|
||||||
(invoke "trial" "jsonschema"))))))
|
(invoke "trial" "jsonschema"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
@ -2291,6 +2292,7 @@ (define-public python-jsonschema
|
||||||
("python-twisted" ,python-twisted)))
|
("python-twisted" ,python-twisted)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-attrs" ,python-attrs)
|
`(("python-attrs" ,python-attrs)
|
||||||
|
("python-importlib-metadata" ,python-importlib-metadata) ;; python < 3.8
|
||||||
("python-pyrsistent" ,python-pyrsistent)
|
("python-pyrsistent" ,python-pyrsistent)
|
||||||
("python-six" ,python-six)))
|
("python-six" ,python-six)))
|
||||||
(home-page "https://github.com/Julian/jsonschema")
|
(home-page "https://github.com/Julian/jsonschema")
|
||||||
|
|
Loading…
Reference in a new issue