Changeset View
Changeset View
Standalone View
Standalone View
games/anki/files/patch-python_python.bzl
- This file was moved from games/anki/files/patch-python.bzl.
Since Bazel 4.2.0 bootstrapping Python stub scripts are prepended with | Since Bazel 4.2.0 bootstrapping Python stub scripts are prepended with | ||||
a "Shebang" expression. | a "Shebang" expression. | ||||
--- python.bzl.orig 2021-08-20 19:05:37 UTC | --- python/python.bzl.orig 2022-07-10 21:03:57 UTC | ||||
+++ python.bzl | +++ python/python.bzl | ||||
@@ -27,6 +27,7 @@ py_runtime( | @@ -77,6 +77,7 @@ py_runtime( | ||||
name = "python_runtime", | name = "python_runtime", | ||||
interpreter_path = "{path}", | interpreter_path = "{path}", | ||||
python_version = "PY3", | python_version = "PY3", | ||||
+ stub_shebang = "#!{path}", | + stub_shebang = "#!{path}", | ||||
visibility = ["//visibility:public"], | visibility = ["//visibility:public"], | ||||
) | ) | ||||