cjdns/cjdns.python3.patch

26 lines
717 B
Diff
Raw Normal View History

2017-02-18 20:37:24 +00:00
diff -up ./node_build/dependencies/libuv/gyp_uv.py.python3 ./node_build/dependencies/libuv/gyp_uv.py
2019-09-19 17:19:19 +00:00
--- ./node_build/dependencies/libuv/gyp_uv.py.python3 2019-08-06 18:58:48.000000000 -0400
+++ ./node_build/dependencies/libuv/gyp_uv.py 2019-09-19 13:11:51.125240959 -0400
2017-02-18 20:37:24 +00:00
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
2019-09-19 17:19:19 +00:00
+#!/usr/bin/python3
2017-02-18 20:37:24 +00:00
2018-02-21 18:58:17 +00:00
import os
2017-02-18 20:37:24 +00:00
import platform
2019-09-19 17:19:19 +00:00
@@ -29,7 +29,7 @@ def host_arch():
def run_gyp(args):
rc = gyp.main(args)
if rc != 0:
- print 'Error running GYP'
+ print('Error running GYP')
sys.exit(rc)
@@ -80,5 +80,5 @@ if __name__ == '__main__':
args.append('-Dcomponent=static_library')
gyp_args = list(args)
- print gyp_args
+ print(gyp_args)
run_gyp(gyp_args)