systemlibs: unbundle enum34

Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
Jason Zaman 2019-05-29 19:27:11 +08:00
parent 201b59fb55
commit e0d2a39de7
3 changed files with 16 additions and 0 deletions

View File

@ -389,6 +389,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
],
sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1",
build_file = clean_dep("//third_party:enum34.BUILD"),
system_build_file = clean_dep("//third_party/systemlibs:enum34.BUILD"),
strip_prefix = "enum34-1.1.6/enum",
)

14
third_party/systemlibs/enum34.BUILD vendored Normal file
View File

@ -0,0 +1,14 @@
# Description:
# enum34 provides a backport of the enum module for Python 2.
licenses(["notice"]) # MIT
filegroup(
name = "LICENSE",
visibility = ["//visibility:public"],
)
py_library(
name = "enum",
visibility = ["//visibility:public"],
)

View File

@ -20,6 +20,7 @@ VALID_LIBS = [
"curl",
"cython",
"double_conversion",
"enum34_archive",
"flatbuffers",
"gast_archive",
"gif_archive",