diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-20 18:43:40 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-20 18:43:40 +0200 |
| commit | b9e8c9bfce44bcc9afb6ae6d41a0c3096f3acf1b (patch) | |
| tree | d0087ff526af21b3110c48bb2dcdc119b18a9174 /python3-onnxruntime/python3-onnxruntime.SlackBuild | |
| parent | 5d4662795cc58d12648b77aeafda78c2ae1dcd8d (diff) | |
| download | my-slackbuilds-b9e8c9bfce44bcc9afb6ae6d41a0c3096f3acf1b.tar.gz my-slackbuilds-b9e8c9bfce44bcc9afb6ae6d41a0c3096f3acf1b.zip | |
python3-onnxruntime: update to 1.29.0
Diffstat (limited to 'python3-onnxruntime/python3-onnxruntime.SlackBuild')
| -rw-r--r-- | python3-onnxruntime/python3-onnxruntime.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python3-onnxruntime/python3-onnxruntime.SlackBuild b/python3-onnxruntime/python3-onnxruntime.SlackBuild index 8ed4fa8..5b9fb74 100644 --- a/python3-onnxruntime/python3-onnxruntime.SlackBuild +++ b/python3-onnxruntime/python3-onnxruntime.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-onnxruntime -VERSION=${VERSION:-1.28.0} +VERSION=${VERSION:-1.29.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -55,7 +55,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT python3 -m installer --destdir "$PKG" \ - "$CWD/$SRCNAM-$VERSION-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl" + "$CWD/$SRCNAM-$VERSION-cp312-cp312-manylinux_2_28_x86_64.whl" + +# The wheel ships the CPython extension as non-executable; sbopkglint wants +# ELF shared objects executable. +find $PKG -type f -name '*.so' -exec chmod 755 {} \; find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |
