Torsten Keßler pushed to branch main at Arch Linux / Packaging / Packages / 
python-onnx


Commits:
63327d60 by Torsten Keßler at 2024-04-04T10:26:07+02:00
upgpkg: 1:1.16.0-1

* new upstream release
* python 3.12 rebuild

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-onnx
        pkgdesc = Open standard for machine learning interoperability
-       pkgver = 1.15.0
-       pkgrel = 3
+       pkgver = 1.16.0
+       pkgrel = 1
        epoch = 1
        url = https://onnx.ai
        arch = x86_64
@@ -17,7 +17,7 @@ pkgbase = python-onnx
        depends = protobuf
        depends = python-protobuf
        depends = python-numpy
-       source = python-onnx::git+https://github.com/onnx/onnx.git#tag=v1.15.0
-       sha512sums = SKIP
+       source = python-onnx::git+https://github.com/onnx/onnx.git#tag=v1.16.0
+       sha512sums = 
9d0d6ca4d0808e12ef1c10a38c2232ee6f0f4c996186c66d16819f72c379d0d708a3d29724b6d1c46bb38a9d1eec7ba05022cb85a2dc34f0f40d959fc6b6ea48
 
 pkgname = python-onnx


=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
 # Contributor: Butui Hu <hot123tea...@gmail.com>
 
 pkgname=python-onnx
-pkgver=1.15.0
-pkgrel=3
+pkgver=1.16.0
+pkgrel=1
 epoch=1
 pkgdesc='Open standard for machine learning interoperability'
 arch=('x86_64')
@@ -25,12 +25,14 @@ makedepends=(
   python-wheel
 )
 source=("${pkgname}::git+https://github.com/onnx/onnx.git#tag=v${pkgver}";)
-sha512sums=('SKIP')
+sha512sums=('9d0d6ca4d0808e12ef1c10a38c2232ee6f0f4c996186c66d16819f72c379d0d708a3d29724b6d1c46bb38a9d1eec7ba05022cb85a2dc34f0f40d959fc6b6ea48')
+
 
 prepare() {
   cd "${pkgname}"
-  # bump CMAKE_CXX_STANDARD to 17, see also 
https://github.com/onnx/onnx/pull/5119
-  sed -i 's#CMAKE_CXX_STANDARD 14#CMAKE_CXX_STANDARD 17#' CMakeLists.txt
+  # Remove cmake and protobuf dependencies since we don't want to pull the
+  # corresponding packages from PyPI
+  sed -i 's/requires = .*/requires = ["setuptools"]/' pyproject.toml
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-onnx/-/commit/63327d60cc2270c4501b1be34a8bdf66dd466df5

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-onnx/-/commit/63327d60cc2270c4501b1be34a8bdf66dd466df5
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to