systemlibs: unbundle functools32

Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
Jason Zaman 2019-09-11 18:18:42 +08:00
parent 2482e743bc
commit b8f8d081be
3 changed files with 17 additions and 0 deletions

View File

@ -324,6 +324,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
build_file = clean_dep("//third_party:functools32.BUILD"),
sha256 = "f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d",
strip_prefix = "functools32-3.2.3-2",
system_build_file = clean_dep("//third_party/systemlibs:functools32.BUILD"),
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/pypi.python.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz",
"https://pypi.python.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz",

View File

@ -0,0 +1,15 @@
# Description:
# functools32 provides a backport of the functools module for Python 2.
licenses(["notice"]) # Python 2.0
package(default_visibility = ["//visibility:public"])
filegroup(
name = "LICENSE",
)
py_library(
name = "functools32",
srcs_version = "PY2AND3",
)

View File

@ -21,6 +21,7 @@ VALID_LIBS = [
"double_conversion",
"enum34_archive",
"flatbuffers",
"functools32_archive",
"gast_archive",
"gif_archive",
"grpc",