gnu: python-pycurl: Fix FTBFS from 7b84410046
.
* gnu/packages/python-web.scm (python-pycurl)[arguments]: Add phase 'configure-tls-backend'.
This commit is contained in:
parent
68f2e55206
commit
60667159d3
|
@ -443,7 +443,15 @@ C, yielding parse times that can be a thirtieth of the html5lib parse times.")
|
||||||
(arguments
|
(arguments
|
||||||
;; The tests attempt to access external web servers, so we cannot run
|
;; The tests attempt to access external web servers, so we cannot run
|
||||||
;; them. Furthermore, they are skipped altogether when using Python 2.
|
;; them. Furthermore, they are skipped altogether when using Python 2.
|
||||||
'(#:tests? #f))
|
'(#:tests? #f
|
||||||
|
#:phases (modify-phases %standard-phases
|
||||||
|
(add-before 'build 'configure-tls-backend
|
||||||
|
(lambda _
|
||||||
|
;; XXX: PycURL fails to automatically determine which TLS
|
||||||
|
;; backend to use when cURL is built with --disable-static.
|
||||||
|
;; See setup.py and <https://github.com/pycurl/pycurl/pull/147>.
|
||||||
|
(setenv "PYCURL_SSL_LIBRARY" "gnutls")
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-nose" ,python-nose)
|
`(("python-nose" ,python-nose)
|
||||||
("python-bottle" ,python-bottle)))
|
("python-bottle" ,python-bottle)))
|
||||||
|
|
Loading…
Reference in New Issue