[arch-commits] Commit in python-tensorflow-serving-api/repos/community-any (2 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Feb 14 19:43:38 UTC 2020


    Date: Friday, February 14, 2020 @ 19:43:37
  Author: svenstaro
Revision: 571183

archrelease: copy trunk to community-any

Added:
  python-tensorflow-serving-api/repos/community-any/PKGBUILD
    (from rev 571182, python-tensorflow-serving-api/trunk/PKGBUILD)
Deleted:
  python-tensorflow-serving-api/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   55 ++++++++++++++++++++++++++++---------------------------
 1 file changed, 28 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-14 19:43:24 UTC (rev 571182)
+++ PKGBUILD	2020-02-14 19:43:37 UTC (rev 571183)
@@ -1,27 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: getzze <getzze at gmail dot com>
-pkgname=python-tensorflow-serving-api
-_name=tensorflow_serving_api
-pkgver=2.0.0
-_pkgver=2.0.0
-pkgrel=1
-pkgdesc="Flexible, high-performance serving system for machine learning models, designed for production environments"
-arch=(any)
-url="https://www.tensorflow.org/serving/"
-license=('Apache')
-depends=('python' 'python-grpcio' 'python-tensorflow' 'python-protobuf')
-makedepends=('bazel=0.24.1-1' 'git' 'python-wheel' 'python-pip')
-source=("https://github.com/tensorflow/serving/archive/${_pkgver}.tar.gz")
-sha256sums=('52e2dfed08c185d0fb9da9454063dac053f0889118b38e818b74631ea1b06ebe')
-
-build() {
-  cd serving-*
-  bazel build -c opt tensorflow_serving/tools/pip_package:build_pip_package
-  bazel-bin/tensorflow_serving/tools/pip_package/build_pip_package /tmp/pip
-}
-
-package() {
-  cd serving-*
-  pip install --ignore-installed --upgrade --root "${pkgdir}"/ /tmp/pip/tensorflow_serving*.whl --no-dependencies
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-tensorflow-serving-api/repos/community-any/PKGBUILD (from rev 571182, python-tensorflow-serving-api/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-14 19:43:37 UTC (rev 571183)
@@ -0,0 +1,28 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: getzze <getzze at gmail dot com>
+pkgname=python-tensorflow-serving-api
+_name=tensorflow_serving_api
+pkgver=2.1.0
+_pkgver=2.1.0
+pkgrel=1
+pkgdesc="Flexible, high-performance serving system for machine learning models, designed for production environments"
+arch=(any)
+url="https://www.tensorflow.org/serving/"
+license=('Apache')
+depends=('python' 'python-grpcio' 'python-tensorflow' 'python-protobuf')
+makedepends=('bazel' 'git' 'python-wheel' 'python-pip')
+source=("https://github.com/tensorflow/serving/archive/${_pkgver}.tar.gz")
+sha256sums=('19338a59af96f0056088010fe04416ca09b0e8a9424ef742c392aa93c3b6b4de')
+
+build() {
+  cd serving-*
+  bazel build -c opt tensorflow_serving/tools/pip_package:build_pip_package
+  sed -i "s|bazel-genfiles/|bazel-out/k8-opt/bin/|g" tensorflow_serving/tools/pip_package/build_pip_package.sh
+  bazel-bin/tensorflow_serving/tools/pip_package/build_pip_package /tmp/pip
+}
+
+package() {
+  cd serving-*
+  pip install --ignore-installed --upgrade --root "${pkgdir}"/ /tmp/pip/tensorflow_serving*.whl --no-dependencies
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list