aboutsummaryrefslogtreecommitdiff
path: root/games/anki/files/patch-pylib_anki___backend_BUILD.bazel
blob: 9691f5cffe3eb69aaff8ca96af0c321c43ab94e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Avoid loading of "requirements.bzl" because it requires "pip_import" which
is already disabled in "defs.bzl".

--- pylib/anki/_backend/BUILD.bazel.orig	2021-07-30 08:30:37 UTC
+++ pylib/anki/_backend/BUILD.bazel
@@ -1,5 +1,4 @@
 load("@rules_python//python:defs.bzl", "py_binary")
-load("@py_deps//:requirements.bzl", "requirement")
 load("@bazel_skylib//rules:copy_file.bzl", "copy_file")
 load("@bazel_skylib//lib:selects.bzl", "selects")
 
@@ -9,9 +8,6 @@ py_binary(
         "genbackend.py",
     ],
     deps = [
-        requirement("black"),
-        requirement("stringcase"),
-        requirement("protobuf"),
         "//pylib/anki:proto",
     ],
 )
@@ -29,8 +25,6 @@ py_binary(
         "genfluent.py",
     ],
     deps = [
-        requirement("black"),
-        requirement("stringcase"),
     ],
 )