mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-sympy: Update to 1.6.2.
* gnu/packages/python-xyz.scm (python-sympy): Update to 1.6.2. [source]: Download from pypi. [arguments]: Make check phase inheritable by python2-sympy. (python2-sympy): Update to 1.5.1. [source]: Download from pypi. [arguments]: Inherit from python-sympy. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
bd1bce0896
commit
8621ff6bd5
1 changed files with 13 additions and 17 deletions
|
@ -7579,15 +7579,13 @@ multiprecision arithmetic.")
|
||||||
(define-public python-sympy
|
(define-public python-sympy
|
||||||
(package
|
(package
|
||||||
(name "python-sympy")
|
(name "python-sympy")
|
||||||
(version "1.1.1")
|
(version "1.6.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (pypi-uri "sympy" version))
|
||||||
"https://github.com/sympy/sympy/releases/download/sympy-"
|
|
||||||
version "/sympy-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "190n29sppw7g8ihilc5451y7jlfcaw56crqiqbf1jff43dlmfnxc"))))
|
(base32 "0247skhkxanczpqqdz6n9k1axgpwl665b25hyn9vgr060p4dryhw"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -7598,7 +7596,9 @@ multiprecision arithmetic.")
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
(add-after 'install 'check
|
(add-after 'install 'check
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(invoke "python3" "-c" "import sympy; sympy.test(\"/core\")")
|
(invoke
|
||||||
|
(or (which "python3") (which "python"))
|
||||||
|
"-c" "import sympy; sympy.test(\"/core\")")
|
||||||
#t)))))
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-mpmath" ,python-mpmath)))
|
`(("python-mpmath" ,python-mpmath)))
|
||||||
|
@ -7613,17 +7613,13 @@ as possible in order to be comprehensible and easily extensible.")
|
||||||
(define-public python2-sympy
|
(define-public python2-sympy
|
||||||
(package
|
(package
|
||||||
(inherit (package-with-python2 python-sympy))
|
(inherit (package-with-python2 python-sympy))
|
||||||
(arguments
|
(version "1.5.1") ; last release for python2
|
||||||
`(#:phases
|
(source
|
||||||
(modify-phases %standard-phases
|
(origin
|
||||||
;; Run the core tests after installation. By default it would run
|
(method url-fetch)
|
||||||
;; *all* tests, which take a very long time to complete and are known
|
(uri (pypi-uri "sympy" version))
|
||||||
;; to be flaky.
|
(sha256
|
||||||
(delete 'check)
|
(base32 "0zjfbxlkazzh9z22gf62azrkipb2xw7mpzjz3wl1az9893bh2yfp"))))))
|
||||||
(add-after 'install 'check
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(invoke "python" "-c" "import sympy; sympy.test(\"/core\")")
|
|
||||||
#t)))))))
|
|
||||||
|
|
||||||
(define-public python-q
|
(define-public python-q
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue