guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72219] [PATCH 20/34] gnu: python-stpipe: Improve indentation.


From: Sharlatan Hellseher
Subject: [bug#72219] [PATCH 20/34] gnu: python-stpipe: Improve indentation.
Date: Sat, 20 Jul 2024 23:40:43 +0100

* gnu/packages/astronomy.scm (python-stpipe): Improve indentation.

Change-Id: I0889f1374aa0024c34eaf9a670c3d8beda40011a
---
 gnu/packages/astronomy.scm | 42 ++++++++++++++++++++++----------------
 1 file 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 @@ (define-public python-stpipe
   (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
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]