gnu: python-pysynphot: Improve package style.

* gnu/packages/astronomy.scm (python-pysynphot): Fix indention of the
package.

Change-Id: I0cb6d29a0c5184ff4701e227ec98513c8813af2b
This commit is contained in:
Sharlatan Hellseher 2024-01-27 16:37:27 +00:00
parent a3fbf30fe3
commit 4f97a342c1
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3914,8 +3914,8 @@ (define-public python-pysynphot
;; upstream commit for now. ;; upstream commit for now.
(let ((commit "54e9e2a624910c4d177ca70f8e9fb8110c8fae5b") (let ((commit "54e9e2a624910c4d177ca70f8e9fb8110c8fae5b")
(revision "0")) (revision "0"))
(package (package
(name "python-pysynphot") (name "python-pysynphot")
(version (git-version "2.0.0" revision commit)) (version (git-version "2.0.0" revision commit))
(source (source
(origin (origin
@ -3926,30 +3926,37 @@ (define-public python-pysynphot
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "09sivpfqilk86zp8k5wmrs4g48m4kypn34jcy95y5h4ygbn5zbzy")))) (base32 "09sivpfqilk86zp8k5wmrs4g48m4kypn34jcy95y5h4ygbn5zbzy"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list #:phases #~(modify-phases %standard-phases (list
(add-before 'build 'set-version #:phases
(lambda _ #~(modify-phases %standard-phases
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "2.0.0"))) (add-before 'build 'set-version
(add-before 'check 'set-env-data-path (lambda _
(lambda _ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "2.0.0")))
(setenv "PYSYN_CDBS" (add-before 'check 'set-env-data-path
(string-append #$output "/crds"))))))) (lambda _
(native-inputs (list python-pytest python-pytest-remotedata (setenv "PYSYN_CDBS" (string-append #$output "/crds")))))))
python-setuptools-scm)) (native-inputs
(propagated-inputs (list python-astropy python-beautifulsoup4 python-numpy (list python-pytest
python-pytest-astropy-header python-six)) python-pytest-remotedata
(home-page "https://github.com/spacetelescope/pysynphot") python-setuptools-scm))
(synopsis "Python Synthetic Photometry Utilities") (propagated-inputs
(description (list python-astropy
"Astrolib PySynphot (hereafter referred to only as pysynphot) is an python-beautifulsoup4
python-numpy
python-pytest-astropy-header
python-six))
(home-page "https://github.com/spacetelescope/pysynphot")
(synopsis "Python Synthetic Photometry Utilities")
(description
"Astrolib PySynphot (hereafter referred to only as pysynphot) is an
object-oriented replacement for STSDAS SYNPHOT synthetic photometry package in object-oriented replacement for STSDAS SYNPHOT synthetic photometry package in
IRAF. @code{pysynphot} simulates photometric data and spectra as they are IRAF. @code{pysynphot} simulates photometric data and spectra as they are
observed with the Hubble Space Telescope (HST). Passbands for standard observed with the Hubble Space Telescope (HST). Passbands for standard
photometric systems are available, and users can incorporate their own filters, photometric systems are available, and users can incorporate their own filters,
spectra, and data.") spectra, and data.")
(license license:bsd-3)))) (license license:bsd-3))))
(define-public python-sep (define-public python-sep
(package (package