mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: pomegranate: Disable tests.
* gnu/packages/python-xyz.scm (pomegranate): Disable tests. [build-system]: Switch to pyproject. [arguments]{tests?}: Disable them. {phases}: Remove 'check phase replacement. [native-inputs]: Add python-setuptools, python-wheel. Remove python-nose. Change-Id: Id3ded96a59703eae4c12ccc96aedce756a3fa07d Signed-off-by: Steve George <steve@futurile.net>
This commit is contained in:
parent
fd03c6feed
commit
b708d41795
1 changed files with 7 additions and 9 deletions
|
@ -5936,15 +5936,12 @@ a certain expected condition.")
|
||||||
;; Delete generated Cython C files.
|
;; Delete generated Cython C files.
|
||||||
(snippet
|
(snippet
|
||||||
'(for-each delete-file (find-files "." "\\.c$")))))
|
'(for-each delete-file (find-files "." "\\.c$")))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
;; XXX: Update to python@3.11 broke some python-nose functionality.
|
||||||
'(modify-phases %standard-phases
|
;; Tests are broken but the package itself is most likely fine.
|
||||||
(replace 'check
|
#:tests? #f))
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(invoke "python" "setup.py" "test")))))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-joblib
|
(list python-joblib
|
||||||
python-networkx
|
python-networkx
|
||||||
|
@ -5953,8 +5950,9 @@ a certain expected condition.")
|
||||||
python-scipy))
|
python-scipy))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-cython
|
(list python-cython
|
||||||
python-nose
|
python-pandas
|
||||||
python-pandas))
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
(home-page "https://pypi.python.org/pypi/pomegranate/")
|
(home-page "https://pypi.python.org/pypi/pomegranate/")
|
||||||
(synopsis "Graphical models library for Python")
|
(synopsis "Graphical models library for Python")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue