mirror of https://github.com/mpv-player/mpv
build: bump waf to 2.0.9
Among other things, fixes compatibility with python 3.7.x.
This commit is contained in:
parent
5e608fc4c8
commit
15a6d0028e
|
@ -5,10 +5,10 @@
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import os, sys, stat, hashlib, subprocess
|
import os, sys, stat, hashlib, subprocess
|
||||||
|
|
||||||
WAFRELEASE = "waf-1.9.8"
|
WAFRELEASE = "waf-2.0.9"
|
||||||
WAFURLS = ["https://waf.io/" + WAFRELEASE,
|
WAFURLS = ["https://waf.io/" + WAFRELEASE,
|
||||||
"http://www.freehackers.org/~tnagy/release/" + WAFRELEASE]
|
"http://www.freehackers.org/~tnagy/release/" + WAFRELEASE]
|
||||||
SHA256HASH = "167dc42bab6d5bd823b798af195420319cb5c9b571e00db7d83df2a0fe1f4dbf"
|
SHA256HASH = "2a8e0816f023995e557f79ea8940d322bec18f286917c8f9a6fa2dc3875dfa48"
|
||||||
|
|
||||||
if os.path.exists("waf"):
|
if os.path.exists("waf"):
|
||||||
wafver = subprocess.check_output([sys.executable, './waf', '--version']).decode()
|
wafver = subprocess.check_output([sys.executable, './waf', '--version']).decode()
|
||||||
|
|
Loading…
Reference in New Issue