From 85434931af1c14c966022aa90587524ed3d8bd6a Mon Sep 17 00:00:00 2001
From: Eunji Jeong <egjung49@gmail.com>
Date: Mon, 15 Jan 2018 19:28:05 +0900
Subject: [PATCH] Fix broken python3 build

---
 third_party/astor.BUILD     | 1 +
 third_party/gast.BUILD      | 1 +
 third_party/termcolor.BUILD | 1 +
 3 files changed, 3 insertions(+)

diff --git a/third_party/astor.BUILD b/third_party/astor.BUILD
index c244e47ab70..58fe9acf332 100644
--- a/third_party/astor.BUILD
+++ b/third_party/astor.BUILD
@@ -19,5 +19,6 @@ py_library(
         "astor/string_repr.py",
         "astor/tree_walk.py",
     ],
+    srcs_version = "PY2AND3",
     visibility = ["//visibility:public"],
 )
diff --git a/third_party/gast.BUILD b/third_party/gast.BUILD
index 0ccf8eff58e..06db528ada2 100644
--- a/third_party/gast.BUILD
+++ b/third_party/gast.BUILD
@@ -14,5 +14,6 @@ py_library(
         "gast/astn.py",
         "gast/gast.py",
     ],
+    srcs_version = "PY2AND3",
     visibility = ["//visibility:public"],
 )
diff --git a/third_party/termcolor.BUILD b/third_party/termcolor.BUILD
index 94fcb3beaaf..6000e3289de 100644
--- a/third_party/termcolor.BUILD
+++ b/third_party/termcolor.BUILD
@@ -10,5 +10,6 @@ py_library(
     srcs = [
         "termcolor.py",
     ],
+    srcs_version = "PY2AND3",
     visibility = ["//visibility:public"],
 )