summaryrefslogtreecommitdiffstats
path: root/bootstrap.py
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-11 20:35:10 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-11 20:54:42 +0200
commitd906d091627a9be8d0d1e13f54d737eca6dc16ff (patch)
treee97066921e8901c5c531dda05adb01d0b9d3cb2d /bootstrap.py
parent227e470ee213b6618c080ae654cc947b4adb0add (diff)
downloadmpv-d906d091627a9be8d0d1e13f54d737eca6dc16ff.tar.bz2
mpv-d906d091627a9be8d0d1e13f54d737eca6dc16ff.tar.xz
build: update waf to version 1.8.1
Fixes #1164
Diffstat (limited to 'bootstrap.py')
-rwxr-xr-xbootstrap.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap.py b/bootstrap.py
index ce388ff508..f354d5fb85 100755
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -5,9 +5,9 @@
from __future__ import print_function
import os, sys, stat, hashlib, subprocess
-WAFRELEASE = "waf-1.7.16"
+WAFRELEASE = "waf-1.8.1"
WAFURL = "http://ftp.waf.io/pub/release/" + WAFRELEASE
-SHA256HASH = "b64dc26c882572415fd450b745006107965f3fe17b357e3eb43d6676c9635a61"
+SHA256HASH = "ec658116ba0b96629d91fde0b32321849e866e0819f1e835c4c2c7f7ffe1a21d"
if os.path.exists("waf"):
wafver = subprocess.check_output(['./waf', '--version']).decode()
@@ -31,6 +31,8 @@ if SHA256HASH == hashlib.sha256(waf).hexdigest():
print("Checksum verified.")
else:
print("The checksum of the downloaded file does not match!")
+ print(" - got: {}".format(hashlib.sha256(waf).hexdigest()))
+ print(" - expected: {}".format(SHA256HASH))
print("Please download and verify the file manually.")
sys.exit(1)