gnu: python-synphot: Adjust package style.

* gnu/packages/astronomy.scm (python-synphot): Adjust package style.
[propagated-inputs]: Add annotation for optional, not packed yet
packages. Columnise inputs.
[native-inputs]: Columnise inputs.

Change-Id: I789fc143191c68d5acc248bf6c67e52a93e2744f
This commit is contained in:
Sharlatan Hellseher 2023-12-18 23:31:37 +00:00
parent a066939a5a
commit 816e342bed
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3743,12 +3743,12 @@ (define-public python-synphot
(package
(name "python-synphot")
(version "1.3.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "synphot" version))
(sha256
(base32
"0a54bfrx9aar66040324sw9qdjz5lg67y28sjsxhyv9h3gppc7c0"))))
(source
(origin
(method url-fetch)
(uri (pypi-uri "synphot" version))
(sha256
(base32 "0a54bfrx9aar66040324sw9qdjz5lg67y28sjsxhyv9h3gppc7c0"))))
(build-system pyproject-build-system)
(arguments
(list
@ -3767,9 +3767,16 @@ (define-public python-synphot
(lambda (port)
(format port "[pytest]
python_files = test_*.py"))))))))
(propagated-inputs (list python-astropy python-numpy python-scipy))
(native-inputs (list python-pytest python-pytest-astropy
python-setuptools-scm))
(propagated-inputs
(list ;; python-dust-extinction ; XXX: Not packed yet, optional.
;; python-specutils ; XXX: Not packed yet, optional.
python-astropy
python-numpy
python-scipy))
(native-inputs
(list python-pytest
python-pytest-astropy
python-setuptools-scm))
(home-page "https://github.com/spacetelescope/synphot_refactor")
(synopsis "Synthetic photometry using Astropy")
(description