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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Apr 20 07:29:25 UTC 2020


    Date: Monday, April 20, 2020 @ 07:29:25
  Author: svenstaro
Revision: 616866

upgpkg: python-tensorflow-estimator 2.2.0-1

Modified:
  python-tensorflow-estimator/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-20 06:47:35 UTC (rev 616865)
+++ PKGBUILD	2020-04-20 07:29:25 UTC (rev 616866)
@@ -2,8 +2,7 @@
 # Maintainer: Konstantin Gizdov (kgizdov) <arch at kge.pw>
 
 pkgname=python-tensorflow-estimator
-pkgver=2.1.0
-_pkgver=2.1
+pkgver=2.2.0
 pkgrel=1
 pkgdesc="A high-level TensorFlow API that greatly simplifies machine learning programming"
 url="https://github.com/tensorflow/estimator"
@@ -11,11 +10,11 @@
 arch=('any')
 depends=('python-wrapt')
 makedepends=('bazel' 'python-wheel' 'python-setuptools' 'python-pip' 'python-tensorflow')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tensorflow/estimator/archive/v${_pkgver}.tar.gz")
-sha512sums=('4aaa21969299b02443e9396c238ef4c03af3bde1d0142a81c04d9706f18b02bfd125f3aaf8ffb47e0a3ffad949c3d3bca3909375f12a1c1e4c55ca1cc7930d51')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tensorflow/estimator/archive/v${pkgver}.tar.gz")
+sha512sums=('aaf743835e2c606439fcccb56742997e930ba0e72c01d51633ce86824bbfaacd64607dc1fd7fb9604cc444feb65ebae60c2266be084e1b49ef2a1a9ca5a3d60d')
 
 build() {
-  cd estimator-${_pkgver}
+  cd estimator-${pkgver}
 
   bazel build //tensorflow_estimator/tools/pip_package:build_pip_package
   bazel-bin/tensorflow_estimator/tools/pip_package/build_pip_package ${srcdir}/estimator_pip
@@ -22,7 +21,7 @@
 }
 
 check() {
-  cd estimator-${_pkgver}
+  cd estimator-${pkgver}
 
   # Of course, upstream doesn't care about working tests...
   # Revisit this at some point.
@@ -30,7 +29,7 @@
 }
 
 package() {
-  cd estimator-${_pkgver}
+  cd estimator-${pkgver}
 
   WHEEL_PACKAGE=$(find ${srcdir}/estimator_pip -name "tensor*.whl")
   pip install --ignore-installed --upgrade --root "$pkgdir"/ $WHEEL_PACKAGE --no-dependencies



More information about the arch-commits mailing list