Daniel Bermond pushed to branch main at Arch Linux / Packaging / Packages / 
libsvm


Commits:
bf395182 by Daniel Bermond at 2026-03-06T00:13:59-03:00
upgpkg: 3.37-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = libsvm
        pkgdesc = Library for support vector machines (SVM) classification and 
regression
-       pkgver = 3.36
-       pkgrel = 3
+       pkgver = 3.37
+       pkgrel = 1
        url = https://www.csie.ntu.edu.tw/~cjlin/libsvm/
        arch = x86_64
        license = BSD-3-Clause
@@ -24,11 +24,11 @@ pkgbase = libsvm
        optdepends = python-numpy: for python bindings
        optdepends = python-scipy: for python bindings
        optdepends = qt5-base: for Qt5 interface with svm-toy
-       source = 
https://github.com/cjlin1/libsvm/archive/v336/libsvm-3.36.tar.gz
+       source = 
https://github.com/cjlin1/libsvm/archive/v337/libsvm-3.37.tar.gz
        source = 010-libsvm-fix-qt-headers-path.patch
        source = 020-libsvm-use-archlinux-flags.patch
        source = 030-libsvm-fix-tools-path.patch
-       sha256sums = 
fb90fe1cfa257af59d24cb96c4c033e4541d384952227faa4fbe014eb7e0ac9f
+       sha256sums = 
0324bcaccd4daba0c007ab715589aed2d5e81a9a0c55bf04c8e3922d19dc8145
        sha256sums = 
07bc50e50c3e34823e1669fec1be84a50fcea2307dcf33b00300135e08d2de4d
        sha256sums = 
276e6bad76186a160b2b340e34c6318061b4f7e02f23dfd5cf5ffdd6568b7539
        sha256sums = 
67f57236a6c4b09f051e74f8cb1ef5dbc9b5de3fdbb2b1a6ff86a07db0dd5fb9


=====================================
PKGBUILD
=====================================
@@ -5,8 +5,8 @@
 # Contributor: Tim Huetz <tim at huetz biz>
 
 pkgname=libsvm
-pkgver=3.36
-pkgrel=3
+pkgver=3.37
+pkgrel=1
 pkgdesc='Library for support vector machines (SVM) classification and 
regression'
 arch=('x86_64')
 url='https://www.csie.ntu.edu.tw/~cjlin/libsvm/'
@@ -24,7 +24,7 @@ makedepends=(
     'python-setuptools'
     'python-wheel'
     'qt5-base'
-    # for satisfying pkgcheck:
+    # for satisfying namcap:
     'python-numba'
     'python-numpy'
     'python-scipy')
@@ -38,7 +38,7 @@ 
source=("https://github.com/cjlin1/libsvm/archive/v${pkgver/./}/${pkgname}-${pkg
         '010-libsvm-fix-qt-headers-path.patch'
         '020-libsvm-use-archlinux-flags.patch'
         '030-libsvm-fix-tools-path.patch')
-sha256sums=('fb90fe1cfa257af59d24cb96c4c033e4541d384952227faa4fbe014eb7e0ac9f'
+sha256sums=('0324bcaccd4daba0c007ab715589aed2d5e81a9a0c55bf04c8e3922d19dc8145'
             '07bc50e50c3e34823e1669fec1be84a50fcea2307dcf33b00300135e08d2de4d'
             '276e6bad76186a160b2b340e34c6318061b4f7e02f23dfd5cf5ffdd6568b7539'
             '67f57236a6c4b09f051e74f8cb1ef5dbc9b5de3fdbb2b1a6ff86a07db0dd5fb9')
@@ -79,10 +79,10 @@ package() {
     python -m installer --destdir="$pkgdir" python/dist/*.whl
     
     # NOTE: 'grid.py' can be used either as a CLI/tool or a python module
-    # https://github.com/cjlin1/libsvm/blob/v336/tools/README#L163-L164
+    # https://github.com/cjlin1/libsvm/blob/v337/tools/README#L163-L164
     local _pyver
     _pyver="$(python -c 'import sys; print("%s.%s" %sys.version_info[:2])')"
-    ln -s ../../../../bin/svm-grid.py 
"${pkgdir}/usr/lib/python${_pyver}/site-packages/libsvm/grid.py"
+    ln -sr "${pkgdir}/usr/bin/svm-grid.py" 
"${pkgdir}/usr/lib/python${_pyver}/site-packages/libsvm/grid.py"
     
     # java bindings
     install -D -m644 java/libsvm.jar -t "${pkgdir}/usr/share/java"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libsvm/-/commit/bf3951829f9a2ffb9408ee1377f5a60abdf1cd46

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


Reply via email to