me
/
guix
Archived
1
0
Fork 0

gnu: python-sympy: Update check phase.

* gnu/packages/python-xyz.scm (python-sympy)[arguments]: Replace 'check
phase instead of deleting it and adding it back in.
master
Efraim Flashner 2020-09-22 23:00:40 +03:00
parent 8621ff6bd5
commit e06eeaa4ca
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 7 deletions

View File

@ -7590,16 +7590,11 @@ multiprecision arithmetic.")
(arguments
`(#:phases
(modify-phases %standard-phases
;; Run the core tests after installation. By default it would run
;; *all* tests, which take a very long time to complete and are known
;; to be flaky.
(delete 'check)
(add-after 'install 'check
(replace 'check
(lambda* (#:key outputs #:allow-other-keys)
(invoke
(or (which "python3") (which "python"))
"-c" "import sympy; sympy.test(\"/core\")")
#t)))))
"-c" "import sympy; sympy.test(\"/core\")"))))))
(propagated-inputs
`(("python-mpmath" ,python-mpmath)))
(home-page "https://www.sympy.org/")