From patchwork Thu Apr 7 16:29:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Collin J. Doering" X-Patchwork-Id: 38381 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5676D27BBEA; Thu, 7 Apr 2022 17:32:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1F5FD27BBE9 for ; Thu, 7 Apr 2022 17:32:21 +0100 (BST) Received: from localhost ([::1]:51998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncV3U-0007me-4v for patchwork@mira.cbaines.net; Thu, 07 Apr 2022 12:32:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncV2K-0007V4-3X for guix-patches@gnu.org; Thu, 07 Apr 2022 12:31:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39319) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncV2E-0006Li-Ii for guix-patches@gnu.org; Thu, 07 Apr 2022 12:31:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncV2E-0002FP-Fx for guix-patches@gnu.org; Thu, 07 Apr 2022 12:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54768] [PATCH 1/3] gnu: Add python-ofxhome References: <87bkxcooby.fsf@rekahsoft.ca> In-Reply-To: <87bkxcooby.fsf@rekahsoft.ca> Resent-From: "Collin J. Doering" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Apr 2022 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54768@debbugs.gnu.org Cc: "Collin J. Doering" Received: via spool by 54768-submit@debbugs.gnu.org id=B54768.16493490278550 (code B ref 54768); Thu, 07 Apr 2022 16:31:02 +0000 Received: (at 54768) by debbugs.gnu.org; 7 Apr 2022 16:30:27 +0000 Received: from localhost ([127.0.0.1]:33206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncV1f-0002Dk-Bi for submit@debbugs.gnu.org; Thu, 07 Apr 2022 12:30:27 -0400 Received: from out2.migadu.com ([188.165.223.204]:63275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncV1d-0002DR-DD for 54768@debbugs.gnu.org; Thu, 07 Apr 2022 12:30:26 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rekahsoft.ca; s=key1; t=1649349023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=0PtJun3D9FCtrTsT+zEeQCA0ylWHfu0bKdMf5dLEfhA=; b=hyLciFWkDOCSxMeZYN7vmJ6phgLVF+evypjIank9MPH4vFlFDSj0bBsOXGgmFcPlFEM/8j P84a8DFj6TPGUdgoAXT8bac2tIt8FuClnIVgIuz7P5WmBAA4jVpZBCdadBhR/sxksLsPAe qzQj5Y+Y5zSZWVeCQVvHwFRA1mVnDF8= Date: Thu, 7 Apr 2022 12:29:39 -0400 Message-Id: <20220407162941.29133-1-collin@rekahsoft.ca> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rekahsoft.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: "Collin J. Doering" X-ACL-Warn: , "Collin J. Doering via Guix-patches" X-Patchwork-Original-From: "Collin J. Doering via Guix-patches" via From: "Collin J. Doering" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-ofxhome): New variable --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 55705ab2ea..dba7a88188 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28504,6 +28504,26 @@ (define-public python-ofxparse statements in OFX files.") (license license:expat))) +(define-public python-ofxhome + (package + (name "python-ofxhome") + (version "0.3.3") + ;; Source from git instead of pypi as test data is not included in pypi tarball + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/captin411/ofxhome") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1n1vvdjwzxfprqapcxj7c44m0gp5w23qsdna550ghsdfv09rnplb")))) + (build-system python-build-system) + (home-page "https://github.com/captin411/ofxhome") + (synopsis "REST client for ofxhome.com financial institution lookups") + (description "REST client for ofxhome.com financial institution lookups.") + (license license:expat))) + (define-public python-stripe (package (name "python-stripe") From patchwork Thu Apr 7 16:29:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Collin J. Doering" X-Patchwork-Id: 38382 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F282B27BBEA; Thu, 7 Apr 2022 17:32:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B030327BBE9 for ; Thu, 7 Apr 2022 17:32:46 +0100 (BST) Received: from localhost ([::1]:53228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncV3t-0000Bd-O3 for patchwork@mira.cbaines.net; Thu, 07 Apr 2022 12:32:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncV2K-0007V5-4A for guix-patches@gnu.org; Thu, 07 Apr 2022 12:31:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39320) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncV2E-0006Ll-Ut for guix-patches@gnu.org; Thu, 07 Apr 2022 12:31:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncV2E-0002FX-S6 for guix-patches@gnu.org; Thu, 07 Apr 2022 12:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54768] [PATCH 2/3] gnu: Add python-ofxclient Resent-From: "Collin J. Doering" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Apr 2022 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54768@debbugs.gnu.org Cc: "Collin J. Doering" Received: via spool by 54768-submit@debbugs.gnu.org id=B54768.16493490288557 (code B ref 54768); Thu, 07 Apr 2022 16:31:02 +0000 Received: (at 54768) by debbugs.gnu.org; 7 Apr 2022 16:30:28 +0000 Received: from localhost ([127.0.0.1]:33208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncV1f-0002Dr-Oj for submit@debbugs.gnu.org; Thu, 07 Apr 2022 12:30:28 -0400 Received: from out2.migadu.com ([188.165.223.204]:63289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncV1d-0002DT-RF for 54768@debbugs.gnu.org; Thu, 07 Apr 2022 12:30:26 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rekahsoft.ca; s=key1; t=1649349025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/c1j774upkyXLTk++9i44zleZygqv5oPsnHm7521cfs=; b=DKVd2PXrubysTQFWm6oGO1WhMmbHB60BuTLVsYhsLRbguKXaY/6krwLyDqN1+ZTdM4WPbk 7m6dxNkAvx3LPBCO3PotD1g7yuNwiUVtfSlDXIMqfehyvkxyfKvDy+u4bwwW6KyMrnVBf+ M+Czju97lGl6bQ2Ip0ka1TgmS1rv5wU= Date: Thu, 7 Apr 2022 12:29:40 -0400 Message-Id: <20220407162941.29133-2-collin@rekahsoft.ca> In-Reply-To: <20220407162941.29133-1-collin@rekahsoft.ca> References: <20220407162941.29133-1-collin@rekahsoft.ca> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rekahsoft.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: "Collin J. Doering" X-ACL-Warn: , "Collin J. Doering via Guix-patches" X-Patchwork-Original-From: "Collin J. Doering via Guix-patches" via From: "Collin J. Doering" X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Thu Apr 7 16:29:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Collin J. Doering" X-Patchwork-Id: 38383 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 182F127BBEA; Thu, 7 Apr 2022 17:33:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D5CF127BBE9 for ; Thu, 7 Apr 2022 17:33:11 +0100 (BST) Received: from localhost ([::1]:54200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncV4H-0000tO-70 for patchwork@mira.cbaines.net; Thu, 07 Apr 2022 12:33:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncV2K-0007V2-3I for guix-patches@gnu.org; Thu, 07 Apr 2022 12:31:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncV2F-0006Ln-BU for guix-patches@gnu.org; Thu, 07 Apr 2022 12:31:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncV2F-0002Fe-89 for guix-patches@gnu.org; Thu, 07 Apr 2022 12:31:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54768] [PATCH 3/3] gnu: Add ledger-autosync Resent-From: "Collin J. Doering" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Apr 2022 16:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54768@debbugs.gnu.org Cc: "Collin J. Doering" Received: via spool by 54768-submit@debbugs.gnu.org id=B54768.16493490308567 (code B ref 54768); Thu, 07 Apr 2022 16:31:03 +0000 Received: (at 54768) by debbugs.gnu.org; 7 Apr 2022 16:30:30 +0000 Received: from localhost ([127.0.0.1]:33210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncV1i-0002E6-4y for submit@debbugs.gnu.org; Thu, 07 Apr 2022 12:30:30 -0400 Received: from out2.migadu.com ([188.165.223.204]:63306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncV1f-0002Di-1O for 54768@debbugs.gnu.org; Thu, 07 Apr 2022 12:30:27 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rekahsoft.ca; s=key1; t=1649349026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EbXs50LEcdgxT7KXp4ILy2qQYIXd78nploAGd+E9sCY=; b=I/eVq9H7BLfjW7AU9LbU5iyLWCjJGWD1TA23GYDe8HqijG3r5Z0DndY/2ofwBWHAGwol8O HVuY9wxssTv7+uK1gkJwnkh8u4V2FYou9WHxTIJoh03KdtcUM6Eux9r8gJ4KrJK0eWWjkf 7jlKYp7il/OfOlitoJA3SC1Lx5iGMzI= Date: Thu, 7 Apr 2022 12:29:41 -0400 Message-Id: <20220407162941.29133-3-collin@rekahsoft.ca> In-Reply-To: <20220407162941.29133-1-collin@rekahsoft.ca> References: <20220407162941.29133-1-collin@rekahsoft.ca> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rekahsoft.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: "Collin J. Doering" X-ACL-Warn: , "Collin J. Doering via Guix-patches" X-Patchwork-Original-From: "Collin J. Doering via Guix-patches" via From: "Collin J. Doering" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/finance.scm (ledger-autosync): New variable --- gnu/packages/finance.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 9f2d055048..1b23379a30 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -394,6 +394,23 @@ (define-public ledger "file://src/wcwidth.cc" "See src/wcwidth.cc in the distribution."))))) +(define-public ledger-autosync + (package + (name "ledger-autosync") + (version "1.0.3") + (source (origin + (method url-fetch) + (uri (pypi-uri "ledger-autosync" version)) + (sha256 + (base32 + "0i4942qbsphq72zx7kd3rgw25rpq4fg4vl43akkl189wzcrgwv6j")))) + (build-system python-build-system) + (inputs (list python-ofxclient python-ofxparse)) + (home-page "https://gitlab.com/egh/ledger-autosync") + (synopsis "Automatically sync your bank's data with ledger") + (description "Automatically sync your bank's data with ledger") + (license license:gpl3))) + (define-public emacs-ledger-mode (package (name "emacs-ledger-mode")