all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sergey Trofimov <sarg@sarg.org.ru>
To: 75088@debbugs.gnu.org
Cc: Sergey Trofimov <sarg@sarg.org.ru>, Sergey Trofimov <sarg@sarg.org.ru>
Subject: [bug#75088] [PATCH 7/7] gnu: fava: Update to 1.27.
Date: Wed, 25 Dec 2024 15:01:02 +0100	[thread overview]
Message-ID: <62285a5219fd0bc32d9554f1fe857a559d4121e4.1735134164.git.sarg@sarg.org.ru> (raw)
In-Reply-To: <cover.1735134163.git.sarg@sarg.org.ru>

* gnu/packages/finance.scm (fava): Update to 1.27.
[arguments]: Remove obsolete tweaks.
[native-inputs]: Refresh dependencies.
---
 gnu/packages/finance.scm | 36 +++++++++++++++---------------------
 1 file changed, 15 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 8284ac545d..7662d33e0f 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -124,6 +124,7 @@ (define-module (gnu packages finance)
   #:use-module (gnu packages protobuf)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
+  #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-science)
   #:use-module (gnu packages python-web)
@@ -2033,29 +2034,14 @@ (define-public beancount
 (define-public fava
   (package
     (name "fava")
-    ;; XXX: A newer version requires Flask > 2.2, which is not available in
-    ;; Guix yet.
-    (version "1.24.4")
+    (version "1.27")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "fava" version))
        (sha256
-        (base32 "1iwha9vx223iiyjqbixpz1lp8q766ikhi7xcap3pscjhldxlym4j"))))
+        (base32 "0cw3pmyrknsw0h4w3v9vyk6wrii68zwkywsyyvjzyl2qz3xq8srk"))))
     (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-         (add-after 'unpack 'relax-requirements
-           (lambda _
-             (substitute* "setup.cfg"
-               ((">=8,<10") ">8"))))
-          ;; Tests write to $HOME.
-          ;; FileNotFoundError: [Errno 2] No such file or directory
-          (add-before 'check 'set-home
-            (lambda _
-              (setenv "HOME" "/tmp"))))))
     (propagated-inputs
      (list beancount
            python-babel
@@ -2069,10 +2055,18 @@ (define-public fava
            python-simplejson
            python-werkzeug))
     (native-inputs
-     (list python-pytest
-           python-chardet
-           python-dateutil
-           python-setuptools-scm))
+     (list python-babel
+           python-mypy
+           python-pylint
+           python-pytest
+           python-pytest-cov
+           python-setuptools
+           python-setuptools-scm
+           python-tox
+           python-twine
+           python-types-setuptools
+           python-types-simplejson
+           python-wheel))
     (home-page "https://beancount.github.io/fava/")
     (synopsis "Web interface for the accounting tool Beancount")
     (description "Fava is a web interface for the double-entry bookkeeping
-- 
2.46.0





  parent reply	other threads:[~2024-12-25 14:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-25 13:45 [bug#75088] [PATCH 0/7] Fix beancount and fava builds Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 1/7] gnu: python-babel: Update to 2.16.0 Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 2/7] gnu: python-flask-babel: Update to 4.0.0 Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 3/7] gnu: python-markdown2: Fix build Sergey Trofimov
2024-12-25 14:00 ` [bug#75088] [PATCH 4/7] gnu: python-pdfminer-six: Update to 20240706 Sergey Trofimov
2024-12-25 14:01 ` [bug#75088] [PATCH 5/7] gnu: Add python-types-simplejson Sergey Trofimov
2024-12-25 14:01 ` [bug#75088] [PATCH 6/7] gnu: beancount: Fix build Sergey Trofimov
2024-12-25 14:01 ` Sergey Trofimov [this message]
2024-12-27  9:10 ` bug#75088: [PATCH 0/7] Fix beancount and fava builds Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=62285a5219fd0bc32d9554f1fe857a559d4121e4.1735134164.git.sarg@sarg.org.ru \
    --to=sarg@sarg.org.ru \
    --cc=75088@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.