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

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Fri Jan 21 13:51:37 UTC 2022


    Date: Friday, January 21, 2022 @ 13:51:36
  Author: svenstaro
Revision: 1112016

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  111 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-21 13:51:25 UTC (rev 1112015)
+++ PKGBUILD	2022-01-21 13:51:36 UTC (rev 1112016)
@@ -1,55 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
-# Contributor: Konstantin Gizdov <arch at kge dot pw>
-
-pkgname=tensorboard
-pkgver=2.7.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-html5lib' 'python-protobuf' 'python-grpcio' 'python-google-auth-oauthlib'
-         'python-tensorboard_plugin_wit' 'absl-py')
-makedepends=('bazel' 'python-setuptools' 'tree' 'rust' 'python-pip')
-optdepends=('python-tensorflow: advanced features for TensorBoard')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tensorflow/tensorboard/archive/${pkgver}.tar.gz")
-sha512sums=('ede5aea29a7e2a373d027a67bc4bc1ec4d175e16df075430782da39a80f06110b4c648c0eee14840ce6f2027d26780cee8cb830505c6eb74f1d769cf01f74382')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  PYTHONWARNINGS=ignore bazel build //tensorboard
-  bazel build //tensorboard/pip_package:build_pip_package
-
-  cd tensorboard/data/server
-  cargo build --release
-  python pip_package/build.py --server-binary target/release/rustboard --out-dir /tmp
-  cd "$srcdir/$pkgname-$pkgver"
-
-  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,setup.py,requirements.txt} pypackage
-  cp README.md pypackage
-  cd pypackage
-  python setup.py build
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  pip install --ignore-installed --root "$pkgdir" /tmp/*.whl
-
-  cd pypackage
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  rm -r "$pkgdir"/usr/lib/python3.10/site-packages/external/
-
-  _requires="$pkgdir"/usr/lib/python3.10/site-packages/tensorboard-${pkgver}-py3.10.egg-info/requires.txt
-  sed -i 's/tensorboard-data-server.*/tensorboard-data-server/' ${_requires}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: tensorboard/repos/community-x86_64/PKGBUILD (from rev 1112015, tensorboard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-21 13:51:36 UTC (rev 1112016)
@@ -0,0 +1,56 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: Konstantin Gizdov <arch at kge dot pw>
+
+pkgname=tensorboard
+pkgver=2.8.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-html5lib' 'python-protobuf' 'python-grpcio' 'python-google-auth-oauthlib'
+         'python-tensorboard_plugin_wit' 'absl-py')
+makedepends=('bazel' 'python-setuptools' 'tree' 'rust' 'python-pip')
+optdepends=('python-tensorflow: advanced features for TensorBoard')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tensorflow/tensorboard/archive/${pkgver}.tar.gz")
+options=('!lto')
+sha512sums=('9bb53d4ce2e4735bf01e135e382ff5bcf55d41b7e8bd81061096b6a2010ac48793288eb9da9d2ee3c5ce7cd0532cbcaff72d4c0905d3ebee1c5a42fd3851dff7')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  PYTHONWARNINGS=ignore bazel build //tensorboard
+  bazel build //tensorboard/pip_package:build_pip_package
+
+  cd tensorboard/data/server
+  cargo build --release
+  python pip_package/build.py --server-binary target/release/rustboard --out-dir /tmp
+  cd "$srcdir/$pkgname-$pkgver"
+
+  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,setup.py,requirements.txt} pypackage
+  cp README.md pypackage
+  cd pypackage
+  python setup.py build
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  pip install --ignore-installed --root "$pkgdir" /tmp/*.whl
+
+  cd pypackage
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  rm -r "$pkgdir"/usr/lib/python3.10/site-packages/external/
+
+  _requires="$pkgdir"/usr/lib/python3.10/site-packages/tensorboard-${pkgver}-py3.10.egg-info/requires.txt
+  sed -i 's/tensorboard-data-server.*/tensorboard-data-server/' ${_requires}
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list