guix-commits
[Top][All Lists]
Advanced

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

02/07: gnu: beancount: Enable sanity check.


From: guix-commits
Subject: 02/07: gnu: beancount: Enable sanity check.
Date: Tue, 19 Mar 2024 05:48:09 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 4fd0c88dc61743cde210150e84231593db4bc7a1
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Mar 17 15:37:50 2024 +0000

    gnu: beancount: Enable sanity check.
    
    Inputs were swapped to propagated-inputs to allow other packages
    depending on `beancount` to pass sanity check.
    
    * gnu/packages/finance.scm (beancount) [arguments] <#:phases>: Remove
    'ignore-googleapis phase. Add 'relax-requirements phase, disabling check
    for "pdfminer2".
    [propagated-inputs]: Add python-google-api-client and
    python-google-auth-oauthlib.
    
    Change-Id: I15af4cd9cdbf5d522b9c5570e3ba60ad4d29e231
---
 gnu/packages/finance.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 32c507cd85..9d9ba26b9e 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1980,18 +1980,18 @@ that allows you to run services and through them access 
the Bitcoin Cash network
       #:tests? #f  ; Says test is missing, not sure why
       #:phases
       #~(modify-phases %standard-phases
-          ;; Not importing the googleapis package for now
-          (add-after 'unpack 'ignore-googleapis
+          (add-after 'unpack 'relax-requirements
             (lambda _
               (substitute* "setup.py"
-                (("'google-api-python-client',") ""))))
-          ;; No module named 'google_auth_oauthlib'
-          (delete 'sanity-check))))
-    (inputs
+                ;; Use compatible fork, and do not fail during sanity check.
+                (("\"pdfminer2\",") "")))))))
+    (propagated-inputs
      (list python-beautifulsoup4
            python-bottle
            python-chardet
            python-dateutil
+           python-google-api-client
+           python-google-auth-oauthlib
            python-lxml
            python-magic
            python-ply



reply via email to

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