guix-patches
[Top][All Lists]
Advanced

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

[bug#54768] [PATCH 2/3] gnu: Add python-ofxclient


From: Collin J. Doering
Subject: [bug#54768] [PATCH 2/3] gnu: Add python-ofxclient
Date: Thu, 7 Apr 2022 12:29:40 -0400

* gnu/packages/python-xyz.scm (python-ofxclient): New variable
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dba7a88188..043933a3f3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28524,6 +28524,35 @@ (define-public python-ofxhome
     (description "REST client for ofxhome.com financial institution lookups.")
     (license license:expat)))
 
+(define-public python-ofxclient
+  (package
+    (name "python-ofxclient")
+    (version "2.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "ofxclient" version))
+              (sha256
+               (base32
+                "0jdhqsbl34yn3n0x6mwsnl58c25v5lp6vr910c2hk7l74l5y7538"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-beautifulsoup4" ,python-beautifulsoup4)
+                         ("python-keyring" ,python-keyring)
+                         ("python-lxml" ,python-lxml)
+                         ("python-ofxhome" ,python-ofxhome)
+                         ("python-ofxparse" ,python-ofxparse)))
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'relax-requirements
+                    (lambda _
+                      (substitute* "setup.py"
+                        ;; tests fail unless argparse is explicitly removed 
from setup.py
+                        ;; this has no impact as argparse is included in 
python 2.7+
+                        ((".*['\"]argparse['\"],.*") "")) #t)))))
+    (home-page "https://github.com/captin411/ofxclient";)
+    (synopsis "OFX client for dowloading transactions from banks")
+    (description "OFX client for dowloading transactions from banks.")
+    (license license:expat)))
+
 (define-public python-stripe
   (package
     (name "python-stripe")
-- 
2.34.0






reply via email to

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