diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-02 13:29:54 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-30 10:30:47 +0100 |
commit | c7b37bcc90bd3e759a483c7ce95559124ccb7adc (patch) | |
tree | e543d47070111277df01986b9079c299c82e2790 /gnu/packages | |
parent | 33ec096ca55f2d3cc42bb4e948ca1621878ba264 (diff) | |
download | guix-c7b37bcc90bd3e759a483c7ce95559124ccb7adc.tar.gz guix-c7b37bcc90bd3e759a483c7ce95559124ccb7adc.zip |
gnu: python-stpipe: Improve indentation.
* gnu/packages/astronomy.scm (python-stpipe): Improve indentation.
Change-Id: I0889f1374aa0024c34eaf9a670c3d8beda40011a
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/astronomy.scm | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index b5eb1527d0..e3494c9b07 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -3523,30 +3523,36 @@ implemented in the @acronym{JWST, James Webb Space Telescope} and (package (name "python-stpipe") (version "0.6.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "stpipe" version)) - (sha256 - (base32 - "0iipbz5ydxxxk44q8ab0ylk7jpxjfhag4vgkhvpj67zs4s45sd8a")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Replace reference to external configobj. - (substitute* (find-files "." "\\.py$") - (("from astropy.extern import configobj") "import configobj") - (("from astropy.extern.configobj import validate") "import validate") - (("from astropy.extern.configobj.configobj import ") "from configobj import ") - (("from astropy.extern.configobj.validate import ") "from validate import ")))))) + (source + (origin + (method url-fetch) + (uri (pypi-uri "stpipe" version)) + (sha256 + (base32 "0iipbz5ydxxxk44q8ab0ylk7jpxjfhag4vgkhvpj67zs4s45sd8a")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Replace reference to external configobj. + (substitute* (find-files "." "\\.py$") + (("from astropy.extern import configobj") "import configobj") + (("from astropy.extern.configobj import validate") "import validate") + (("from astropy.extern.configobj.configobj import ") "from configobj import ") + (("from astropy.extern.configobj.validate import ") "from validate import ")))))) (arguments (list ;; See https://github.com/spacetelescope/stpipe/issues/114 #:test-flags #~(list "-k" "not test_roman_datamodel"))) (build-system pyproject-build-system) (propagated-inputs - (list python-asdf python-astropy python-crds python-stdatamodels)) - (native-inputs (list python-pytest python-pytest-doctestplus - python-pytest-openfiles python-setuptools-scm)) + (list python-asdf + python-astropy + 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") (synopsis "Framework for calibration pipeline software") (description |