mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-hdmedians: Adjust test backend.
* gnu/packages/statistics.scm (python-hdmedians) [arguments] <test-flags>: Provide "--pyargs" option to tests against compiled module. <phases>: Remove 'build-extensions. [native-inputs]: Remove python-nose; add python-pytest. Change-Id: Iac0096cceec48d560e3a3e7d93d0ad8915377014
This commit is contained in:
parent
ac4084c028
commit
e5536416c8
1 changed files with 8 additions and 9 deletions
|
@ -1104,15 +1104,14 @@ correlated samples from Markov Chain Monte Carlo (MCMC).")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(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-cython python-numpy python-setuptools
|
||||
python-wheel))
|
||||
(native-inputs (list python-nose))
|
||||
#:test-flags #~(list "--pyargs" "hdmedians")))
|
||||
(native-inputs
|
||||
(list python-pytest))
|
||||
(propagated-inputs
|
||||
(list python-cython
|
||||
python-numpy
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(home-page "http://github.com/daleroberts/hdmedians")
|
||||
(synopsis "High-dimensional medians")
|
||||
(description "Various definitions for a high-dimensional median exist and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue