~ruther/guix-local

72c525035d989e3d00e80ad24c22f2855071932b — Sharlatan Hellseher 8 months ago 803fce1
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
1 files changed, 3 insertions(+), 8 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +3 -8
@@ 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")