summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-06-22 02:01:59 -0300
committerVinicius Monego <monego@posteo.net>2025-06-29 00:04:44 -0300
commit1573aa3ae271183259b021e8e998895a2a20a68c (patch)
tree6875b4e5fbb72d08743debb2411ea6321e87269a
parent5966e0ef226f6596009eb77ad5488fdaa8a6ebb0 (diff)
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
-rw-r--r--gnu/packages/python-xyz.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a1a5073f70..fe42471d1a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20536,7 +20536,7 @@ document.")
(uri (pypi-uri "symengine" version))
(sha256
(base32 "1w7hwavbxgikljy9m3p89k3x2zdhv81h9bh330aw4wb3qm74p7jf"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
#:phases
@@ -20546,12 +20546,14 @@ document.")
(if tests?
;; Run tests against installed package.
(with-directory-excursion "/tmp"
- (invoke "nosetests" "-v" "symengine.tests"))
+ (invoke "nose2" "-v" "symengine.tests"))
(format #t "test suite not run~%")))))))
- (native-inputs
- (list cmake-minimal python-cython-3 python-nose))
- (inputs
- (list symengine))
+ (native-inputs (list cmake-minimal
+ python-cython-3
+ python-nose2
+ python-setuptools
+ python-wheel))
+ (inputs (list symengine))
(home-page "https://github.com/symengine/symengine.py")
(synopsis "Python library providing wrappers to SymEngine")
(description