From d1308c5ed27b5ea3f64735f54827bef69835113c Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 10 Jan 2018 03:53:16 +0100 Subject: gnu: libsvm: Update to 3.22. * gnu/packages/machine-learning.scm (libsvm): Update to 3.22. [source]: Use upstream tarball instead of a git snapshot. --- gnu/packages/machine-learning.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index dbd2af1ea4..bd13cedcb3 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016, 2017 Marius Bakke ;;; Copyright © 2016 Hartmut Goebel +;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -52,24 +53,22 @@ (define-public libsvm (package (name "libsvm") - (version "3.20") + (version "3.22") (source (origin (method url-fetch) - (uri (string-append - "https://github.com/cjlin1/libsvm/archive/v" - (string-delete #\. version) ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (uri (string-append "https://www.csie.ntu.edu.tw/~cjlin/libsvm/" + name "-" version ".tar.gz")) (sha256 (base32 - "1jpjlql3frjza7zxzrqqr2firh44fjb8fqsdmvz6bjz7sb47zgp4")))) + "0zd7s19y5vb7agczl6456bn45cj1y64739sslaskw1qk7dywd0bd")))) (build-system gnu-build-system) (arguments `(#:tests? #f ;no "check" target #:phases (modify-phases %standard-phases (delete 'configure) (replace - 'install + 'install ; no ‘install’ target (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin/"))) @@ -100,7 +99,7 @@ classification.") (modify-phases %standard-phases (delete 'configure) (replace - 'install + 'install ; no ‘install’ target (lambda* (#:key inputs outputs #:allow-other-keys) (let ((site (string-append (assoc-ref outputs "out") "/lib/python" -- cgit 1.4.1