mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-sympy: Update to 1.13.3.
* gnu/packages/python-xyz.scm (python-sympy): Update to 1.13.3. [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Adjust 'check phase. [native-inputs]: New field to add python-hypothesis, python-pytest, python-setuptools and python-wheel. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
c8ceb0cb83
commit
8e79dff65b
1 changed files with 14 additions and 10 deletions
|
@ -15034,24 +15034,28 @@ syllables in a word.")
|
||||||
(define-public python-sympy
|
(define-public python-sympy
|
||||||
(package
|
(package
|
||||||
(name "python-sympy")
|
(name "python-sympy")
|
||||||
(version "1.11.1")
|
(version "1.13.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "sympy" version))
|
(uri (pypi-uri "sympy" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0n46x1rfy8c2a9za3yp2va5icigxj805f9fmiq8c1drwwvf808z3"))))
|
(base32 "1nf4zrjjbnv47n6sl6x9blfyarski61vdjaz4ygb62hfag3d4zxj"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke
|
(if tests?
|
||||||
(or (which "python3") (which "python"))
|
(invoke "python3" "-c"
|
||||||
"-c" "import sympy; sympy.test(\"/core\")"))))))
|
"import sympy; sympy.test(\"/core\")")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs (list python-mpmath))
|
||||||
(list python-mpmath))
|
(native-inputs
|
||||||
|
(list python-hypothesis
|
||||||
|
python-pytest
|
||||||
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
(home-page "https://www.sympy.org/")
|
(home-page "https://www.sympy.org/")
|
||||||
(synopsis "Python library for symbolic mathematics")
|
(synopsis "Python library for symbolic mathematics")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue