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
This commit is contained in:
Sharlatan Hellseher 2024-03-17 15:37:50 +00:00
parent c8fdd007f9
commit 4fd0c88dc6
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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