Description: Generate_classic_files_instead_of_WHL
 .
 tensorboard (0.1.7-1) unstable; urgency=medium
 .
   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
Author: Adam Cecile <acecile@le-vert.net>

---
Origin: other
Forwarded: not-needed
Last-Update: 2017-09-28

Index: tensorboard-1.14.0/tensorboard/pip_package/build_pip_package.sh
===================================================================
--- tensorboard-1.14.0.orig/tensorboard/pip_package/build_pip_package.sh
+++ tensorboard-1.14.0/tensorboard/pip_package/build_pip_package.sh
@@ -27,7 +27,7 @@ tf_version="tf-nightly"
 if [ -n "${TF_VERSION}" ]; then
   tf_version="tensorflow==${TF_VERSION}"
 fi
-smoke="all"
+smoke="0"
 while [ "$#" -gt 0 ]; do
   case "$1" in
     "--tf-version")
@@ -55,9 +55,9 @@ while [ "$#" -gt 0 ]; do
 done
 
 set -x
-command -v curl >/dev/null
-command -v perl >/dev/null
-command -v virtualenv >/dev/null
+#command -v curl >/dev/null
+#command -v perl >/dev/null
+#command -v virtualenv >/dev/null
 [ -d "${RUNFILES}" ]
 
 dest=/tmp/tensorboard
@@ -103,17 +103,19 @@ find tensorboard -name \*.py |
     s/from tensorflow_serving/from tensorboard._vendor.tensorflow_serving/
   '
 
-virtualenv venv
-export VIRTUAL_ENV=venv
+#virtualenv venv
+#export VIRTUAL_ENV=venv
 export PATH="$PWD/venv/bin:${PATH}"
 unset PYTHON_HOME
 
 # Require wheel for bdist_wheel command, and setuptools 36.2.0+ so that
 # env markers are handled (https://github.com/pypa/setuptools/pull/1081)
-pip install -qU wheel 'setuptools>=36.2.0'
+#pip install -qU wheel 'setuptools>=36.2.0'
 
-python setup.py bdist_wheel --python-tag py2 >/dev/null
-python setup.py bdist_wheel --python-tag py3 >/dev/null
+#python setup.py bdist_wheel --python-tag py2 >/dev/null
+#python setup.py bdist_wheel --python-tag py3 >/dev/null
+echo $(date) : "=== Building python2 package to ${DEST}/python-tensorboard"
+python3 setup.py install --root ${DEST}/python3-tensorboard --install-layout=deb
 
 smoke() {
   py_major_version="$1"
@@ -225,4 +227,4 @@ case "${smoke}" in
 esac
 
 # Print the wheel files we built.
-du -hs "$PWD"/dist/*
+#du -hs "$PWD"/dist/*
