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

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Jan 19 01:19:11 UTC 2019


    Date: Saturday, January 19, 2019 @ 01:19:11
  Author: svenstaro
Revision: 424343

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   53 +++++++++++++++++++++++++++--------------------------
 1 file changed, 27 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-19 01:19:08 UTC (rev 424342)
+++ PKGBUILD	2019-01-19 01:19:11 UTC (rev 424343)
@@ -1,26 +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=1.12.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' 'python-wheel' 'python-pip')
-source=("https://github.com/tensorflow/serving/archive/${pkgver}.tar.gz")
-sha256sums=('67f0f7630f8582f8997eae4da3a9a7082b9e4448826d3bbc5012459ca3a01440')
-
-build() {
-  cd serving-${pkgver}
-  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-${pkgver}
-  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 424342, python-tensorflow-serving-api/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-19 01:19:11 UTC (rev 424343)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: getzze <getzze at gmail dot com>
+pkgname=python-tensorflow-serving-api
+_name=tensorflow_serving_api
+_commit=7bbcc6d
+pkgver=1.12.0.git1.${_commit}
+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' 'python-wheel' 'python-pip')
+source=("https://github.com/tensorflow/serving/archive/${_commit}.tar.gz")
+sha256sums=('e64c1367d9d54cc3ff657b0887b09be5c6ba0e28f6ddbaa76ccc5d9934a8a420')
+
+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
+}



More information about the arch-commits mailing list