gnu: python-stpipe: Improve indentation.
* gnu/packages/astronomy.scm (python-stpipe): Improve indentation. Change-Id: I0889f1374aa0024c34eaf9a670c3d8beda40011amaster
parent
33ec096ca5
commit
c7b37bcc90
|
@ -3523,30 +3523,36 @@ implemented in the @acronym{JWST, James Webb Space Telescope} and
|
||||||
(package
|
(package
|
||||||
(name "python-stpipe")
|
(name "python-stpipe")
|
||||||
(version "0.6.0")
|
(version "0.6.0")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (pypi-uri "stpipe" version))
|
(method url-fetch)
|
||||||
(sha256
|
(uri (pypi-uri "stpipe" version))
|
||||||
(base32
|
(sha256
|
||||||
"0iipbz5ydxxxk44q8ab0ylk7jpxjfhag4vgkhvpj67zs4s45sd8a"))
|
(base32 "0iipbz5ydxxxk44q8ab0ylk7jpxjfhag4vgkhvpj67zs4s45sd8a"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
;; Replace reference to external configobj.
|
;; Replace reference to external configobj.
|
||||||
(substitute* (find-files "." "\\.py$")
|
(substitute* (find-files "." "\\.py$")
|
||||||
(("from astropy.extern import configobj") "import configobj")
|
(("from astropy.extern import configobj") "import configobj")
|
||||||
(("from astropy.extern.configobj import validate") "import validate")
|
(("from astropy.extern.configobj import validate") "import validate")
|
||||||
(("from astropy.extern.configobj.configobj import ") "from configobj import ")
|
(("from astropy.extern.configobj.configobj import ") "from configobj import ")
|
||||||
(("from astropy.extern.configobj.validate import ") "from validate import "))))))
|
(("from astropy.extern.configobj.validate import ") "from validate import "))))))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
;; See https://github.com/spacetelescope/stpipe/issues/114
|
;; See https://github.com/spacetelescope/stpipe/issues/114
|
||||||
#:test-flags #~(list "-k" "not test_roman_datamodel")))
|
#:test-flags #~(list "-k" "not test_roman_datamodel")))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-asdf python-astropy python-crds python-stdatamodels))
|
(list python-asdf
|
||||||
(native-inputs (list python-pytest python-pytest-doctestplus
|
python-astropy
|
||||||
python-pytest-openfiles python-setuptools-scm))
|
python-crds
|
||||||
|
python-stdatamodels))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest
|
||||||
|
python-pytest-doctestplus
|
||||||
|
python-pytest-openfiles
|
||||||
|
python-setuptools-scm))
|
||||||
(home-page "https://github.com/spacetelescope/stpipe")
|
(home-page "https://github.com/spacetelescope/stpipe")
|
||||||
(synopsis "Framework for calibration pipeline software")
|
(synopsis "Framework for calibration pipeline software")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue