gnu: python-stcal: Update to 1.4.4.
* gnu/packages/astronomy.scm (python-stcal): Update to 1.4.4. [arguments]{phases}: Add 'build-extensions phase. [native-inputs]: Add python-cython. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
43b0e12004
commit
bf6bab4e95
@ -2577,22 +2577,28 @@ image processing functions: @code{xyxymatch}, @code{geomap}.")
|
|||||||
(define-public python-stcal
|
(define-public python-stcal
|
||||||
(package
|
(package
|
||||||
(name "python-stcal")
|
(name "python-stcal")
|
||||||
(version "1.4.2")
|
(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
|
||||||
"163vyqcd9qv2knf8jik8y449z7ljl2lvbd7im82bq61prgi3z2hj"))))
|
"031ldihdmsdrwz4wl49bfk2bxmzbp1i3kidrw46xz936765zmnc0"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases #~(modify-phases %standard-phases
|
(list #:phases #~(modify-phases %standard-phases
|
||||||
;; XXX: Can't detect opencv-python version. The input
|
;; XXX: Can't detect opencv-python version. The input
|
||||||
;; opencv might not set the version correctly.
|
;; opencv might not set the version correctly.
|
||||||
(delete 'sanity-check))))
|
(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
|
(propagated-inputs (list opencv ;Provides OpenCV-Python
|
||||||
python-astropy python-numpy python-scipy))
|
python-astropy python-numpy python-scipy))
|
||||||
(native-inputs (list python-psutil
|
(native-inputs (list python-cython
|
||||||
|
python-psutil
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-cov
|
python-pytest-cov
|
||||||
python-pytest-doctestplus
|
python-pytest-doctestplus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user