[arch-commits] Commit in python-tensorflow-serving-api/repos (2 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Oct 12 16:13:35 UTC 2018
Date: Friday, October 12, 2018 @ 16:13:35
Author: svenstaro
Revision: 393241
archrelease: copy trunk to community-any
Added:
python-tensorflow-serving-api/repos/community-any/
python-tensorflow-serving-api/repos/community-any/PKGBUILD
(from rev 393240, python-tensorflow-serving-api/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-tensorflow-serving-api/repos/community-any/PKGBUILD (from rev 393240, python-tensorflow-serving-api/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-10-12 16:13:35 UTC (rev 393241)
@@ -0,0 +1,26 @@
+# 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.11.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=('180535787b7892a4f526a6efffd0d3b752689d35af7ce95f923fc5f013da8560')
+
+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
+}
More information about the arch-commits
mailing list