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

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Dec 25 03:25:37 UTC 2019


    Date: Wednesday, December 25, 2019 @ 03:25:37
  Author: svenstaro
Revision: 540609

archrelease: copy trunk to community-x86_64

Added:
  tensorboard/repos/community-x86_64/PKGBUILD
    (from rev 540608, tensorboard/trunk/PKGBUILD)
  tensorboard/repos/community-x86_64/bump-tensorflow.patch
    (from rev 540608, tensorboard/trunk/bump-tensorflow.patch)
Deleted:
  tensorboard/repos/community-x86_64/PKGBUILD
  tensorboard/repos/community-x86_64/bump-tensorflow.patch

-----------------------+
 PKGBUILD              |  122 ++++++++++++++++++++++++------------------------
 bump-tensorflow.patch |   38 +++++++-------
 2 files changed, 80 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-25 03:25:31 UTC (rev 540608)
+++ PKGBUILD	2019-12-25 03:25:37 UTC (rev 540609)
@@ -1,61 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-pkgname=tensorboard
-pkgver=2.1.0
-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"
-        bump-tensorflow.patch)
-sha512sums=('1a746c4158a7c4eb95d660f2ff25d759e8601a89d4343c0e4a0e4f82eb8d1f2390821a7e85d712717df07cc22529d38b73c659db9c1d7f8e356f21c386381c16'
-            '655b89c7ae37bcb582cfe46ce9c395d66145f9808cca8cc2e262a2ae3c8b8781bf19eb61981aa8478612d570fb6f7cf218c09e8eb61a6f43f8fe17819cae461b')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  patch -Np1 -i "$srcdir"/bump-tensorflow.patch
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  bazel build tensorboard:tensorboard
-  bazel 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.8/site-packages/external/
-
-  _requires="$pkgdir"/usr/lib/python3.8/site-packages/tensorboard-${pkgver}-py3.8.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 540608, tensorboard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-25 03:25:37 UTC (rev 540609)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=tensorboard
+pkgver=2.1.0
+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' 'python-google-auth-oauthlib')
+makedepends=('bazel' 'tree')
+source=("https://github.com/tensorflow/tensorboard/archive/${pkgver}.tar.gz"
+        bump-tensorflow.patch)
+sha512sums=('1a746c4158a7c4eb95d660f2ff25d759e8601a89d4343c0e4a0e4f82eb8d1f2390821a7e85d712717df07cc22529d38b73c659db9c1d7f8e356f21c386381c16'
+            '655b89c7ae37bcb582cfe46ce9c395d66145f9808cca8cc2e262a2ae3c8b8781bf19eb61981aa8478612d570fb6f7cf218c09e8eb61a6f43f8fe17819cae461b')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  patch -Np1 -i "$srcdir"/bump-tensorflow.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  bazel build tensorboard:tensorboard
+  bazel 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.8/site-packages/external/
+
+  _requires="$pkgdir"/usr/lib/python3.8/site-packages/tensorboard-${pkgver}-py3.8.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:

Deleted: bump-tensorflow.patch
===================================================================
--- bump-tensorflow.patch	2019-12-25 03:25:31 UTC (rev 540608)
+++ bump-tensorflow.patch	2019-12-25 03:25:37 UTC (rev 540609)
@@ -1,19 +0,0 @@
-diff --git a/WORKSPACE b/WORKSPACE
-index 30007945..479886aa 100644
---- a/WORKSPACE
-+++ b/WORKSPACE
-@@ -82,11 +82,10 @@ http_archive(
-     name = "org_tensorflow",
-     # NOTE: when updating this, MAKE SURE to also update the protobuf_js runtime version
-     # in third_party/workspace.bzl to >= the protobuf/protoc version provided by TF.
--    sha256 = "48ddba718da76df56fd4c48b4bbf4f97f254ba269ec4be67f783684c75563ef8",
--    strip_prefix = "tensorflow-2.0.0-rc0",
-+    sha256 = "fe76e3c5dd021eca4b3c1f22393514e2019479640bcb7df9158d6990a4c83294",
-+    strip_prefix = "tensorflow-c6daad319d78e08d2dacbc4aa58094ce541188cf",
-     urls = [
--        "http://mirror.tensorflow.org/github.com/tensorflow/tensorflow/archive/v2.0.0-rc0.tar.gz",  # 2019-08-23
--        "https://github.com/tensorflow/tensorflow/archive/v2.0.0-rc0.tar.gz",
-+        "https://github.com/tensorflow/tensorflow/archive/c6daad319d78e08d2dacbc4aa58094ce541188cf.tar.gz",
-     ],
- )
- 

Copied: tensorboard/repos/community-x86_64/bump-tensorflow.patch (from rev 540608, tensorboard/trunk/bump-tensorflow.patch)
===================================================================
--- bump-tensorflow.patch	                        (rev 0)
+++ bump-tensorflow.patch	2019-12-25 03:25:37 UTC (rev 540609)
@@ -0,0 +1,19 @@
+diff --git a/WORKSPACE b/WORKSPACE
+index 30007945..479886aa 100644
+--- a/WORKSPACE
++++ b/WORKSPACE
+@@ -82,11 +82,10 @@ http_archive(
+     name = "org_tensorflow",
+     # NOTE: when updating this, MAKE SURE to also update the protobuf_js runtime version
+     # in third_party/workspace.bzl to >= the protobuf/protoc version provided by TF.
+-    sha256 = "48ddba718da76df56fd4c48b4bbf4f97f254ba269ec4be67f783684c75563ef8",
+-    strip_prefix = "tensorflow-2.0.0-rc0",
++    sha256 = "fe76e3c5dd021eca4b3c1f22393514e2019479640bcb7df9158d6990a4c83294",
++    strip_prefix = "tensorflow-c6daad319d78e08d2dacbc4aa58094ce541188cf",
+     urls = [
+-        "http://mirror.tensorflow.org/github.com/tensorflow/tensorflow/archive/v2.0.0-rc0.tar.gz",  # 2019-08-23
+-        "https://github.com/tensorflow/tensorflow/archive/v2.0.0-rc0.tar.gz",
++        "https://github.com/tensorflow/tensorflow/archive/c6daad319d78e08d2dacbc4aa58094ce541188cf.tar.gz",
+     ],
+ )
+ 


More information about the arch-commits mailing list