gnu: python-sgp4: Fix tests.

* gnu/packages/astronomy.scm (python-sgp4):
  [arguments] <test-backend>: Use 'custom.
  [native-inputs]: Remove python-wheel, and python-setuptools-next, add
  python-setuptools.

Change-Id: If113cf8bafffdae385aa54f4497665918f681270
This commit is contained in:
Sharlatan Hellseher 2025-07-29 15:05:44 +01:00
parent 803fce145c
commit 72c525035d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -7097,15 +7097,10 @@ library with bug fixtures.")
(base32 "0x06mxdmk2rsbp7ymjvvbj8pwkf4y2w6g8p0znw9zmi5rinxr7p1"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "sgp4.tests")))))))
(list #:test-backend #~'custom
#:test-flags #~(list "-m" "sgp4.tests")))
(native-inputs
(list python-setuptools-next))
(list python-setuptools))
(propagated-inputs
(list python-numpy))
(home-page "https://github.com/brandon-rhodes/python-sgp4")