unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 60238@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#60238] [PATCH v3 2/7] gnu: beancount: Enable sanity check.
Date: Sun, 17 Mar 2024 17:08:09 +0000	[thread overview]
Message-ID: <b14b7aff499a59f1932af6d1700fb50651a763b4.1710694980.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <b02b0095f046dd634e8188b6ca45e208f5d6a126.1710694980.git.sharlatanus@gmail.com>

Inputs was 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 01412b2f0a..b9be19df74 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1980,18 +1980,18 @@ (define-public beancount
       #: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
-- 
2.41.0





  reply	other threads:[~2024-03-17 17:11 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-21 13:07 [bug#60238] [PATCH 0/7] gnu: Add fava dan
2022-12-21 13:13 ` [bug#60238] [PATCH 1/7] gnu: Add python-markdown2 dan
2022-12-21 13:13   ` [bug#60238] [PATCH 2/7] gnu: Add python-portend dan
2022-12-21 13:14   ` [bug#60238] [PATCH 3/7] gnu: Add python-inflect dan
2022-12-21 13:14   ` [bug#60238] [PATCH 4/7] gnu: Add python-jaraco-text dan
2022-12-21 13:14   ` [bug#60238] [PATCH 5/7] gnu: Add python-pypytools dan
2022-12-21 13:14   ` [bug#60238] [PATCH 6/7] gnu: Add python-cheroot dan
2022-12-21 13:14   ` [bug#60238] [PATCH 7/7] gnu: Add fava dan
2023-01-15 14:37 ` [bug#60238] [PATCH 0/7] " dan
2023-01-26 10:02 ` Ludovic Courtès
2023-02-02 16:54 ` [bug#60238] [PATCH v2 " dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 1/7] gnu: Add python-markdown2 dan
2023-02-02 16:58   ` [bug#60238] [PATCH v2 2/7] gnu: Add python-portend dan
2023-02-02 16:58   ` [bug#60238] [PATCH v2 3/7] gnu: Add python-inflect dan
2023-02-02 16:58   ` [bug#60238] [PATCH v2 4/7] gnu: Add python-jaraco-text dan
2023-02-02 16:58   ` [bug#60238] [PATCH v2 5/7] gnu: Add python-pypytools dan
2023-02-02 16:58   ` [bug#60238] [PATCH v2 6/7] gnu: Add python-cheroot dan
2023-02-02 16:58   ` [bug#60238] [PATCH v2 7/7] gnu: Add fava dan
2024-03-17 17:07 ` [bug#60238] [PATCH 0/7] " Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 1/7] gnu: beancount: Adjust packages style Sharlatan Hellseher
2024-03-17 17:08   ` Sharlatan Hellseher [this message]
2024-03-17 17:08   ` [bug#60238] [PATCH v3 3/7] gnu: beancount: Enable tests Sharlatan Hellseher
2024-03-17 17:08   ` [bug#60238] [PATCH v3 4/7] gnu: Add python-markdown2 Sharlatan Hellseher
2024-03-17 17:08   ` [bug#60238] [PATCH v3 5/7] gnu: Add python-pypytools Sharlatan Hellseher
2024-03-17 17:08   ` [bug#60238] [PATCH v3 6/7] gnu: Add python-cheroot Sharlatan Hellseher
2024-03-17 17:08   ` [bug#60238] [PATCH v3 7/7] gnu: Add fava Sharlatan Hellseher
2024-03-19  9:50 ` bug#60238: [PATCH 0/7] " 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=b14b7aff499a59f1932af6d1700fb50651a763b4.1710694980.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=60238@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).