GNU bug report logs - #66412
[PATCH 00/20] gnu: Astronomy 2023/09 updates.

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Sun, 8 Oct 2023 19:48:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


Message #47 received at 66412 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 66412 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 14/20] gnu: python-stcal: Update package style.
Date: Mon,  9 Oct 2023 00:40:16 +0100
* gnu/packages/astronomy.scm (python-stcal): Update indentation to
improve readability of the package.
---
 gnu/packages/astronomy.scm | 53 +++++++++++++++++++++-----------------
 1 file changed, 29 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 2a32b4e182..ee15394ed7 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2545,32 +2545,37 @@ (define-public python-stcal
   (package
     (name "python-stcal")
     (version "1.4.4")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "stcal" version))
-              (sha256
-               (base32
-                "031ldihdmsdrwz4wl49bfk2bxmzbp1i3kidrw46xz936765zmnc0"))))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "stcal" version))
+       (sha256
+        (base32 "031ldihdmsdrwz4wl49bfk2bxmzbp1i3kidrw46xz936765zmnc0"))))
     (build-system pyproject-build-system)
     (arguments
-     (list #:phases #~(modify-phases %standard-phases
-                        ;; XXX: Can't detect opencv-python version. The input
-                        ;; opencv might not set the version correctly.
-                        (delete 'sanity-check)
-                        (add-before 'check 'build-extensions
-                          (lambda _
-                            ;; Cython extensions have to be built before
-                            ;; running the tests.
-                            (invoke "python" "setup.py" "build_ext" "--inplace"))))))
-    (propagated-inputs (list opencv ;Provides OpenCV-Python
-                             python-astropy python-numpy python-scipy))
-    (native-inputs (list python-cython
-                         python-psutil
-                         python-pytest
-                         python-pytest-cov
-                         python-pytest-doctestplus
-                         python-pytest-openfiles
-                         python-setuptools-scm))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; XXX: Can't detect opencv-python version. The input opencv might
+          ;; not set the version correctly.
+          (delete 'sanity-check)
+          (add-before 'check 'build-extensions
+            (lambda _
+              ;; Cython extensions have to be built before running the tests.
+              (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+    (propagated-inputs
+     (list opencv ;Provides OpenCV-Python
+           python-astropy
+           python-numpy
+           python-scipy))
+    (native-inputs
+     (list python-cython
+           python-psutil
+           python-pytest
+           python-pytest-cov
+           python-pytest-doctestplus
+           python-pytest-openfiles
+           python-setuptools-scm))
     (home-page "https://github.com/spacetelescope/stcal")
     (synopsis "STScI tools and algorithms used in calibration pipelines")
     (description "STScI tools and algorithms used in calibration pipelines.")
-- 
2.41.0





This bug report was last modified 1 year and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.