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:
parent
bf6bab4e95
commit
eef6d037fa
@ -2578,32 +2578,37 @@ 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
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (pypi-uri "stcal" version))
|
(method url-fetch)
|
||||||
(sha256
|
(uri (pypi-uri "stcal" version))
|
||||||
(base32
|
(sha256
|
||||||
"031ldihdmsdrwz4wl49bfk2bxmzbp1i3kidrw46xz936765zmnc0"))))
|
(base32 "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
|
||||||
(delete 'sanity-check)
|
;; XXX: Can't detect opencv-python version. The input opencv might
|
||||||
(add-before 'check 'build-extensions
|
;; not set the version correctly.
|
||||||
(lambda _
|
(delete 'sanity-check)
|
||||||
;; Cython extensions have to be built before
|
(add-before 'check 'build-extensions
|
||||||
;; running the tests.
|
(lambda _
|
||||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
;; Cython extensions have to be built before running the tests.
|
||||||
(propagated-inputs (list opencv ;Provides OpenCV-Python
|
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
||||||
python-astropy python-numpy python-scipy))
|
(propagated-inputs
|
||||||
(native-inputs (list python-cython
|
(list opencv ;Provides OpenCV-Python
|
||||||
python-psutil
|
python-astropy
|
||||||
python-pytest
|
python-numpy
|
||||||
python-pytest-cov
|
python-scipy))
|
||||||
python-pytest-doctestplus
|
(native-inputs
|
||||||
python-pytest-openfiles
|
(list python-cython
|
||||||
python-setuptools-scm))
|
python-psutil
|
||||||
|
python-pytest
|
||||||
|
python-pytest-cov
|
||||||
|
python-pytest-doctestplus
|
||||||
|
python-pytest-openfiles
|
||||||
|
python-setuptools-scm))
|
||||||
(home-page "https://github.com/spacetelescope/stcal")
|
(home-page "https://github.com/spacetelescope/stcal")
|
||||||
(synopsis "STScI tools and algorithms used in calibration pipelines")
|
(synopsis "STScI tools and algorithms used in calibration pipelines")
|
||||||
(description "STScI tools and algorithms used in calibration pipelines.")
|
(description "STScI tools and algorithms used in calibration pipelines.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user