[arch-commits] Commit in python-tensorflow-estimator/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Mon Jun 17 22:55:05 UTC 2019
Date: Monday, June 17, 2019 @ 22:55:05
Author: svenstaro
Revision: 482045
upgpkg: python-tensorflow-estimator 1.14.0rc1-1
Modified:
python-tensorflow-estimator/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-17 22:50:58 UTC (rev 482044)
+++ PKGBUILD 2019-06-17 22:55:05 UTC (rev 482045)
@@ -2,18 +2,20 @@
# Maintainer: Konstantin Gizdov (kgizdov) <arch at kge.pw>
pkgname=python-tensorflow-estimator
-pkgver=1.13.0
-pkgrel=2
+pkgver=1.14.0rc1
+_pkgver=1.14.0-rc1
+pkgrel=1
pkgdesc="A high-level TensorFlow API that greatly simplifies machine learning programming"
url="https://github.com/tensorflow/estimator"
license=('APACHE')
arch=('any')
+depends=('python-wrapt')
makedepends=('bazel' 'python-wheel' 'python-setuptools' 'python-pip' 'python-tensorflow')
-source=("https://github.com/tensorflow/estimator/archive/v${pkgver}.tar.gz")
-sha512sums=('e4be92b805776d2be5f391f737f1043b994f42721173c4d4a7dbf3fac9b00121cb072091a474bf71c7dcd952fc8b330cf9254c7a5ad9d096ba1cdc12ba12078b')
+source=("https://github.com/tensorflow/estimator/archive/v${_pkgver}.tar.gz")
+sha512sums=('59d9505b01c8bb1f88ab310f341c8a96c3699676e0440b04ade76d66a3940c94b50a2f8ba1704873aae9c6dde0be3d734f0c8f3cf99901b17baa82704d784085')
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
@@ -20,7 +22,7 @@
}
check() {
- cd estimator-${pkgver}
+ cd estimator-${_pkgver}
# Of course, upstream doesn't care about working tests...
# Revisit this at some point.
@@ -28,7 +30,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