guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: silkaj: Update to 0.6.0.


From: guix-commits
Subject: 01/01: gnu: silkaj: Update to 0.6.0.
Date: Sat, 1 Dec 2018 18:25:26 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit e627052f3c9db4010f2ae8d0d1c04fa710b576fe
Author: Nicolas Goaziou <address@hidden>
Date:   Sun Dec 2 00:23:55 2018 +0100

    gnu: silkaj: Update to 0.6.0.
    
    * gnu/packages/finance.scm (silkaj): Update to 0.6.0.
    [arguments]: Remove #:phases since upstream improved install process.
---
 gnu/packages/finance.scm | 26 +++-----------------------
 1 file changed, 3 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 28bfb28..73662cc 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -875,7 +875,7 @@ main features are:
 (define-public silkaj
   (package
     (name "silkaj")
-    (version "0.5.0")
+    (version "0.6.0")
     (source
      (origin
        (method git-fetch)
@@ -885,30 +885,10 @@ main features are:
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0xy25lpgz04nxikjvxlnlckrc9xmsxyiz2qm0bsiid8cnbdqcn12"))))
+         "02n028rz1pshgh7w0af3b291r8lwvhzskm1q98d991gr8rscvad2"))))
     (build-system python-build-system)
     (arguments
-     `(#:tests? #f                      ;no test
-       #:phases
-       (modify-phases %standard-phases
-         ;; The program is just a bunch of Python files in "src/" directory.
-         ;; Many phases are useless.  However, `python-build-system' correctly
-         ;; sets PYTHONPATH and patches Python scripts.
-         (delete 'configure)
-         (delete 'build)
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (share (string-append out "/share/silkaj"))
-                    (executable (string-append share "/silkaj.py"))
-                    (bin (string-append out "/bin")))
-               ;; Install data.
-               (copy-recursively "src" share)
-               ;; Install executable.
-               (mkdir-p bin)
-               (with-directory-excursion bin
-                 (symlink executable "silkaj")))
-             #t)))))
+     `(#:tests? #f))                    ;no test
     (inputs
      `(("python-commandlines" ,python-commandlines)
        ("python-ipaddress" ,python-ipaddress)



reply via email to

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