gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] trunk r10586: update libsvm to 3.35


From: Carl Hansen
Subject: [Gsrc-commit] trunk r10586: update libsvm to 3.35
Date: Mon, 9 Sep 2024 15:35:49 -0400 (EDT)
User-agent: Bazaar (2.7.0dev1)

------------------------------------------------------------
revno: 10586
revision-id: carlhansen@gnu.org-20240909193543-o2et1yesn2gza6o4
parent: carlhansen@gnu.org-20240909040633-tocrg7sqlqodqlo6
committer: carlhansen@gnu.org
branch nick: trunk
timestamp: Mon 2024-09-09 19:35:43 +0000
message:
  update libsvm to 3.35
modified:
  pkg/other/libsvm/Makefile      makefile-20160617200040-lqf8h520dfq0rtk7-53
  pkg/other/libsvm/sha256sums    sha256sums-20160617200040-lqf8h520dfq0rtk7-54
=== modified file 'pkg/other/libsvm/Makefile'
--- a/pkg/other/libsvm/Makefile 2023-04-06 18:57:32 +0000
+++ b/pkg/other/libsvm/Makefile 2024-09-09 19:35:43 +0000
@@ -1,5 +1,5 @@
 # Copyright © 2015 Brandon Invergo <brandon@invergo.net>
-# Copyright © 2021, 2023 Carl Hansen <carlhansen@gnu.org>
+# Copyright © 2021, 2023-2024 Carl Hansen <carlhansen@gnu.org>
 #
 # This file is part of GSRC.
 #
@@ -16,9 +16,9 @@
 # You should have received a copy of the GNU General Public License
 # along with GSRC.  If not, see <http://www.gnu.org/licenses/>.
 
-NAME = LIBSVM
+NAME =  libsvm
 GARNAME = libsvm
-GARVERSION = 3.31
+GARVERSION = 3.35
 HOME_URL = http://www.csie.ntu.edu.tw/~cjlin/libsvm/
 DESCRIPTION = A library for Support Vector Machines
 define BLURB
@@ -35,11 +35,11 @@
 MASTER_SUBDIR = ~cjlin/$(GARNAME)/
 DISTFILES = $(DISTNAME).tar.gz
 BUILD_SCRIPTS = $(WORKSRC)/Makefile
-INSTALL_SCRIPTS = bin lib header python java
+INSTALL_SCRIPTS = bin lib header java python 
 
 BUILDDEPS =
 LIBDEPS =
-
+WORKOBJ = $(WORKSRC)
 ######################################################################
 
 include ../../../gar/gar.mk
@@ -54,7 +54,7 @@
        $(MAKECOOKIE)
 
 install-lib:
-       $(INSTALL_LIB) $(WORKSRC)/libsvm.so.3
+       $(INSTALL_LIB) $(WORKSRC)/libsvm.so.4
        $(SYMLINK_LIB) libsvm.so.3 libsvm.so
        $(MAKECOOKIE)
 
@@ -67,15 +67,17 @@
        $(MAKECOOKIE)
 
 # both python2 and python3
+#
 install-python:
+       @echo "assuming python 2.7 and 3.12, adjust Makefile otherwise..."  
        for f in svm.py svmutil.py; do \
                sed -i '1s/python/python2/' $(WORKSRC)/python/libsvm/$$f; \
                install -D -m644 $(WORKSRC)/python/libsvm/$$f 
$(packageprefix)/lib/python2.7/$$f; \
        done
-       @echo "assuming python 2.7 and 3.9, adjust Makefile otherwise..."  
+       @echo 
        for f in svm.py svmutil.py; do \
                sed -i '1s/python2/python3/' $(WORKSRC)/python/libsvm/$$f; \
-               install -D -m644 $(WORKSRC)/python/libsvm/$$f 
$(packageprefix)/lib/python3.9/$$f; \
+               install -D -m644 $(WORKSRC)/python/libsvm/$$f 
$(packageprefix)/lib/python3.12/$$f; \
        done
        $(MAKECOOKIE)
 

=== modified file 'pkg/other/libsvm/sha256sums'
--- a/pkg/other/libsvm/sha256sums       2023-04-06 18:57:32 +0000
+++ b/pkg/other/libsvm/sha256sums       2024-09-09 19:35:43 +0000
@@ -1,1 +1,1 @@
-00ab561f48df5fc92a84209ad8fe5199eaf2e519b3c279bacfc935978a75cf1f  
download/libsvm-3.31.tar.gz
+ea5633fc84b1c2fa58aa4c44b62e437573020297a1dfbe73bf1531ec817a8478  
download/libsvm-3.35.tar.gz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]