gsrc-commit
[Top][All Lists]
Advanced

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

[Gsrc-commit] trunk r7959: update libsvm to 3.25


From: Carl Hansen
Subject: [Gsrc-commit] trunk r7959: update libsvm to 3.25
Date: Fri, 24 Dec 2021 00:08:53 -0500 (EST)
User-agent: Bazaar (2.7.0dev1)

------------------------------------------------------------
revno: 7959
revision-id: carlhansen1234@gmail.com-20211224051017-rqslinpcyrb4is0j
parent: carlhansen1234@gmail.com-20211223233537-en9sghnluzeytwgi
committer: carlhansen1234@gmail.com
branch nick: trunk
timestamp: Thu 2021-12-23 21:10:17 -0800
message:
  update libsvm to 3.25
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 2017-09-26 20:43:07 +0000
+++ b/pkg/other/libsvm/Makefile 2021-12-24 05:10:17 +0000
@@ -1,4 +1,5 @@
 # Copyright © 2015 Brandon Invergo <brandon@invergo.net>
+# Copyright © 2021 Carl Hansen <carlhansen@gnu.org>
 #
 # This file is part of GSRC.
 #
@@ -17,7 +18,7 @@
 
 NAME = LIBSVM
 GARNAME = libsvm
-GARVERSION = 3.22
+GARVERSION = 3.25
 HOME_URL = http://www.csie.ntu.edu.tw/~cjlin/libsvm/
 DESCRIPTION = A library for Support Vector Machines
 define BLURB
@@ -65,13 +66,17 @@
        install -D -m644 $(WORKSRC)/java/libsvm.jar 
$(packageprefix)/share/java/libsvm.jar
        $(MAKECOOKIE)
 
+# both python2 and python3
 install-python:
        for f in svm.py svmutil.py; do \
-               sed -i '1s/python/python2/' $(WORKSRC)/python/$$f; \
-               install -D -m644 $(WORKSRC)/python/$$f 
$(packageprefix)/lib/python2.7/$$f; \
+               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..."  
        for f in svm.py svmutil.py; do \
-               sed -i '1s/python2/python3/' $(WORKSRC)/python/$$f; \
-               install -D -m644 $(WORKSRC)/python/$$f 
$(packageprefix)/lib/python3.4/$$f; \
+               sed -i '1s/python2/python3/' $(WORKSRC)/python/libsvm/$$f; \
+               install -D -m644 $(WORKSRC)/python/libsvm/$$f 
$(packageprefix)/lib/python3.9/$$f; \
        done
        $(MAKECOOKIE)
+
+

=== modified file 'pkg/other/libsvm/sha256sums'
--- a/pkg/other/libsvm/sha256sums       2017-09-26 20:43:07 +0000
+++ b/pkg/other/libsvm/sha256sums       2021-12-24 05:10:17 +0000
@@ -1,1 +1,1 @@
-6d81c67d3b13073eb5a25aa77188f141b242ec328518fad95367ede253d0a77d  
download/libsvm-3.22.tar.gz
+52350e8aa740b176e1d773e9dc08f1340218c37e01bec37ab90db0127e4bb5e5  
download/libsvm-3.25.tar.gz


reply via email to

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