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>
parent
bf6bab4e95
commit
eef6d037fa
|
@ -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.")
|
||||
|
|
Reference in New Issue