[arch-commits] Commit in tensorboard/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Oct 26 20:16:30 UTC 2017


    Date: Thursday, October 26, 2017 @ 20:16:29
  Author: svenstaro
Revision: 264542

upgpkg: tensorboard 0.4.0rc1-2

Add hackfix for FS#56041

Modified:
  tensorboard/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-26 20:01:50 UTC (rev 264541)
+++ PKGBUILD	2017-10-26 20:16:29 UTC (rev 264542)
@@ -4,7 +4,7 @@
 pkgname=tensorboard
 pkgver=0.4.0rc1
 _pkgver=0.4.0-rc1
-pkgrel=1
+pkgrel=2
 pkgdesc="TensorFlow's Visualization Toolkit"
 url='https://github.com/tensorflow/tensorboard'
 arch=('x86_64')
@@ -41,11 +41,15 @@
 
   rm -rf "$pkgdir"/usr/lib/python3.6/site-packages/external/
 
+  _requires="$pkgdir"/usr/lib/python3.6/site-packages/tensorflow_tensorboard-${pkgver}-py3.6.egg-info/requires.txt
   # This is ugly: We need to patch it to use current bleach and html5lib
   # because old ones are not even compatible with Python 3.6 and we don't have
   # those in Arch of course.
-  sed -i 's/bleach==.*/bleach/' "$pkgdir"/usr/lib/python3.6/site-packages/tensorflow_tensorboard-${pkgver}-py3.6.egg-info/requires.txt
-  sed -i 's/html5lib==.*/html5lib/' "$pkgdir"/usr/lib/python3.6/site-packages/tensorflow_tensorboard-${pkgver}-py3.6.egg-info/requires.txt
+  sed -i 's/bleach==.*/bleach/' ${_requires}
+  sed -i 's/html5lib==.*/html5lib/' ${_requires}
+  # Other ugly hack: workaround for issues 650
+  # https://github.com/tensorflow/tensorboard/issues/650
+  sed -i '/^futures/d' ${_requires}
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list