mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-29 07:42:23 -05:00
gnu: python-stsci-imagestats: Enable tests
* gnu/packages/astronomy.scm (python-stsci-imagestats): Enable tests. [arguments]<#:phases>: Add 'build-extensions phase. [native-inputs]: Add python-pytest. Change-Id: I8cb35fd083453d577eb6ad94f097502566c1bcee
This commit is contained in:
parent
1f38e64779
commit
171dbdcb75
1 changed files with 8 additions and 2 deletions
|
@ -2690,9 +2690,15 @@ (define-public python-stsci-imagestats
|
|||
"01jqqrhcna0ghin48bbcza57d12371ny4l4pqws89irwdhd8xr0r"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f)) ;No tests
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(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 python-numpy))
|
||||
(native-inputs (list python-setuptools-scm))
|
||||
(native-inputs (list python-pytest python-setuptools-scm))
|
||||
(home-page "https://stsciimagestats.readthedocs.io/en/latest/")
|
||||
(synopsis "Compute sigma-clipped statistics on data arrays")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue