[arch-commits] Commit in tensorflow/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Thu Feb 3 02:28:22 UTC 2022


    Date: Thursday, February 3, 2022 @ 02:28:22
  Author: svenstaro
Revision: 1123914

upgpkg: tensorflow 2.8.0-1

Modified:
  tensorflow/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-03 02:19:25 UTC (rev 1123913)
+++ PKGBUILD	2022-02-03 02:28:22 UTC (rev 1123914)
@@ -5,9 +5,9 @@
 
 pkgbase=tensorflow
 pkgname=(tensorflow tensorflow-opt tensorflow-cuda tensorflow-opt-cuda python-tensorflow python-tensorflow-opt python-tensorflow-cuda python-tensorflow-opt-cuda)
-pkgver=2.7.0
-_pkgver=2.7.0
-pkgrel=4
+pkgver=2.8.0
+_pkgver=2.8.0
+pkgrel=1
 pkgdesc="Library for computation using data flow graphs for scalable machine learning"
 url="https://www.tensorflow.org/"
 license=('APACHE')
@@ -19,10 +19,8 @@
              'cython')
 optdepends=('tensorboard: Tensorflow visualization toolkit')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/tensorflow/tensorflow/archive/v${_pkgver}.tar.gz"
-        $pkgname-python310-protobuf.patch::https://github.com/tensorflow/tensorflow/commit/14966ee409b8.patch
         fix-c++17-compat.patch)
-sha512sums=('f1e892583c7b3a73d4d39ec65dc135a5b02c789b357d57414ad2b6d05ad9fbfc8ef81918ba6410e314abd6928b76f764e6ef64c0b0c84b58b50796634be03f39'
-            '463a839c95a6b0f844cc7aa93bcbaa3294e951e47e965be32fc030124bf48ef3153a7c9ecc166abd4300d1e2ef2e164afd11920c8d30db11cc351ce6507e8b0f'
+sha512sums=('9cddb78c0392b7810e71917c3731f895e31c250822031ac7f498bf20435408c640b2fba4de439fa4a47c70dbff38b86e50fed2971df1f1916f23f9490241cfed'
             'f682368bb47b2b022a51aa77345dfa30f3b0d7911c56515d428b8326ee3751242f375f4e715a37bb723ef20a86916dad9871c3c81b1b58da85e1ca202bc4901e')
 
 # consolidate common dependencies to prevent mishaps
@@ -57,9 +55,6 @@
   # Allow any bazel version
   echo "*" > tensorflow-${_pkgver}/.bazelversion
 
-  # https://github.com/tensorflow/tensorflow/issues/51776
-  patch -Np1 -d tensorflow-${_pkgver} <${pkgname}-python310-protobuf.patch
-
   # Get rid of hardcoded versions. Not like we ever cared about what upstream
   # thinks about which versions should be used anyway. ;) (FS#68772)
   sed -i -E "s/'([0-9a-z_-]+) .= [0-9].+[0-9]'/'\1'/" tensorflow-${_pkgver}/tensorflow/tools/pip_package/setup.py



More information about the arch-commits mailing list