~ruther/guix-local

f54794bdf6d812b46690d195636ccbe7a46b2439 — Sharlatan Hellseher 6 months ago f563f2f
gnu: python-gatspy: Disable tests.

* gnu/packages/astronomy.scm (python-gatspy)[arguments] <tests?>: They
depend on Nose test runner.
<test-flags>: Drop them.
<phases>: Remove 'set-HOME.
[native-inputs]: Remove python-pytest and python-wheel.

Change-Id: I9c3d17a1ede19ccaa0b2107860cfd6f48c183e9a
1 files changed, 4 insertions(+), 14 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +4 -14
@@ 4233,21 4233,11 @@ CFITSIO library.  Among other things, it can
       (sha256
        (base32 "1gw2z6x8nikvnw2gkdl70gr81cwczd1pd7v8ry2kjn6k4kssrfav"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-flags
      ;; These tests require internet access
      #~(list "-k" "not test_download_data.py")
      #:phases
      #~(modify-phases %standard-phases
          ;; Tests need this
          (add-before 'check 'set-HOME
            (lambda _ (setenv "HOME" "/tmp"))))))
    ;;TODO: Tests depends on Nose, report upstream.
    (arguments (list #:tests? #f))
    (native-inputs
     (list python-pytest
           python-setuptools
           python-setuptools-scm
           python-wheel))
     (list python-setuptools
           python-setuptools-scm))
    (propagated-inputs
     (list python-astroml
           python-numpy