~ruther/guix-local

76106a01037e1e48294e3c18711ef86e800ade85 — Sharlatan Hellseher 1 year, 4 months ago f6143f3
gnu: Deprecate python-webbpsf.

python-webbpsf was moved to python-stpsf, see
<https://github.com/spacetelescope/webbpsf/pull/951>.

* gnu/packages/astronomy.scm (python-webbpsf): Deprecate variable.

Change-Id: I2507ccca246bd9f262a1a87a75532f7b6a56c5d3
1 files changed, 2 insertions(+), 62 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +2 -62
@@ 8137,68 8137,8 @@ between image and reference catalogs.  Currently only aligning images with
    (license license:expat)))

(define-public python-webbpsf
  (package
    (name "python-webbpsf")
    (version "1.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "webbpsf" version))
       (sha256
        (base32 "0aad817lh2llld9wmb4mvdnncz916niw2apnhip8gc78fi1imfri"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-flags
      #~(list "--numprocesses" (number->string (parallel-job-count))
              "-k"
              ;; Tests requiring network access.
              (string-join
               (list "not test_delta_wfe_around_time"
                     "test_get_webbpsf_data_path_invalid"
                     "test_monthly_trending_plot_auto_opdtable"
                     "test_monthly_trending_plot_opdtable_param")
               " and not "))
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'check 'set-env
            (lambda _
              (setenv "HOME" "/tmp")
              (setenv "WEBBPSF_PATH"
                      (string-append #$(this-package-input "webbpsf-data")
                                     "/share/webbpsf-data")))))))
    (propagated-inputs
     (list python-astropy
           python-astroquery
           python-matplotlib
           python-numpy
           python-photutils
           python-poppy
           python-pysiaf
           python-scipy
           python-synphot))
    (native-inputs
     (list nss-certs-for-test
           python-pytest
           python-pytest-astropy
           python-pytest-xdist
           python-setuptools-scm))
    (inputs
     (list
      ;; Required for installation, see
      ;; <https://webbpsf.readthedocs.io/en/stable/installation.html>, no
      ;; licence provided. "To run WebbPSF, you must download these files and
      ;; tell WebbPSF where to find them using the WEBBPSF_PATH environment
      ;; variable."
      webbpsf-data))
    (home-page "https://webbpsf.readthedocs.io/")
    (synopsis "James Webb Space Telescope PSF simulation tool")
    (description
     "WebbPSF produces simulated PSFs for the James Webb Space Telescope,
NASA's flagship infrared space telescope.  WebbPSF can simulate images for any
of the four science instruments plus the fine guidance sensor, including both
direct imaging, coronagraphic, and spectroscopic modes.")
    (license license:bsd-3)))
  ;; See <https://github.com/spacetelescope/webbpsf/pull/951>
  (deprecated-package "python-webbpsf" python-stpsf))

(define-public python-wiimatch
  (package