Archived
1
0
Fork 0

gnu: python-pyvo: Update to 1.4.1.

* gnu/packages/astronomy.scm (python-pyvo): Update to 1.4.1.
[build-system]: Switch to pyproject-build-system.
[arguments]: Do not override the 'check phase.
[native-inputs]: Add python-setuptools-scm.

Signed-off-by: Vinicius Monego <monego@posteo.net>
This commit is contained in:
Sharlatan Hellseher 2023-05-24 22:51:43 +01:00 committed by Vinicius Monego
parent e811fa139f
commit ee9dfc1dda
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -1723,27 +1723,16 @@ interest, and which require portability between platforms or ease of scripting."
(define-public python-pyvo (define-public python-pyvo
(package (package
(name "python-pyvo") (name "python-pyvo")
(version "1.2.1") (version "1.4.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pyvo" version)) (uri (pypi-uri "pyvo" version))
(sha256 (sha256
(base32 "1ri5yp6903386lkn79mdcmlax7zsfrrrjbcvb91wxydcc9yasc1n")))) (base32 "17acv1yhz1jrsx9f35nr1vg276ibaivh4i243qkmp6abzvfyg907"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "pytest" "--pyargs" "pyvo" "-k"
(string-append ; these tests use the network
"not test_access_with_string"
" and not test_access_with_list"
" and not test_access_with_expansion"))))))))
(native-inputs (native-inputs
(list python-pytest-astropy python-requests-mock)) (list python-pytest-astropy python-requests-mock python-setuptools-scm))
(propagated-inputs (propagated-inputs
(list python-astropy python-mimeparse python-pillow python-requests)) (list python-astropy python-mimeparse python-pillow python-requests))
(home-page "https://github.com/astropy/pyvo") (home-page "https://github.com/astropy/pyvo")