gnu: python-drms: Simplify package.

* gnu/packages/astronomy.scm (python-drms): Simplify package.
[build-system]: Swap to pyproject-build-system.
[arguments]: Drop them.

Change-Id: I9d8e82e63b850b220489454ba984f22f4cad3ad3
Signed-off-by: Eric Bavier <bavier@posteo.net>
This commit is contained in:
Sharlatan Hellseher 2023-11-17 12:16:07 +00:00 committed by Eric Bavier
parent f54a32ea5f
commit dbdc888316
No known key found for this signature in database
GPG key ID: BC45CA67E2F8D007

View file

@ -1924,18 +1924,7 @@ (define-public python-drms
(uri (pypi-uri "drms" version))
(sha256
(base32 "0mkrmr55fgca441z7hvsyri6x9cjsh0sfas3hrj0k1k10k8vszbw"))))
(build-system python-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests?
#:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(setenv "JSOC_EMAIL" "jsoc@sunpy.org")
(invoke "python" "-m" "pytest" "-vv")))))))
(build-system pyproject-build-system)
(native-inputs
(list python-astropy
python-pytest-astropy