Lukas Fleischer pushed to branch main at Arch Linux / Packaging / Packages / 
python-tensorflow-serving-api


Commits:
18acf0ae by Lukas Fleischer at 2024-04-19T11:41:46+07:00
upgpkg: 2.16.1-1: update to 2.16.1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = python-tensorflow-serving-api
        pkgdesc = Serving system for machine learning models, designed for 
production environments
-       pkgver = 2.14.0
+       pkgver = 2.16.1
        pkgrel = 1
        url = https://www.tensorflow.org/serving/
        arch = any
@@ -14,8 +14,8 @@ pkgbase = python-tensorflow-serving-api
        depends = python-grpcio
        depends = python-tensorflow
        depends = python-protobuf
-       source = 
python-tensorflow-serving-api-2.14.0.tar.gz::https://github.com/tensorflow/serving/archive/2.14.0.tar.gz
-       b2sums = 
a479b7f0ac3ebfb2a910bfc796884bdeb1d74499f11751e31fd293815289b28a9f0a93e1a9db64d7890398eb5e88716988f582bf1c9c03a7773ba3bff81f4ab9
+       source = 
python-tensorflow-serving-api-2.16.1.tar.gz::https://github.com/tensorflow/serving/archive/2.16.1.tar.gz
+       b2sums = 
704fdf4fa731a7ef8857199e37d7ee05dcb73367a4a93adedfeafb2e69ad2d4764d26c3d683d0474ac006ec5820e2c437c1d8f4fbde477d20491000033581d2d
 
 pkgname = python-tensorflow-serving-api
 


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 pkgbase=python-tensorflow-serving-api
 pkgname=("${pkgbase}" "${pkgbase}"-gpu)
 _pkgname=tensorflow_serving_api
-pkgver=2.14.0
+pkgver=2.16.1
 pkgrel=1
 pkgdesc="Serving system for machine learning models, designed for production 
environments"
 arch=(any)
@@ -12,19 +12,22 @@ license=('Apache')
 depends=('python' 'python-grpcio' 'python-tensorflow' 'python-protobuf')
 makedepends=('bazel' 'git' 'python-build' 'python-installer' 'python-wheel')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/tensorflow/serving/archive/${pkgver}.tar.gz";)
-b2sums=('a479b7f0ac3ebfb2a910bfc796884bdeb1d74499f11751e31fd293815289b28a9f0a93e1a9db64d7890398eb5e88716988f582bf1c9c03a7773ba3bff81f4ab9')
+b2sums=('704fdf4fa731a7ef8857199e37d7ee05dcb73367a4a93adedfeafb2e69ad2d4764d26c3d683d0474ac006ec5820e2c437c1d8f4fbde477d20491000033581d2d')
 
 build() {
-  cd serving-*
-  bazel build -c opt tensorflow_serving/tools/pip_package:build_pip_package
+  cd "${srcdir}/serving-${pkgver}"
+
+  bazel build --enable_bzlmod=no -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
+
   mkdir "${srcdir}/dist"
   bazel-bin/tensorflow_serving/tools/pip_package/build_pip_package 
"${srcdir}/dist"
   ls -lah "${srcdir}/dist"
 }
 
 package_python-tensorflow-serving-api() {
-  cd serving-*
+  cd "${srcdir}/serving-${pkgver}"
+
   python -m installer --destdir="${pkgdir}" "${srcdir}/dist/${_pkgname}"-*.whl
   install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
 }
@@ -33,7 +36,8 @@ package_python-tensorflow-serving-api-gpu() {
   pkgdesc+=" (with GPU support)"
   provides=(python-tensorflow-serving-api)
   conflicts=(python-tensorflow-serving-api)
-  cd serving-*
+
+  cd "${srcdir}/serving-${pkgver}"
   python -m installer --destdir="${pkgdir}" 
"${srcdir}/dist/${_pkgname}"_gpu-*.whl
   install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-tensorflow-serving-api/-/commit/18acf0aec1e888572f8aa8be7689b11375f40799

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-tensorflow-serving-api/-/commit/18acf0aec1e888572f8aa8be7689b11375f40799
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to