me
/
guix
Archived
1
0
Fork 0

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>
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
1 changed files with 29 additions and 24 deletions

View File

@ -2578,32 +2578,37 @@ image processing functions: @code{xyxymatch}, @code{geomap}.")
(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.")