~ruther/guix-local

76c6cbe909ba6894961d13dd85f5c5ebcafe9912 — Sharlatan Hellseher 4 months ago f7d7e07
gnu: python-sbpy: Update to 0.6.0.

* gnu/packages/astronomy.scm (python-sbpy): Update to 0.6.0. Re arrange
fields order.
[arguments] <phases>: Remove 'set-home-env; add 'pre-check.
[native-inputs]: Add python-setuptools.

Change-Id: I806c87a2e4d4c3bf851a25372ec0adafd0897fe1
1 files changed, 18 insertions(+), 17 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +18 -17
@@ 8465,43 8465,44 @@ to produce realistic WFI images.")
(define-public python-sbpy
  (package
    (name "python-sbpy")
    (version "0.5.0")
    (version "0.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "sbpy" version))
       (sha256
        (base32 "1xqi29rrh7v05zmvyl8gffrkrw5rlcxig1w6xw1v8f7ikydb5plv"))))
        (base32 "1dvc9ihzziyw69a0h1f3wr7jzzp4v8zm9x71fasw4sx2i0vab21v"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      ;; tests: 591 passed, 108 skipped, 309 warnings
      #:test-flags
      #~(list "--numprocesses" (number->string (parallel-job-count)))
      #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))))
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'check 'set-home-env
          (add-before 'check 'pre-check
            (lambda _
              ;; Tests require HOME to be set.
              ;;  No such file or directory: '/homeless-shelter/.astropy'
              (setenv "HOME" "/tmp"))))))
    (propagated-inputs
     (list python-ads
           python-astropy
           python-astroquery
           python-ginga
           python-numpy
           python-photutils
           ;python-pyoorb ;not packed yet in Guix
           python-pyyaml
           python-scipy
           python-synphot))
    (native-inputs
     (list python-pytest
           python-pytest-astropy
           python-pytest-doctestplus
           python-pytest-remotedata
           python-pytest-xdist
           python-setuptools
           python-setuptools-scm))
    (propagated-inputs
     (list python-astropy
           python-numpy
           ;; [optional]
           python-ads
           python-astroquery
           python-ginga
           python-photutils
           ;; python-pyoorb     ;not packed yet in Guix
           python-pyyaml
           python-scipy
           python-synphot))
    (home-page "https://sbpy.org")
    (synopsis "Python module for small-body planetary astronomy")
    (description