Add new timeout fetch_option
This allows packages to override the global connect_timeout.
This commit is contained in:
committed by
Peter Scheibel
parent
b7cfd05ef7
commit
f580b340f8
@@ -13,8 +13,12 @@ class Libffi(AutotoolsPackage):
|
||||
run time."""
|
||||
homepage = "https://sourceware.org/libffi/"
|
||||
|
||||
# The server is sometimes a bit slow to respond
|
||||
fetch_options = {'timeout': 60}
|
||||
|
||||
version('3.2.1', sha256='d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37',
|
||||
url="https://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz")
|
||||
url="https://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz",
|
||||
fetch_options=fetch_options)
|
||||
|
||||
@property
|
||||
def headers(self):
|
||||
|
||||
Reference in New Issue
Block a user