mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-symengine: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-symengine)[build-system]: Use pyproject-build-system. [arguments]<#:phases>: In the custom 'check' phase, run tests with nose2. [native-inputs]: Replace python-nose by python-nose2. Add python-setuptools, python-wheel. Change-Id: I73adbc3d6439b865001d65a6ea1d137815ce7192
This commit is contained in:
parent
5966e0ef22
commit
1573aa3ae2
1 changed files with 8 additions and 6 deletions
|
@ -20536,7 +20536,7 @@ document.")
|
||||||
(uri (pypi-uri "symengine" version))
|
(uri (pypi-uri "symengine" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1w7hwavbxgikljy9m3p89k3x2zdhv81h9bh330aw4wb3qm74p7jf"))))
|
(base32 "1w7hwavbxgikljy9m3p89k3x2zdhv81h9bh330aw4wb3qm74p7jf"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -20546,12 +20546,14 @@ document.")
|
||||||
(if tests?
|
(if tests?
|
||||||
;; Run tests against installed package.
|
;; Run tests against installed package.
|
||||||
(with-directory-excursion "/tmp"
|
(with-directory-excursion "/tmp"
|
||||||
(invoke "nosetests" "-v" "symengine.tests"))
|
(invoke "nose2" "-v" "symengine.tests"))
|
||||||
(format #t "test suite not run~%")))))))
|
(format #t "test suite not run~%")))))))
|
||||||
(native-inputs
|
(native-inputs (list cmake-minimal
|
||||||
(list cmake-minimal python-cython-3 python-nose))
|
python-cython-3
|
||||||
(inputs
|
python-nose2
|
||||||
(list symengine))
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
|
(inputs (list symengine))
|
||||||
(home-page "https://github.com/symengine/symengine.py")
|
(home-page "https://github.com/symengine/symengine.py")
|
||||||
(synopsis "Python library providing wrappers to SymEngine")
|
(synopsis "Python library providing wrappers to SymEngine")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue