~ruther/guix-local

ed5370296c1b242d614f5e27600c0c45286ab59e — Sharlatan Hellseher 1 year, 2 months ago e99db19
gnu: python-aiapy: Fix build.

* gnu/packages/astronomy.scm (python-aiapy):
[arguments] <phases>: Delete 'sanity-check.
[native-inputs]: Remove python-setuptools and python-wheel; add
nss-certs-for-test and python-setuptools-next.

Change-Id: I9e3239158fcd5bce616cfc299438e45a0ff13178
1 files changed, 6 insertions(+), 4 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +6 -4
@@ 1792,20 1792,22 @@ model-fitting photometry or morphological analyses.")
      #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))))
      #:phases
      #~(modify-phases %standard-phases
          ;; It fails to check SunPy's optional inputs versions.
          (delete 'sanity-check)
          (add-before 'check 'set-home
            (lambda _
              ;; E PermissionError: [Errno 13] Permission denied:
              ;; '/homeless-shelter'
              (setenv "HOME" "/tmp"))))))
    (native-inputs
     (list python-pytest
     (list nss-certs-for-test
           python-pytest
           python-pytest-astropy
           python-pytest-cov
           python-pytest-doctestplus
           python-pytest-xdist
           python-setuptools
           python-setuptools-scm-next
           python-wheel))
           python-setuptools-next
           python-setuptools-scm-next))
    (propagated-inputs
     (list python-sunpy))
    (home-page "https://aia.lmsal.com/")