me
/
guix
Archived
1
0
Fork 0

gnu: python-rpy2: Fix tests.

* gnu/packages/python.scm (python-rpy2, python2-rpy2)[arguments]: Replace
  check phase with custom post-install command.
master
Marius Bakke 2016-12-15 17:42:22 +01:00
parent 6f976df677
commit 444464ec28
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 10 additions and 0 deletions

View File

@ -3674,6 +3674,16 @@ operators such as union, intersection, and difference.")
(base32
"0nhan2qvrw7b7gg5zddwa22kybdv3x1g26vkd7q8lvnkgzrs4dga"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(delete 'check)
(add-after 'install 'check
(lambda* (#:key outputs inputs #:allow-other-keys)
;; It's easier to run tests after install.
;; Make installed package available for running the tests
(add-installed-pythonpath inputs outputs)
(zero? (system* "python" "-m" "rpy2.tests" "-v")))))))
(propagated-inputs
`(("python-six" ,python-six)))
(inputs