From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iFVqKxLen188HgAA0tVLHw (envelope-from ) for ; Mon, 02 Nov 2020 10:23:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QE0yJxLen1+mLQAAbx9fmQ (envelope-from ) for ; Mon, 02 Nov 2020 10:23:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 23639940876 for ; Mon, 2 Nov 2020 10:23:10 +0000 (UTC) Received: from localhost ([::1]:37514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZWzV-00078L-Fx for larch@yhetil.org; Mon, 02 Nov 2020 05:23:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZWzO-00078C-D7 for guix-patches@gnu.org; Mon, 02 Nov 2020 05:23:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZWzO-00023s-4M for guix-patches@gnu.org; Mon, 02 Nov 2020 05:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZWzN-00033a-Vs for guix-patches@gnu.org; Mon, 02 Nov 2020 05:23:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44388] Update emacs-ledger-mode. Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Nov 2020 10:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44388 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 44388@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160431256011707 (code B ref -1); Mon, 02 Nov 2020 10:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Nov 2020 10:22:40 +0000 Received: from localhost ([127.0.0.1]:39882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZWz1-00032l-Hm for submit@debbugs.gnu.org; Mon, 02 Nov 2020 05:22:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:54502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZWyz-00032c-J5 for submit@debbugs.gnu.org; Mon, 02 Nov 2020 05:22:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZWyz-00075f-BR for guix-patches@gnu.org; Mon, 02 Nov 2020 05:22:37 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:35438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZWyu-0001qA-KM for guix-patches@gnu.org; Mon, 02 Nov 2020 05:22:36 -0500 Received: by mail-wm1-x329.google.com with SMTP id h22so8961805wmb.0 for ; Mon, 02 Nov 2020 02:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=yZNLr4TOTWQkLMhNwPC52Y6iXXM6JRxgknntIJrAtbE=; b=Bds4lJGN3Ugb6LoTVlbAPQGnM+X/CssFGmtCn/k7ZGF08hXs3TXByyCHGPG58bh5ew NAVR8NvuzyyknWcV8CSr2NAUDi+KYw/E3CGN5gXRWAxKiH5G+CzA8vs2cJI5q9y1d3g/ j0+koZ3a2xBFgexhL/+860OxyP6u7kg1t0ZOgUqt3+dGzYtlniGxQ1CEQolkx+9FrZL+ lxsMpisGGeIR/ea71q5hMZyad1zXdM/EVYFMISj/6h/AlT9qkfDuSbZMKMloAJ14jmk8 8LWVeFghqhId2rnyM8tCUZJQC7E9Qga2bLQFF48JgmZarRfvMQlqm6qOpKJE87+nTyoD kMDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=yZNLr4TOTWQkLMhNwPC52Y6iXXM6JRxgknntIJrAtbE=; b=Fc6rMcMGqV0JIkOcTj3/w0GuIBKQZSQ6OqnHSvWrjsMVl4izqJP+ObRgF8VlaJ6eDY 5JoxypMNZDwIAL7II1uI8tdDIOPLKJc7OGx3XT+enSDwYMaQpkCdfcIJSPCUSTjmRCvE O1UmPxlJ5JEPtFeDPADxarokqKU48n48CmBuO+OQUddk08OhhYuJprBguoN4Y7cFSJJS kdjn06EaTjc2VPGUHBFvbReKiUZBwBaC3aN2wCRdNYeK7Tu2IrlQie28TXrwdcFhurNC Uvgt1qU3DwZL0zRCNlwVzni8/hkdR4P4M9WojBLa9qx7nLeyHZ3IXmBgn+/PPzryQGZU 8/aQ== X-Gm-Message-State: AOAM531p05p7qlHadwyOOh+Fx72f39uwPKuQxKUIFxQag/JytjM+wdGO n2rOo/ScNyFJ1x+Jmn3oGMucV36QPfA= X-Google-Smtp-Source: ABdhPJzkdLNEoKkXhnkHzyXxOYOmTZGG5/TJCU0h5wv0GHUkDaxgAYOcUdPHf9ydXEEQ8s9JyP4iHA== X-Received: by 2002:a1c:ddd7:: with SMTP id u206mr16146108wmg.27.1604312549147; Mon, 02 Nov 2020 02:22:29 -0800 (PST) Received: from guixSD (host-87-8-141-238.retail.telecomitalia.it. [87.8.141.238]) by smtp.gmail.com with ESMTPSA id s12sm14973737wmc.6.2020.11.02.02.22.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 02:22:28 -0800 (PST) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Date: Mon, 02 Nov 2020 11:22:10 +0100 Message-ID: <871rhc9hyl.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=anothersms@gmail.com; helo=mail-wm1-x329.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.3 (++) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.3 (/) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=Bds4lJGN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: aphlaYWWjk43 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi guix! This patch updetes emacs-ledger-mode to latest tagged version (v4.0.0, November 2019). I also enabled tests. Since I moved form the untagged to the tagged release, I had to change the indentation. Thanks, Nicol=C3=B2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-emacs-ledger-mode-Update-to-4.0.0.patch >From 2c847283ae6ff4783067734ce6d5e101ef72a142 Mon Sep 17 00:00:00 2001 From: nixo Date: Mon, 2 Nov 2020 11:15:06 +0100 Subject: [PATCH] gnu: emacs-ledger-mode: Update to 4.0.0. [arguments]<#:tests?>: Remove argument. [phases] check: Replace with working check phase. --- gnu/packages/finance.scm | 124 +++++++++++++++++++-------------------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 4397cf8ba8..802fb9cc6f 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -293,67 +293,67 @@ in ability, and easy to use.") "See src/wcwidth.cc in the distribution."))))) (define-public emacs-ledger-mode - ;; There have been no new releases since 2016. - (let ((commit "253a20dc62e137ed0ed8e1dd8614ecba116610ea") - (revision "1")) - (package - (name "emacs-ledger-mode") - (version (git-version "3.1.1" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ledger/ledger-mode") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "06wrgkqpgvk17vibrk2qikdlqn8y63jg86marp1wgmram92mb3jk")))) - (build-system cmake-build-system) - (arguments - `(#:modules ((guix build cmake-build-system) - (guix build utils) - (guix build emacs-utils)) - #:imported-modules (,@%cmake-build-system-modules - (guix build emacs-utils)) - #:tests? #f ; there are none - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-site-dir - (lambda _ - (substitute* "CMakeLists.txt" - (("DESTINATION share/emacs/site-lisp/ledger-mode") - "DESTINATION share/emacs/site-lisp")) - #t)) - (add-before 'build 'patch-path - (lambda* (#:key inputs #:allow-other-keys) - (let ((ledger (assoc-ref inputs "ledger"))) - (make-file-writable "ledger-exec.el") - (emacs-substitute-variables "ledger-exec.el" - ("ledger-binary-path" (string-append ledger "/bin/ledger")))) - #t)) - (add-after 'build 'build-doc - (lambda* (#:key outputs #:allow-other-keys) - (let ((target (string-append (assoc-ref outputs "out") - "/share/info"))) - (mkdir-p target) - (invoke "makeinfo" "-o" target - "../source/doc/ledger-mode.texi")) - #t)) - (add-after 'install 'generate-autoload - (lambda* (#:key outputs #:allow-other-keys) - (let* ((site-dir (string-append (assoc-ref outputs "out") - "/share/emacs/site-lisp"))) - (emacs-generate-autoloads ,name site-dir)) - #t))))) - (inputs - `(("ledger" ,ledger))) - (native-inputs - `(("emacs-minimal" ,emacs-minimal) - ("texinfo" ,texinfo))) - (home-page "https://ledger-cli.org/") - (synopsis "Command-line double-entry accounting program") - (description - "Ledger is a powerful, double-entry accounting system that is + (package + (name "emacs-ledger-mode") + (version "4.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ledger/ledger-mode") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1r5rcyxd6d1rqwamzpvqdbkbdf1zbj75aaciqijrklnm59ps244y")))) + (build-system cmake-build-system) + (arguments + `(#:modules ((guix build cmake-build-system) + (guix build utils) + (guix build emacs-utils)) + #:imported-modules (,@%cmake-build-system-modules + (guix build emacs-utils)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-site-dir + (lambda _ + (substitute* "CMakeLists.txt" + (("DESTINATION share/emacs/site-lisp/ledger-mode") + "DESTINATION share/emacs/site-lisp")) + #t)) + (add-before 'build 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((ledger (assoc-ref inputs "ledger"))) + (make-file-writable "ledger-exec.el") + (emacs-substitute-variables "ledger-exec.el" + ("ledger-binary-path" (string-append ledger "/bin/ledger")))) + #t)) + (add-after 'build 'build-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((target (string-append (assoc-ref outputs "out") + "/share/info"))) + (mkdir-p target) + (invoke "makeinfo" "-o" target + "../source/doc/ledger-mode.texi")) + #t)) + (add-after 'install 'generate-autoload + (lambda* (#:key outputs #:allow-other-keys) + (let* ((site-dir (string-append (assoc-ref outputs "out") + "/share/emacs/site-lisp"))) + (emacs-generate-autoloads ,name site-dir)) + #t)) + (replace 'check + (lambda _ + (with-directory-excursion "../source/test" + (invoke "make" "test-batch"))))))) + (inputs + `(("ledger" ,ledger))) + (native-inputs + `(("emacs-minimal" ,emacs-minimal) + ("texinfo" ,texinfo))) + (home-page "https://ledger-cli.org/") + (synopsis "Command-line double-entry accounting program") + (description + "Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line. This may put off some users, since there is no flashy UI, but for those who want unparalleled reporting access to their data there are few alternatives. @@ -367,7 +367,7 @@ a graph or html instead. Ledger is simple in concept, surprisingly rich in ability, and easy to use. This package provides the Emacs mode.") - (license license:gpl2+)))) + (license license:gpl2+))) (define-public geierlein (package -- 2.29.1 --=-=-=--