Date: Thursday, July 23, 2020 @ 17:36:20
  Author: svenstaro
Revision: 665019

upgpkg: tensorflow 2.3.0rc2-2: Hard-dep on python-pasta (FS#67370)

Modified:
  tensorflow/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-07-23 17:34:35 UTC (rev 665018)
+++ PKGBUILD    2020-07-23 17:36:20 UTC (rev 665019)
@@ -7,7 +7,7 @@
 pkgname=(tensorflow tensorflow-opt tensorflow-cuda tensorflow-opt-cuda 
python-tensorflow python-tensorflow-opt python-tensorflow-cuda 
python-tensorflow-opt-cuda)
 pkgver=2.3.0rc2
 _pkgver=2.3.0-rc2
-pkgrel=1
+pkgrel=2
 pkgdesc="Library for computation using data flow graphs for scalable machine 
learning"
 url="https://www.tensorflow.org/";
 license=('APACHE')
@@ -16,8 +16,7 @@
 makedepends=('bazel' 'python-numpy' 'cuda' 'nvidia-utils' 'nccl' 'git' 'gcc9'
              'cudnn' 'python-pip' 'python-wheel' 'python-setuptools' 
'python-h5py'
              'python-keras-applications' 'python-keras-preprocessing')
-optdepends=('tensorboard: Tensorflow visualization toolkit'
-            'python-pasta: tf_upgrade_v2 tool')
+optdepends=('tensorboard: Tensorflow visualization toolkit')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/tensorflow/tensorflow/archive/v${_pkgver}.tar.gz";
         
numpy1.20.patch::https://github.com/tensorflow/tensorflow/commit/75ea0b31477d6ba9e990e296bbbd8ca4e7eebadf.patch
         build-against-actual-mkl.patch)
@@ -246,7 +245,7 @@
 }
 
 package_python-tensorflow() {
-  depends+=(tensorflow python-termcolor python-astor python-gast python-numpy 
python-protobuf absl-py python-h5py python-keras-applications 
python-keras-preprocessing python-tensorflow-estimator python-opt_einsum 
python-astunparse)
+  depends+=(tensorflow python-termcolor python-astor python-gast python-numpy 
python-protobuf absl-py python-h5py python-keras-applications 
python-keras-preprocessing python-tensorflow-estimator python-opt_einsum 
python-astunparse python-pasta)
 
   cd "${srcdir}"/tensorflow-${_pkgver}
   _python_package tmp
@@ -254,7 +253,7 @@
 
 package_python-tensorflow-opt() {
   pkgdesc="Library for computation using data flow graphs for scalable machine 
learning (with CPU optimizations)"
-  depends+=(tensorflow-opt python-termcolor python-astor python-gast 
python-numpy python-protobuf absl-py python-h5py python-keras-applications 
python-keras-preprocessing python-tensorflow-estimator python-opt_einsum 
python-astunparse)
+  depends+=(tensorflow-opt python-termcolor python-astor python-gast 
python-numpy python-protobuf absl-py python-h5py python-keras-applications 
python-keras-preprocessing python-tensorflow-estimator python-opt_einsum 
python-astunparse python-pasta)
   conflicts=(python-tensorflow)
   provides=(python-tensorflow)
 
@@ -264,7 +263,7 @@
 
 package_python-tensorflow-cuda() {
   pkgdesc="Library for computation using data flow graphs for scalable machine 
learning (with CUDA)"
-  depends+=(tensorflow-cuda python-termcolor python-astor python-gast 
python-numpy cuda cudnn python-pycuda python-protobuf absl-py nccl python-h5py 
python-keras-applications python-keras-preprocessing 
python-tensorflow-estimator python-opt_einsum python-astunparse)
+  depends+=(tensorflow-cuda python-termcolor python-astor python-gast 
python-numpy cuda cudnn python-pycuda python-protobuf absl-py nccl python-h5py 
python-keras-applications python-keras-preprocessing 
python-tensorflow-estimator python-opt_einsum python-astunparse python-pasta)
   conflicts=(python-tensorflow)
   provides=(python-tensorflow)
 
@@ -274,7 +273,7 @@
 
 package_python-tensorflow-opt-cuda() {
   pkgdesc="Library for computation using data flow graphs for scalable machine 
learning (with CUDA and CPU optimizations)"
-  depends+=(tensorflow-opt-cuda python-termcolor python-astor python-gast 
python-numpy cuda cudnn python-pycuda python-protobuf absl-py nccl python-h5py 
python-keras-applications python-keras-preprocessing 
python-tensorflow-estimator python-opt_einsum python-astunparse)
+  depends+=(tensorflow-opt-cuda python-termcolor python-astor python-gast 
python-numpy cuda cudnn python-pycuda python-protobuf absl-py nccl python-h5py 
python-keras-applications python-keras-preprocessing 
python-tensorflow-estimator python-opt_einsum python-astunparse python-pasta)
   conflicts=(python-tensorflow)
   provides=(python-tensorflow python-tensorflow-cuda)
 

Reply via email to