gnu: python-gwcs: Update to 0.18.2.

* gnu/packages/astronomy.scm (python-gwcs): Fix build and update to 0.18.2.
[build-system]: Use pyproject-build-system.
[arguments]: Remove redundant.
[native-inputs]: Use python-jsonschema-next over python-jsonschema to fix
tests failing to run due to python-asdf issue with low version of jsonschema,
see https://github.com/asdf-format/asdf/pull/1203.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Sharlatan Hellseher 2022-11-07 23:06:56 +00:00 committed by Christopher Baines
parent f77ff092d3
commit 4d05c5fa57
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -2264,24 +2264,16 @@ (define python-asdf-wcs-schemas
(define-public python-gwcs
(package
(name "python-gwcs")
(version "0.18.0")
(version "0.18.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "gwcs" version))
(sha256
(base32 "194j49m8xjjzv9pp8cnj06igz8sdxb0nphyybcc7mhigw0f0kr30"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "python" "-m" "pytest")))))))
(base32 "0v9qcq6zl74d6s882s6xmas144jfalvll6va8rvrxmvpx4vqjzhg"))))
(build-system pyproject-build-system)
(native-inputs
(list python-jsonschema
(list python-jsonschema-next
python-jmespath
python-pytest
python-pytest-doctestplus