[arch-commits] Commit in tensorboard/trunk (PKGBUILD bump-tensorflow.patch)

Konstantin Gizdov kgizdov at archlinux.org
Thu Mar 26 10:32:56 UTC 2020


    Date: Thursday, March 26, 2020 @ 10:32:55
  Author: kgizdov
Revision: 604416

upgpkg: tensorboard 2.2.0-1

Modified:
  tensorboard/trunk/PKGBUILD
Deleted:
  tensorboard/trunk/bump-tensorflow.patch

-----------------------+
 PKGBUILD              |   17 +++++------------
 bump-tensorflow.patch |   19 -------------------
 2 files changed, 5 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-26 10:27:48 UTC (rev 604415)
+++ PKGBUILD	2020-03-26 10:32:55 UTC (rev 604416)
@@ -1,8 +1,8 @@
 # Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
 
 pkgname=tensorboard
-pkgver=2.1.0
-pkgrel=2
+pkgver=2.2.0
+pkgrel=1
 pkgdesc="TensorFlow's Visualization Toolkit"
 url='https://github.com/tensorflow/tensorboard'
 arch=('x86_64')
@@ -10,17 +10,9 @@
 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')
+source=("https://github.com/tensorflow/tensorboard/archive/${pkgver}.tar.gz")
+sha512sums=('05da0d879c20c86a3f307aa712e779cab442292c5628086175af141398029d65f119b81a21e08d866ab2e89e9159d036b59a1b22e39a668a7a72a95c79a7af2f')
 
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  patch -Np1 -i "$srcdir"/bump-tensorflow.patch
-}
-
 build() {
   cd "$pkgname-$pkgver"
 
@@ -33,6 +25,7 @@
   cp tensorboard/pip_package/{README.rst,MANIFEST.in} pypackage
   cp README.md pypackage
   cp tensorboard/pip_package/setup.py pypackage
+  cp tensorboard/pip_package/requirements.txt pypackage
   cd pypackage
   python setup.py build
 }

Deleted: bump-tensorflow.patch
===================================================================
--- bump-tensorflow.patch	2020-03-26 10:27:48 UTC (rev 604415)
+++ bump-tensorflow.patch	2020-03-26 10:32:55 UTC (rev 604416)
@@ -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",
-     ],
- )
- 



More information about the arch-commits mailing list