Changeset View
Changeset View
Standalone View
Standalone View
games/anki/files/patch-pylib_tools_BUILD.bazel
Avoid loading of "requirements.bzl" because it requires "pip_import" which | Avoid loading of "requirements.bzl" because it requires "pip_import" which | ||||
is already disabled in "defs.bzl". | is already disabled in "defs.bzl". | ||||
--- pylib/tools/BUILD.bazel.orig 2021-07-30 08:30:37 UTC | --- pylib/tools/BUILD.bazel.orig 2022-05-26 02:51:51 UTC | ||||
+++ pylib/tools/BUILD.bazel | +++ pylib/tools/BUILD.bazel | ||||
@@ -1,5 +1,4 @@ | @@ -1,5 +1,4 @@ load("@rules_python//python:defs.bzl", "py_binary", "p | ||||
load("@rules_python//python:defs.bzl", "py_binary", "py_library") | load("@rules_python//python:defs.bzl", "py_binary", "py_library") | ||||
-load("@py_deps//:requirements.bzl", "requirement") | -load("@py_deps//:requirements.bzl", "requirement") | ||||
py_binary( | py_binary( | ||||
name = "protoc-gen-mypy", | name = "protoc-gen-mypy", | ||||
@@ -7,7 +6,6 @@ py_binary( | @@ -7,7 +6,6 @@ py_binary( | ||||
visibility = [ | visibility = [ | ||||
"//visibility:public", | "//visibility:public", | ||||
], | ], | ||||
- deps = [requirement("mypy-protobuf")], | - deps = [requirement("mypy-protobuf")], | ||||
) | ) | ||||
py_binary( | py_binary( | ||||
@@ -41,8 +39,6 @@ py_binary( | @@ -41,7 +39,6 @@ py_binary( | ||||
imports = ["."], | imports = ["."], | ||||
visibility = ["//pylib:__subpackages__"], | visibility = ["//pylib:__subpackages__"], | ||||
deps = [ | deps = [ | ||||
- requirement("black"), | - requirement("black"), | ||||
- requirement("stringcase"), | "//pylib/anki/_vendor:stringcase", | ||||
], | ], | ||||
) | ) | ||||
@@ -53,7 +49,6 @@ py_binary( | |||||
], | |||||
tags = ["manual"], | |||||
deps = [ | |||||
- requirement("stringcase"), | |||||
], | |||||
) | |||||