gnu: python-stcal: Update package style.

* gnu/packages/astronomy.scm (python-stcal): Update indentation to
improve readability of the package.

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

View File

@ -2578,26 +2578,31 @@ image processing functions: @code{xyxymatch}, @code{geomap}.")
(package (package
(name "python-stcal") (name "python-stcal")
(version "1.4.4") (version "1.4.4")
(source (origin (source
(origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "stcal" version)) (uri (pypi-uri "stcal" version))
(sha256 (sha256
(base32 (base32 "031ldihdmsdrwz4wl49bfk2bxmzbp1i3kidrw46xz936765zmnc0"))))
"031ldihdmsdrwz4wl49bfk2bxmzbp1i3kidrw46xz936765zmnc0"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list #:phases #~(modify-phases %standard-phases (list
;; XXX: Can't detect opencv-python version. The input #:phases
;; opencv might not set the version correctly. #~(modify-phases %standard-phases
;; XXX: Can't detect opencv-python version. The input opencv might
;; not set the version correctly.
(delete 'sanity-check) (delete 'sanity-check)
(add-before 'check 'build-extensions (add-before 'check 'build-extensions
(lambda _ (lambda _
;; Cython extensions have to be built before ;; Cython extensions have to be built before running the tests.
;; running the tests.
(invoke "python" "setup.py" "build_ext" "--inplace")))))) (invoke "python" "setup.py" "build_ext" "--inplace"))))))
(propagated-inputs (list opencv ;Provides OpenCV-Python (propagated-inputs
python-astropy python-numpy python-scipy)) (list opencv ;Provides OpenCV-Python
(native-inputs (list python-cython python-astropy
python-numpy
python-scipy))
(native-inputs
(list python-cython
python-psutil python-psutil
python-pytest python-pytest
python-pytest-cov python-pytest-cov