guix-commits
[Top][All Lists]
Advanced

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

74/213: gnu: fava: Update to 1.27.


From: guix-commits
Subject: 74/213: gnu: fava: Update to 1.27.
Date: Fri, 10 Jan 2025 10:42:57 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit b2d5d4cbb77ec6a7cd716a4537e663ad6e2f7d21
Author: Sergey Trofimov <sarg@sarg.org.ru>
AuthorDate: Wed Dec 25 15:01:02 2024 +0100

    gnu: fava: Update to 1.27.
    
    * gnu/packages/finance.scm (fava): Update to 1.27.
    [arguments] <phases>: Remove 'relax-requirements, and 'set-home.
    [native-inputs]: Remove python-chardet, python-dateutil, and
    python-setuptootls-scm. Add python-babel, python-mypy,
    python-pytest-cov, python-setuptootls, python-twine,
    python-types-setuptootls, python-types-simplejson, and python-wheel.
    
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
    Change-Id: Iee27197ece9685c500afe0dedb8ba33e02eb1ea1
---
 gnu/packages/finance.scm | 33 ++++++++++++---------------------
 1 file changed, 12 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 15f85a10c0..68dba4ed1a 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -124,6 +124,7 @@
   #: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)
@@ -2036,29 +2037,14 @@ generate a variety of reports from them, and provides a 
web interface.")
 (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
@@ -2072,10 +2058,15 @@ generate a variety of reports from them, and provides a 
web interface.")
            python-simplejson
            python-werkzeug))
     (native-inputs
-     (list python-pytest
-           python-chardet
-           python-dateutil
-           python-setuptools-scm))
+     (list python-babel
+           python-mypy
+           python-pytest
+           python-pytest-cov
+           python-setuptools
+           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



reply via email to

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