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

Frederik Schwan freswa at gemini.archlinux.org
Fri Aug 12 19:38:17 UTC 2022


    Date: Friday, August 12, 2022 @ 19:38:17
  Author: freswa
Revision: 1265730

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  122 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-12 19:38:13 UTC (rev 1265729)
+++ PKGBUILD	2022-08-12 19:38:17 UTC (rev 1265730)
@@ -1,61 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
-# Contributor: Konstantin Gizdov <arch at kge dot pw>
-
-pkgname=tensorboard
-pkgver=2.9.1
-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")
-options=('!lto')
-sha512sums=('795964f63f0d657b3dc9946f1ecbddf1b61605f7f229237396462736f38032630a3426841f1c2ce9f4b8eda7e9c5f7e140fce367af59063d655318be64035fcd')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  # Remove fixed version requirements as we usually ship more up-to-date
-  # versions than are specified and it tends to work fine anyhow.
-  sed -i "s/[<>=].*//" tensorboard/pip_package/requirements.txt
-}
-
-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/
-}
-
-# vim:set ts=2 sw=2 et:

Copied: tensorboard/repos/community-x86_64/PKGBUILD (from rev 1265729, tensorboard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-12 19:38:17 UTC (rev 1265730)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: Konstantin Gizdov <arch at kge dot pw>
+
+pkgname=tensorboard
+pkgver=2.10.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=('4dda26222cdc739bfd778c7cefda0062226a7a361853adc11af991ca5d465cb3137db2e73cfdbe334b30f60ec885252d6b835c0ee531e17e7184710a974f7d9e')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # Remove fixed version requirements as we usually ship more up-to-date
+  # versions than are specified and it tends to work fine anyhow.
+  sed -i "s/[<>=].*//" tensorboard/pip_package/requirements.txt
+}
+
+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/
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list