summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/tensorflow/files/tensorflow-1.14.0-0005-gen_git_source-builtins-does-not-exist-in-python2.patch')
-rw-r--r--sci-libs/tensorflow/files/tensorflow-1.14.0-0005-gen_git_source-builtins-does-not-exist-in-python2.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sci-libs/tensorflow/files/tensorflow-1.14.0-0005-gen_git_source-builtins-does-not-exist-in-python2.patch b/sci-libs/tensorflow/files/tensorflow-1.14.0-0005-gen_git_source-builtins-does-not-exist-in-python2.patch
new file mode 100644
index 000000000000..fc2e1fe92cb4
--- /dev/null
+++ b/sci-libs/tensorflow/files/tensorflow-1.14.0-0005-gen_git_source-builtins-does-not-exist-in-python2.patch
@@ -0,0 +1,25 @@
+From bdbe7a572ed248bf8e53df200ffa5e66bf77b16f Mon Sep 17 00:00:00 2001
+From: Jason Zaman <jason@perfinion.com>
+Date: Fri, 2 Aug 2019 22:22:53 +0800
+Subject: [PATCH 5/5] gen_git_source: builtins does not exist in python2
+
+Signed-off-by: Jason Zaman <jason@perfinion.com>
+---
+ tensorflow/tools/git/gen_git_source.py | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/tensorflow/tools/git/gen_git_source.py b/tensorflow/tools/git/gen_git_source.py
+index 6cefd3900b..4d52c1fccf 100755
+--- a/tensorflow/tools/git/gen_git_source.py
++++ b/tensorflow/tools/git/gen_git_source.py
+@@ -26,7 +26,6 @@ NOTE: this script is only used in opensource.
+ from __future__ import absolute_import
+ from __future__ import division
+ from __future__ import print_function
+-from builtins import bytes # pylint: disable=redefined-builtin
+ import argparse
+ import json
+ import os
+--
+2.21.0
+