gnu: python-stcal: Enable sanity check.
* gnu/packages/astronomy.scm (python-stcal) [arguments] <#:phases>: Revert 'sanity-check phase. Add 'silent-check-for-opencv phase. Change-Id: Ifd3ae01d261fe6dba8f5e75d4a5134510d826a57
This commit is contained in:
parent
5828d49359
commit
278bc81add
1 changed files with 6 additions and 3 deletions
|
@ -3140,9 +3140,12 @@ image processing functions: @code{xyxymatch}, @code{geomap}.")
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
;; XXX: Can't detect opencv-python version. The input opencv might
|
(add-before 'build 'silent-check-for-opencv
|
||||||
;; not set the version correctly.
|
(lambda _
|
||||||
(delete 'sanity-check)
|
;; XXX: Can't detect opencv-python version. The input opencv
|
||||||
|
;; might not set the version correctly.
|
||||||
|
(substitute* "pyproject.toml"
|
||||||
|
((".*opencv-python-headless.*") ""))))
|
||||||
(add-before 'check 'build-extensions
|
(add-before 'check 'build-extensions
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Cython extensions have to be built before running the tests.
|
;; Cython extensions have to be built before running the tests.
|
||||||
|
|
Reference in a new issue