[arch-commits] Commit in tensorboard/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Jan 5 03:07:39 UTC 2019


    Date: Saturday, January 5, 2019 @ 03:07:38
  Author: svenstaro
Revision: 420588

archrelease: copy trunk to community-x86_64

Added:
  tensorboard/repos/community-x86_64/PKGBUILD
    (from rev 420587, tensorboard/trunk/PKGBUILD)
Deleted:
  tensorboard/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-05 03:07:31 UTC (rev 420587)
+++ PKGBUILD	2019-01-05 03:07:38 UTC (rev 420588)
@@ -1,57 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-pkgname=tensorboard
-pkgver=1.12.1
-pkgrel=1
-pkgdesc="TensorFlow's Visualization Toolkit"
-url='https://github.com/tensorflow/tensorboard'
-arch=('x86_64')
-license=('APACHE')
-depends=('python' 'python-werkzeug' 'python-numpy' 'python-bleach' 'python-wheel' 'python-markdown' 'python-tensorflow-serving-api'
-         'python-html5lib' 'python-protobuf' 'python-setuptools' 'python-tensorflow' 'python-grpcio')
-makedepends=('bazel' 'tree')
-source=("https://github.com/tensorflow/tensorboard/archive/${pkgver}.tar.gz"
-        # Temp fix for https://github.com/tensorflow/tensorflow/issues/24124
-        https://github.com/bazelbuild/bazel/releases/download/0.19.2/bazel-0.19.2-linux-x86_64)
-sha512sums=('279db7aa18faaafd189c95100d79fb0ee3240c65ea05b7122dc2c1caedf1ec68a626257d57f2757a4c09b99a9fe8e74feae3b9a57c0f6f6deb3a15ea079e4e1a'
-            'bd87b7c8c517ff2c4783b7b09c4609e9979d79985ff8ed1d564a8f2f49ad8588bfb72eb5d20b3ecc6c7e7e20b64e79e3913c4705b14d7a330ffbc2a0e09f10c4')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  chmod +x "${srcdir}"/bazel-0.19.2-linux-x86_64
-  "${srcdir}"/bazel-0.19.2-linux-x86_64 build tensorboard:tensorboard
-  "${srcdir}"/bazel-0.19.2-linux-x86_64 build //tensorboard/pip_package:build_pip_package
-
-  mkdir pypackage
-  cp -R bazel-bin/tensorboard/pip_package/build_pip_package.runfiles/org_tensorflow_tensorboard/external pypackage
-  cp -R bazel-bin/tensorboard/pip_package/build_pip_package.runfiles/org_tensorflow_tensorboard/tensorboard pypackage
-  cp tensorboard/pip_package/{README.rst,MANIFEST.in} pypackage
-  cp README.md pypackage
-  cp tensorboard/pip_package/setup.py pypackage
-  cd pypackage
-  python setup.py build
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  cd pypackage
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  rm -r "$pkgdir"/usr/lib/python3.7/site-packages/external/
-
-  _requires="$pkgdir"/usr/lib/python3.7/site-packages/tensorboard-${pkgver}-py3.7.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/' ${_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:

Copied: tensorboard/repos/community-x86_64/PKGBUILD (from rev 420587, tensorboard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-05 03:07:38 UTC (rev 420588)
@@ -0,0 +1,57 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=tensorboard
+pkgver=1.12.2
+pkgrel=2
+pkgdesc="TensorFlow's Visualization Toolkit"
+url='https://github.com/tensorflow/tensorboard'
+arch=('x86_64')
+license=('APACHE')
+depends=('python' 'python-werkzeug' 'python-numpy' 'python-bleach' 'python-wheel' 'python-markdown' 'python-tensorflow-serving-api'
+         'python-html5lib' 'python-protobuf' 'python-setuptools' 'python-tensorflow' 'python-grpcio')
+makedepends=('bazel' 'tree')
+source=("https://github.com/tensorflow/tensorboard/archive/${pkgver}.tar.gz"
+        # Temp fix for https://github.com/tensorflow/tensorflow/issues/24124
+        https://github.com/bazelbuild/bazel/releases/download/0.19.2/bazel-0.19.2-linux-x86_64)
+sha512sums=('7fc10ae20f95730fbf35c1bb274c23bea96379344aff8ecacdfaaa2018295e20872f862e8d3870fde6f3b64ba27c1bf505769e8fbe0453886a92e704127a09e0'
+            'bd87b7c8c517ff2c4783b7b09c4609e9979d79985ff8ed1d564a8f2f49ad8588bfb72eb5d20b3ecc6c7e7e20b64e79e3913c4705b14d7a330ffbc2a0e09f10c4')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  chmod +x "${srcdir}"/bazel-0.19.2-linux-x86_64
+  "${srcdir}"/bazel-0.19.2-linux-x86_64 build tensorboard:tensorboard
+  "${srcdir}"/bazel-0.19.2-linux-x86_64 build //tensorboard/pip_package:build_pip_package
+
+  mkdir pypackage
+  cp -R bazel-bin/tensorboard/pip_package/build_pip_package.runfiles/org_tensorflow_tensorboard/external pypackage
+  cp -R bazel-bin/tensorboard/pip_package/build_pip_package.runfiles/org_tensorflow_tensorboard/tensorboard pypackage
+  cp tensorboard/pip_package/{README.rst,MANIFEST.in} pypackage
+  cp README.md pypackage
+  cp tensorboard/pip_package/setup.py pypackage
+  cd pypackage
+  python setup.py build
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  cd pypackage
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  rm -r "$pkgdir"/usr/lib/python3.7/site-packages/external/
+
+  _requires="$pkgdir"/usr/lib/python3.7/site-packages/tensorboard-${pkgver}-py3.7.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/' ${_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