me
/
guix
Archived
1
0
Fork 0

gnu: python-click: Disable the test suite.

* gnu/packages/python.scm (python-click, python2-click)[arguments]: Skip
the tests.
master
Leo Famulari 2018-01-04 13:50:22 -05:00
parent 6149fdfb5e
commit 6a25c6cd13
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 5 additions and 5 deletions

View File

@ -1704,7 +1704,10 @@ files.")
"02qkfpykbq35id8glfgwc38yc430427yd05z1wc5cnld8zgicmgi")))) "02qkfpykbq35id8glfgwc38yc430427yd05z1wc5cnld8zgicmgi"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(;; The tests are fragile, depending on a specific version of pytest:
;; <https://github.com/pallets/click/issues/823>
#:tests? #f
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-paths (add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
@ -1713,10 +1716,7 @@ files.")
(substitute* "click/_unicodefun.py" (substitute* "click/_unicodefun.py"
(("'locale'") (("'locale'")
(string-append "'" glibc "/bin/locale'")))) (string-append "'" glibc "/bin/locale'"))))
#t)) #t)))))
(replace 'check
(lambda _
(zero? (system* "make" "test")))))))
(native-inputs (native-inputs
`(("python-pytest" ,python-pytest))) `(("python-pytest" ,python-pytest)))
(home-page "http://click.pocoo.org") (home-page "http://click.pocoo.org")