Archived
1
0
Fork 0

gnu: python-stdatamodels: Update packages style.

* gnu/packages/astronomy.scm (python-stdatamodels): Update indentation
to improve readability of the package.
[description]: Add TexInfo styling bits.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Sharlatan Hellseher 2023-10-09 00:40:18 +01:00 committed by Christopher Baines
parent 514aec4356
commit 46bdcee9c8
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -2618,40 +2618,43 @@ image processing functions: @code{xyxymatch}, @code{geomap}.")
(package (package
(name "python-stdatamodels") (name "python-stdatamodels")
(version "1.8.3") (version "1.8.3")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "stdatamodels" version)) (method url-fetch)
(sha256 (uri (pypi-uri "stdatamodels" version))
(base32 (sha256
"0265xa9nrp6qp1z7v9kmnd3c8jc0dad2vzin657clk3rrsj2qll5")))) (base32 "0265xa9nrp6qp1z7v9kmnd3c8jc0dad2vzin657clk3rrsj2qll5"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
;; Disable tests requiring access to CRDS servers to download ~500MiB ;; Disable tests requiring access to CRDS servers to download ~500MiB of
;; of data. ;; data.
#:test-flags #~(list "-k" "not test_crds_selectors_vs_datamodel") #:test-flags #~(list "-k" "not test_crds_selectors_vs_datamodel")
#:phases #~(modify-phases %standard-phases #:phases
(add-before 'check 'set-home #~(modify-phases %standard-phases
(lambda _ (add-before 'check 'set-home
(setenv "HOME" "/tmp")))))) (lambda _
(propagated-inputs (list python-asdf (setenv "HOME" "/tmp"))))))
python-asdf-astropy (propagated-inputs
python-astropy (list python-asdf
python-numpy python-asdf-astropy
python-psutil)) python-astropy
(native-inputs (list python-crds python-numpy
python-pytest python-psutil))
python-pytest-doctestplus (native-inputs
python-scipy (list python-crds
python-semantic-version python-pytest
python-setuptools-scm)) python-pytest-doctestplus
python-scipy
python-semantic-version
python-setuptools-scm))
(home-page "https://github.com/spacetelescope/stdatamodels") (home-page "https://github.com/spacetelescope/stdatamodels")
(synopsis (synopsis
"Core support for DataModel classes used in calibration pipelines") "Core support for DataModel classes used in calibration pipelines")
(description (description
"Provides DataModel, which is the base class for data models implemented in "Provides @code{DataModel}, which is the base class for data models
the @acronym{JWST, James Webb Space Telescope} and @acronym{Roman, Nancy Grace implemented in the @acronym{JWST, James Webb Space Telescope} and
Roman Space Telescope} calibration software.") @acronym{Roman, Nancy Grace Roman Space Telescope} calibration software.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public python-stpipe (define-public python-stpipe