From patchwork Sun Mar 17 17:08:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 61913 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 734CD27BBEB; Sun, 17 Mar 2024 17:10:47 +0000 (GMT) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,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 693AC27BBEA for ; Sun, 17 Mar 2024 17:10:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlu1o-0000Xa-LT; Sun, 17 Mar 2024 13:10:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlu1h-0000Eo-S1 for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:25 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlu1h-0001K4-6D for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:25 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rlu2I-0005hS-09 for guix-patches@gnu.org; Sun, 17 Mar 2024 13:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60238] [PATCH v3 1/7] gnu: beancount: Adjust packages style. References: <20221221130751.9303-1-i@dan.games> In-Reply-To: <20221221130751.9303-1-i@dan.games> Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60238@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 60238-submit@debbugs.gnu.org id=B60238.171069540521757 (code B ref 60238); Sun, 17 Mar 2024 17:11:01 +0000 Received: (at 60238) by debbugs.gnu.org; 17 Mar 2024 17:10:05 +0000 Received: from localhost ([127.0.0.1]:58843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1N-0005ep-AS for submit@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:05 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:60677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1L-0005dw-Dw for 60238@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:04 -0400 Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-33e162b1b71so3313452f8f.1 for <60238@debbugs.gnu.org>; Sun, 17 Mar 2024 10:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710695300; x=1711300100; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2xbORON26t7CoJj6eqEpMBDK/N7p+DBsYGCHXbiYanI=; b=XUbCRFZERXAOTDk6lmLsC5TH0y4eLpLUltSVZTRTzyBU4WhqLV1Q8Yuv1IVBj3l4l7 uhwQEctIku8RDEQZTzTcFVO3xBhe6Or/gx2uVI7n0IWcdSY/yJ9ChI20K3eVpdFqiscd gTsoXaJCqy7gC/+eVOJzpfBlXYA2nH6UpYONxV3KezJt6aPMd0oVN7PDdMYKL1f8fJlk HpgGb47qihF7IEHuK6oz9+Fk2yMhX87Cy3T0nWTWMC9bChYwxr4RQy3xvNG7vufSxSCf yA7HkEpKeV80JcqvI7joKsFqJO7/yvU/x3GTi2H5++XtuCzxZottoYFuw3oxU5W5RVDF u99w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710695300; x=1711300100; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2xbORON26t7CoJj6eqEpMBDK/N7p+DBsYGCHXbiYanI=; b=cVvjlM7WNXMc91tltgp1E5waOAuPUT+XkuvJ6hBtf0wQzFRNnHZ1TcgpoBhd5WWy2r BiUagqCes057iQEuhHNN7zm/YAtnGFJSRvYLsuecA5rX+hENynm6FQHdWJHqPXFiw+lg tstCPJGB7c8Br+6H2LVLNYsHok96DGMNT0/z6kL0EaT8/XHD5US3Tza/uZRUWKJJrNTi YEqVh29SX6HvXNOkSCJgftMklol1ic+Wy8gIS7L45yvyB8jHgdc1iYdQxrpr3CuLxh1j v/u/zWX9Mdh9McXof+0CtAweCKjbObgPW3jj8gOJiuHiM6sxCqYK7LQ8h4oNMyxLQhNV twxQ== X-Gm-Message-State: AOJu0YxEvlFFnFoa98rsoExDnaheW7paAyvf5ihym43uw47BQBYS3iWA c2pBMgaqHNTKG/+wBo9mIZXUFiy7lllUSScVwxKP6khuMC4cS5p6URkwmy0ftkM= X-Google-Smtp-Source: AGHT+IEiIgQgTaDrG6OcNPR25HHjmv42Z99ZocKTS9LWgoJWPsnLK/4yWl3BF6ciM7TmwrS7J+TGAA== X-Received: by 2002:adf:f350:0:b0:33d:746b:f360 with SMTP id e16-20020adff350000000b0033d746bf360mr7869601wrp.51.1710695299714; Sun, 17 Mar 2024 10:08:19 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id p10-20020a5d638a000000b0033e206a0a7asm7817968wru.26.2024.03.17.10.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 10:08:19 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 17 Mar 2024 17:08:08 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/finance.scm (beancount) [arguments]: Use G-expressions. <#:phases>: Remove trailing #f from lambda. Change-Id: I3a248c0b233b0f4d73dcc01f269cfb0a12fe06ff --- gnu/packages/finance.scm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) base-commit: d1b6d77aaef3c2a7ecc930de1cce2b9ac20203bf diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 8c30bd1a30..01412b2f0a 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1976,17 +1976,17 @@ (define-public beancount (patches (search-patches "beancount-disable-googleapis-fonts.patch")))) (build-system python-build-system) (arguments - `(#: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 - (lambda _ - (substitute* "setup.py" - (("'google-api-python-client',") "")) - #t)) - ;; No module named 'google_auth_oauthlib' - (delete 'sanity-check)))) + (list + #: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 + (lambda _ + (substitute* "setup.py" + (("'google-api-python-client',") "")))) + ;; No module named 'google_auth_oauthlib' + (delete 'sanity-check)))) (inputs (list python-beautifulsoup4 python-bottle From patchwork Sun Mar 17 17:08:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 61915 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 0755127BBEE; Sun, 17 Mar 2024 17:10:53 +0000 (GMT) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 7AFD927BBEA for ; Sun, 17 Mar 2024 17:10:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlu1n-0000Tm-7S; Sun, 17 Mar 2024 13:10:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlu1h-0000Ej-Re for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:25 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlu1h-0001K5-46 for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:25 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rlu2I-0005ha-Eu for guix-patches@gnu.org; Sun, 17 Mar 2024 13:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60238] [PATCH v3 2/7] gnu: beancount: Enable sanity check. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 17:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60238@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 60238-submit@debbugs.gnu.org id=B60238.171069540621770 (code B ref 60238); Sun, 17 Mar 2024 17:11:02 +0000 Received: (at 60238) by debbugs.gnu.org; 17 Mar 2024 17:10:06 +0000 Received: from localhost ([127.0.0.1]:58846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1N-0005es-Ka for submit@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:06 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:48305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1L-0005dx-TC for 60238@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:04 -0400 Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-33ff53528ceso581297f8f.0 for <60238@debbugs.gnu.org>; Sun, 17 Mar 2024 10:09:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710695300; x=1711300100; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oPLmmKksnz2pUjwp5G6lW8hJ1Ov/JJ6x9rahwAEOE5Y=; b=JB0zHncPyV6npXggpsshfIPc/U9U1ParXnW2NgUy+6zQ9jZpNz+5g9rt+5w/gnjmM3 C4AbSefFcRxd0xMjlLAQnCsl/q21uc+7mN28VMTzEBpF/V/n/3IGuNdG5lBIYQUlbozb 1zpku29cuuXcfzPs3G+o97arfGIp9RraP2cAss1jDpnsYZRs8yHc9ETxYVTCXxf7Ypwr D+laJj6W1jlXJDIYW/PnNw7R135LbZ9Dkr80LhmT/Y2m7i2NZvfd9geu7NqnDBfbnxRZ WCsh32cf+jdpFhdWdjUyCyHNghb0D4R1PvgYZOv7wN5zetzTAfXah/0NWBJ3ohgiCedr slXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710695300; x=1711300100; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oPLmmKksnz2pUjwp5G6lW8hJ1Ov/JJ6x9rahwAEOE5Y=; b=vKXjyYUgxkkHv5GRIa5CbwvTA5SIlN6Yj0RprBgVsHtSdbspVrnNRb2e92vtZtQ3F8 cXyx6lVesMMrmNETNKtxVdZYtDhcp+gHHR3b5qBJhFVT9HCGqwzcDB4VGZIqdE0dcbHn CzcQJq/wYW4wtNiAAHWGtODvT+rbVFpf9PrfWaD2cymcMX1zaPmgfVi/1TdZCHpt2W5Q DXmIMDiUdcUgzoIQNenWzwukAOp+q0eoHmxSjsb0F03jS5EZf9aB+uhVMfLtr7O7637I EHsFqmLuBmVco8tMTyNiocws4wSpoKyirxcMJM9/WNA+SXQwhgI2CGCq4WPBVQ1+mfK9 1OLQ== X-Gm-Message-State: AOJu0YyZ6bW3AqNGNjpGj7MGHQcOt/KgSxlHA544jE+DMOir1ZVuxQOa k1jBFsl1mBoV0odAhyYJUhQ+GLvi4llm0UvA24SYnUAnii6XgzVrPP/dsTJrzBU= X-Google-Smtp-Source: AGHT+IEWeTaYfh9UMqjrDoxmWLC4tGsNkQpmnAwQrk/AMnw9P+z5nRHG1CaCmaAlHgWnxpD5Bxz2lA== X-Received: by 2002:a05:6000:184b:b0:33f:8e6d:ab7c with SMTP id c11-20020a056000184b00b0033f8e6dab7cmr3147786wri.71.1710695300446; Sun, 17 Mar 2024 10:08:20 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id p10-20020a5d638a000000b0033e206a0a7asm7817968wru.26.2024.03.17.10.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 10:08:20 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 17 Mar 2024 17:08:09 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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 From patchwork Sun Mar 17 17:08:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 61912 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 9DC4227BBEC; Sun, 17 Mar 2024 17:10:36 +0000 (GMT) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 8FF6C27BBEB for ; Sun, 17 Mar 2024 17:10:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlu1m-0000Rf-Sa; Sun, 17 Mar 2024 13:10:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlu1h-0000Ek-Rp for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:25 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlu1h-0001K6-C5 for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:25 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rlu2I-0005hh-UY for guix-patches@gnu.org; Sun, 17 Mar 2024 13:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60238] [PATCH v3 3/7] gnu: beancount: Enable tests. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 17:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60238@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 60238-submit@debbugs.gnu.org id=B60238.171069541221805 (code B ref 60238); Sun, 17 Mar 2024 17:11:02 +0000 Received: (at 60238) by debbugs.gnu.org; 17 Mar 2024 17:10:12 +0000 Received: from localhost ([127.0.0.1]:58851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1T-0005fd-IE for submit@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:11 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:48307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1M-0005dz-EL for 60238@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:05 -0400 Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-33ff53528ceso581304f8f.0 for <60238@debbugs.gnu.org>; Sun, 17 Mar 2024 10:09:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710695301; x=1711300101; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CrNVIiql1qzmJ71LRCtsAjJgQdylH1wYzBMsfIXVDYk=; b=UJS+cvvYYpRTvoabiebviVdrPOSLGyFmjqQYucQ3EPij9aOzUtI1QyfzALOci5i1gs DjkSpeV6lokXNc95uLaIwgy1sAYGLVmTh76FsUK3nakUIQNsekMqcZZO/idoqVt7h0/r pSL4pvh7hmDsN6gYvkWlsyt6sYboNiwkTWkwMm293b3j1fO/De2EwvgXRpfiBU9IUfPj ZpOKRII0+j7mLNSvG+9mPQ+X3eYrkD58MwI1kvtn/rrRUKXo2Shnrjut6tI6vPDWKqC6 KCsoKacq+JWbxJjVoe6DFxSSSY5MY5VAYeWXeriHru45poQT/JTa3Wq0/xzzgT6A1KyU 0R+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710695301; x=1711300101; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CrNVIiql1qzmJ71LRCtsAjJgQdylH1wYzBMsfIXVDYk=; b=cgLJapRryxKTd1cDrqAlsQf7X2RGTUBTKuoi16qRMisrhsX9gw6kZF/kahDNYR5+eS EfvED8FSpxG59LwD6jCi6vL+EoWHTYaDO/OEo/jx7b43Wsi5ikAngqpd3A5YhcqE5CtA JKt+4V61JJezhP0Cg5gpJcY/K4tL8yaIO435L1bKZrKldRov37X6N5Ge8DESMi2FahM7 F7NLSdSbBmp9BZHipKhbRHA34ywlo8idS17vhbu3J4+UVOIdiOkJtMtmI3UKQtre4t2z diHiaJqd6mfxI7WZthasRfRAtoSUY4v849GIryTpuy6th2kRAm9g2PG1OAcH1Q3d2JMh L4gg== X-Gm-Message-State: AOJu0YzgSj3vFqEnKWNYadah5PFoxbYa/oFqbquGdnlFfP56Atl71ZiC ilxcJm+267HI7C1dryn/PsvWB/D/gkp8zMw2El7dAYJucRqMCA02kV5M7NTsPA4= X-Google-Smtp-Source: AGHT+IHopDT8Z9TAOfNDyKYiJ8Z5pJn2JhqFy988sbVe2jcf2uEkFjPd0LDgp0vo5/9KSdxfTs05BA== X-Received: by 2002:a5d:6b4b:0:b0:33e:b1e7:742a with SMTP id x11-20020a5d6b4b000000b0033eb1e7742amr6293232wrw.10.1710695301115; Sun, 17 Mar 2024 10:08:21 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id p10-20020a5d638a000000b0033e206a0a7asm7817968wru.26.2024.03.17.10.08.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 10:08:20 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 17 Mar 2024 17:08:10 +0000 Message-ID: <22f333c6950d102e1e0fa34dc6f25e4518a2d469.1710694980.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/finance.scm (beancount) [source]: Swap to git checkout, containing all required test data files. [build-system]: Swap to pyproject-build-system. [arguments] <#:phases>: Add 'build-extensions phase. [propagated-inputs]: python-auth2client. [native-inputs]: Add gnupg and python-pdfminer-six. Change-Id: Id0c725cae8cdc677ad0c3a0a75be6eea682eee05 --- gnu/packages/finance.scm | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index b9be19df74..c248f614ab 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2023 Foundation Devices, Inc. ;;; Copyright © 2023 Attila Lendvai ;;; Copyright © 2024 Saku Laesvuori +;;; Copyright © 2024 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -1969,22 +1970,40 @@ (define-public beancount (version "2.3.6") (source (origin - (method url-fetch) - (uri (pypi-uri "beancount" version)) + (method git-fetch) ; no test data files in PyPI archive + (uri (git-reference + (url "https://github.com/beancount/beancount") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "0nj7sdh7wxc0hv8wxwqhw9v1zgx1sn4w92368ci2wzdmssz967w0")) - (patches (search-patches "beancount-disable-googleapis-fonts.patch")))) - (build-system python-build-system) + (base32 "1slxsjw29cyr2kbirdpijhpqspk55k38rpmk3zc02pr1wll62qsv")) + (patches (search-patches "beancount-disable-googleapis-fonts.patch")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Remove broken experiments. + (delete-file-recursively "experiments") + ;; Remove bundled packages. + (delete-file-recursively "third_party"))))) + (build-system pyproject-build-system) (arguments (list - #:tests? #f ; Says test is missing, not sure why + #:test-flags + #~(list "-k" (string-append + ;; ModuleNotFoundError: No module named 'pytest' + "not test_parse_stdin" + ;; AssertionError: 5 not greater than 20 + " and not test_setup")) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'relax-requirements (lambda _ (substitute* "setup.py" ;; Use compatible fork, and do not fail during sanity check. - (("\"pdfminer2\",") ""))))))) + (("\"pdfminer2\",") "")))) + (add-before 'check 'build-extensions + (lambda _ + (invoke "python" "setup.py" "build_ext" "--inplace")))))) (propagated-inputs (list python-beautifulsoup4 python-bottle @@ -1994,10 +2013,11 @@ (define-public beancount python-google-auth-oauthlib python-lxml python-magic + python-oauth2client python-ply python-requests)) (native-inputs - (list python-pytest)) + (list gnupg python-pdfminer-six python-pytest)) (home-page "https://beancount.github.io/") (synopsis "Command-line double-entry accounting tool") (description From patchwork Sun Mar 17 17:08:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 61916 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 C186827BBEA; Sun, 17 Mar 2024 17:10:55 +0000 (GMT) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,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 CC78227BBEB for ; Sun, 17 Mar 2024 17:10:53 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlu1o-0000Xf-L9; Sun, 17 Mar 2024 13:10:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlu1l-0000P6-Ud for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:29 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlu1k-0001MM-Vs; Sun, 17 Mar 2024 13:10:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rlu2K-0005iB-PT; Sun, 17 Mar 2024 13:11:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60238] [PATCH v3 4/7] gnu: Add python-markdown2. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 17:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60238@debbugs.gnu.org Cc: Sharlatan Hellseher , dan , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 60238-submit@debbugs.gnu.org id=B60238.171069541821839 (code B ref 60238); Sun, 17 Mar 2024 17:11:04 +0000 Received: (at 60238) by debbugs.gnu.org; 17 Mar 2024 17:10:18 +0000 Received: from localhost ([127.0.0.1]:58859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1Y-0005g8-J7 for submit@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:18 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:56589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1N-0005e1-82 for 60238@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:08 -0400 Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-33ec7e1d542so1888758f8f.1 for <60238@debbugs.gnu.org>; Sun, 17 Mar 2024 10:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710695302; x=1711300102; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=d2FSeRf19vx4OtMR5pVTWpfLflFt3DimN2BLP8cmV9A=; b=f2tBLErDsr7dhF1o8FvIvtOv89dWzTy3+YWPFJywGZHXIIk+uEAiTl/wTiZ89GCC/n gn7Qz8jD4GD9efg89cOzTJoLuV5UDF8CA6H38b9+9IH8p8VjFUWl4DxYrWtd2jnMqamR pq89pCmq2jbq69z8xb9Hi0+8fBDsxLNerBiMSGuPKozJwYl7bLkpu2l35WhQEc8hPb+d zoAy6NIShXfcn1kbXw2JEOhhSTMB/WFaolE23Y5Ff6p0zDHD4yWqiLF1jRdncz3gRKj6 00vJodBkuJDukl3vU8zqGBDgUxVFIc41GV6JiYMvR9O5mCbtdUPTiobVh8xpb6e4kem8 fXxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710695302; x=1711300102; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d2FSeRf19vx4OtMR5pVTWpfLflFt3DimN2BLP8cmV9A=; b=n9sRzAJjR1atttSrv4l85LX/1EVA/PTpg3dt/Z8oMf86PKLrQoxeA6XoRSaWQO5m6R u3KLc4RgVwA5erZC7GCdwxsflMVP+IxoCNzPknPZiCp97UGt8+WSW+6Wqc90xJ2K1S5U bUnlBkUrF6c1xhRpfsXIqKouNUV/U+qDwp5tL6HV3bj1G2Oup1aAUJ4m7Vl055zBDHA2 ZLSRK495uVVEbbjXknpwvOXxSpqPtlGiYw0ns05Ks/OMgBCeZdhEnfxCH6kGztBnYCPz oY9DC4+iHjRjdA7gyOyUhbhntTAS3bZeqLhUOs4hoIfFEed9jl6ZKjjgejbvry/diRHr 1jyQ== X-Gm-Message-State: AOJu0YxpWGv+f7ufJ+7iuNEhA3KFa0QeqOCqr6V+RxT80fyLIeE2aFb9 Rt5QOhXruhrG+KFWBqIyXaS2J29/QX9EK6moQtloZqdkBKVXmWd+FoIlYfhiN+Q= X-Google-Smtp-Source: AGHT+IHw438PMi4JA/eIk3bQDP9bif8gchNkCn1OhmY6M5nI9A1UPnahmbJO3dAPG2b+vxpFBbmQLw== X-Received: by 2002:a5d:5404:0:b0:33e:7942:4140 with SMTP id g4-20020a5d5404000000b0033e79424140mr8067264wrv.7.1710695301849; Sun, 17 Mar 2024 10:08:21 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id p10-20020a5d638a000000b0033e206a0a7asm7817968wru.26.2024.03.17.10.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 10:08:21 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 17 Mar 2024 17:08:11 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: dan * gnu/packages/python-xyz.scm (python-markdown2): New variable. Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7ed8c945be..0e458fdadc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -136,6 +136,7 @@ ;;; Copyright © 2023 Amade Nemes ;;; Copyright © 2023 Bruno Victal ;;; Copyright © 2023 Kaelyn Takata +;;; Copyright © 2023 dan ;;; Copyright © 2023 Dominik Delgado Steuter ;;; Copyright © 2023 Ivan Vilata-i-Balaguer ;;; Copyright © 2023 Ontje Lünsdorf @@ -14245,6 +14246,41 @@ (define-public python-markdown markdown_py is also provided to convert Markdown files to HTML.") (license license:bsd-3))) +(define-public python-markdown2 + (package + (name "python-markdown2") + (version "2.4.13") + (source + (origin + (method git-fetch) ; no tests data in PyPi package + (uri (git-reference + (url "https://github.com/trentm/python-markdown2") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0m1wy8i4xmna5b97dvks8cfjmc1wid8pxmd2h82869d0ajva3r6a")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (when tests? + (with-directory-excursion "test" + (invoke "python" "testall.py")))))))) + (native-inputs + (list python-pygments)) + (home-page "https://github.com/trentm/python-markdown2") + (synopsis "Fast and complete Python implementation of Markdown") + (description + "This package provides a fast and complete Python implementation of +Markdown. It was written to closely match the behaviour of the original +Perl-implemented Markdown.pl. It also comes with a number of +extensions (called @code{extras}) for things like syntax coloring, tables, +header-ids.") + (license license:expat))) + (define-public python-mdx-include (package (name "python-mdx-include") From patchwork Sun Mar 17 17:08:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 61918 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 526CC27BBEA; Sun, 17 Mar 2024 17:10:57 +0000 (GMT) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS 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 8124227BBEC for ; Sun, 17 Mar 2024 17:10:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlu1q-0000ev-O8; Sun, 17 Mar 2024 13:10:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlu1m-0000SD-Ul for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:30 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlu1m-0001Nd-MH; Sun, 17 Mar 2024 13:10:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rlu2J-0005hp-EO; Sun, 17 Mar 2024 13:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60238] [PATCH v3 5/7] gnu: Add python-pypytools. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 17:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60238@debbugs.gnu.org Cc: Sharlatan Hellseher , dan , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 60238-submit@debbugs.gnu.org id=B60238.171069541521815 (code B ref 60238); Sun, 17 Mar 2024 17:11:03 +0000 Received: (at 60238) by debbugs.gnu.org; 17 Mar 2024 17:10:15 +0000 Received: from localhost ([127.0.0.1]:58853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1X-0005fn-1F for submit@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:15 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:46463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1N-0005e2-UE for 60238@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:06 -0400 Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-34005b5927eso668334f8f.1 for <60238@debbugs.gnu.org>; Sun, 17 Mar 2024 10:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710695303; x=1711300103; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6Vb4zWHuFW5GMoqvpg0GRyY0kCyN5BP37+pDwY5tE0Y=; b=KSwHwCMJ8K6651qHUWhyQ5i/4YlJEeeqtF0NF8uCG7/+2qCUMDHiObtzdyRl/xbmuP jzmGAYkidBQobbqDuirbk9ZhhrSkQoyhBwgPGyxfsqmBISwT3XubnqJ4Td3tDsGloZaS 1sf8ltEt8cnIonz2mZsW/flt4dVlB3xo71u6mjoIU22oE/ZrWNZ+1W3n6B8SRE5t3Ken A82Rio1uBEsOupyxR3RZbBvyUM79sn+/wqvs1WQXkx3Wc4W4hw2QgfGSM/q5tWGMv6Ed +VvPdegp04xzjozrrR7C2E+0RB/pCPb9gGJgnvK+JKxtX2hLfnGhrO7IXZeM2Q4OzVnT 7WOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710695303; x=1711300103; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6Vb4zWHuFW5GMoqvpg0GRyY0kCyN5BP37+pDwY5tE0Y=; b=tGche9mSmxv0VyUgkqOPrJx4L4lNek0fKg92GMIvslLY9wSWVJDCSQpUyJmQTYy30A otLqr/+9IVLLlSqP5kEluQwvcZq9/+hR0hNud4pvyb1RoVsYUfA52/aUGylltmIgfHA/ 0JWJZ6rbDQg8YC2ZJ7J0UmpXpvatBIpyMFyx2SxBFIlOI9Yqejf6ZC+A8yAJ2rK79Ibw QuZY1ae/R9VtUO44vUq2KiTz5su44b5vWv4ylq1so742771WWbk0As401YBEy+iFBJpk wAPU/eXQt9H1n2pHgZSgR8q5lmzxnSopOEdImQQd3Bwdb7cpQM3VYeD7LytwzW7KilC8 f0pQ== X-Gm-Message-State: AOJu0YzN3QD754nwxunwsBUSoQS/STsoyLegCHLYzx7HNKY0u/0syCyU e6sAcZ/yLhOlpWhJPXQFBR7u/1fzK6Cw+y7fGJIvQfGsWJSa65SC1Pgvs8/gT/0= X-Google-Smtp-Source: AGHT+IFMokp9+Cv2vzhi/k+TXNhy7DA9H+QKMlgvgIfXqv0BvMUbX6GZJJMIKFj3aK36BwziEqXaxw== X-Received: by 2002:a5d:4ec5:0:b0:33e:652b:d6db with SMTP id s5-20020a5d4ec5000000b0033e652bd6dbmr6688670wrv.23.1710695302603; Sun, 17 Mar 2024 10:08:22 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id p10-20020a5d638a000000b0033e206a0a7asm7817968wru.26.2024.03.17.10.08.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 10:08:22 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 17 Mar 2024 17:08:12 +0000 Message-ID: <729107ade5e49205d48bee281fd28bf6f74bbc06.1710694980.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: dan * gnu/packages/python-xyz.scm (python-pypytools): New variable. Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0e458fdadc..c4a5375839 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11433,6 +11433,27 @@ (define-public python-jaraco-text processing, values parsing, case insensitive comparison, and more.") (license license:expat))) +(define-public python-pypytools + (package + (name "python-pypytools") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pypytools" version)) + (sha256 + (base32 "0ag5xyzagprji0m2pkqsfy8539s003mn41pl6plbmh6iwi9w0h51")))) + (build-system python-build-system) + (arguments (list #:tests? #f)) ; no tests + (propagated-inputs (list python-py)) + (home-page "https://github.com/antocuni/pypytools/") + (synopsis + "Tools to use PyPy-specific features, with CPython fallbacks") + (description + "This package provides a collection of useful tools to use PyPy-specific +features, with CPython fallbacks.") + (license license:x11))) + (define-public python-simplegeneric (package (name "python-simplegeneric") From patchwork Sun Mar 17 17:08:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 61914 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 ECF8927BBEB; Sun, 17 Mar 2024 17:10:51 +0000 (GMT) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,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 9AA7E27BBEA for ; Sun, 17 Mar 2024 17:10:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlu1p-0000bb-O9; Sun, 17 Mar 2024 13:10:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlu1m-0000Ri-L5 for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:30 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlu1m-0001NT-C8; Sun, 17 Mar 2024 13:10:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rlu2J-0005hv-Tg; Sun, 17 Mar 2024 13:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60238] [PATCH v3 6/7] gnu: Add python-cheroot. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 17:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60238@debbugs.gnu.org Cc: Sharlatan Hellseher , dan , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 60238-submit@debbugs.gnu.org id=B60238.171069541621824 (code B ref 60238); Sun, 17 Mar 2024 17:11:03 +0000 Received: (at 60238) by debbugs.gnu.org; 17 Mar 2024 17:10:16 +0000 Received: from localhost ([127.0.0.1]:58855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1X-0005ft-D8 for submit@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:15 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:44165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1O-0005eE-Mc for 60238@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:07 -0400 Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-3416a975840so341829f8f.0 for <60238@debbugs.gnu.org>; Sun, 17 Mar 2024 10:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710695303; x=1711300103; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=w3oiJDDlFuX8nC6IcyrlJTwImhaBgJV0JwI6gDooXVQ=; b=LF7YHn6oP5IPJAqKzgnRruD05koBK/v+hQph1Y6pUdaqobiiG6BBRSD0dSB0tXwcut LoZJUIky6Pv69U3oFqehxKJ0abfZ2n/3L06lbQCl6OOVboEeky7LZRPbnC42UVe8DMfV 99ZOmGtJkfzPozTM/LXzosq03mann60wMvyWv38o42lmwx/jfR2wdKbgSKhPs/gEfrKD qYy9JNgZ4oV2V71EZ90I6+GE3nDBldIOuR8PSKS8KHgOEKWhWjRHLIZuD88RfsagXMKp igCKv7y6Do9ysyJz+0sGVBIOqH9AVhZkI1K5JYmeXp6IFDExSYYAgZVFLe9ZmgQhDxcK Y6lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710695303; x=1711300103; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w3oiJDDlFuX8nC6IcyrlJTwImhaBgJV0JwI6gDooXVQ=; b=GuWvfUBwLNLW8rW9lNBVXI4ylpBdZYhdm28XjgjMD5czwm3qR+/3MV8WkinIOGl1I0 x0fK/OTVtYNG8uUDC5p0iQVgKn5IC4BDCHSe93qGLBIpAtCFQjispLmxz4INufV5bTIV Pdw0hulTIm4GmqszshqLLqC1bBVixAfYPmh+Crx9m4WnC1uN/SsdCHrggM0GASjOeXkh Bq9SnBWYe4CQf29T2pLsB3NhF8SWK7wgJ5svW+x9aenQavFLkwNCOb6b4PMvdfVywKJA TcXoI6TaVF0fjs8pmcI0oIV5OjFOi1XTcGBnMDwf/fN9HXbuwmeQF5Bs2nkRfQ8mLHDS BOQw== X-Gm-Message-State: AOJu0Yzj23Gzsto3bf+63muyry3eeXGJ0ukESMnN3WH2xLGAT6255aPg jDG2FAsKGHUtia6FaMli12qiE+EVA4DoNT+nYT1MDFrafOWLFM5GbiT/o6Uz5Sc= X-Google-Smtp-Source: AGHT+IE4z53PNR2Crj6o0/MgFDVE+5fDwp5tarEZF/Pcrcw18OHK9yITzPDp9T7nz9aRFrlx2F2SRg== X-Received: by 2002:a5d:4e11:0:b0:33e:741b:4977 with SMTP id p17-20020a5d4e11000000b0033e741b4977mr6845115wrt.60.1710695303314; Sun, 17 Mar 2024 10:08:23 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id p10-20020a5d638a000000b0033e206a0a7asm7817968wru.26.2024.03.17.10.08.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 10:08:23 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 17 Mar 2024 17:08:13 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: dan * gnu/packages/python-web.scm (python-cheroot): New variable. Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 57 +++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c2bdfc8da8..f14c0a7bde 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -58,6 +58,7 @@ ;;; Copyright © 2022 msimonin ;;; Copyright © 2022 Michael Rohleder ;;; Copyright © 2022 Baptiste Strazzulla +;;; Copyright © 2023 dan ;;; Copyright © 2023 John Kehayias ;;; Copyright © 2023 Ivan Vilata-i-Balaguer ;;; Copyright © 2024 Troy Figiel @@ -1279,6 +1280,62 @@ (define-public python-httplib2 other HTTP libraries.") (license license:expat))) +(define-public python-cheroot + (package + (name "python-cheroot") + (version "10.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cheroot" version)) + (sha256 + (base32 + "1w0ind0dza9j1py56y23344piqkpyfmcm060qfrnk6gggy3s3i2r")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "--cov=cheroot" + ;; Tests a flaky in parallel invocation. + ;; "--numprocesses=auto" + "--doctest-modules" + "--showlocals" + ;; Disable test requiring networking. + "-k" "not test_tls_client_auth") + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (when tests? + (with-directory-excursion "/tmp" + (apply invoke "pytest" "-v" + (append test-flags (list #$output)))))))))) + (propagated-inputs + (list python-jaraco-functools + python-more-itertools + python-six)) + (native-inputs + (list python-cryptography + python-jaraco-text + python-portend + python-pyopenssl + python-pypytools + python-pytest + python-pytest-cov + python-pytest-mock + python-pytest-xdist + python-requests + python-requests-toolbelt + python-requests-unixsocket + python-setuptools-scm + python-setuptools-scm-git-archive + python-trustme)) + (home-page "https://cheroot.cherrypy.dev") + (synopsis "Highly-optimized, pure-python HTTP server") + (description + "Cheroot is a high-performance, pure-Python HTTP server.") + (license license:bsd-3))) + (define-public httpie (package (name "httpie") From patchwork Sun Mar 17 17:08:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 61917 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 778CD27BBEA; Sun, 17 Mar 2024 17:10:54 +0000 (GMT) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 956EE27BBEC for ; Sun, 17 Mar 2024 17:10:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlu1p-0000Yq-2E; Sun, 17 Mar 2024 13:10:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlu1j-0000Kf-1I for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:28 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlu1i-0001Lr-OZ for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rlu2K-0005i1-BT for guix-patches@gnu.org; Sun, 17 Mar 2024 13:11:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60238] [PATCH v3 7/7] gnu: Add fava. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 17:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60238@debbugs.gnu.org Cc: Sharlatan Hellseher , dan Received: via spool by 60238-submit@debbugs.gnu.org id=B60238.171069541621830 (code B ref 60238); Sun, 17 Mar 2024 17:11:04 +0000 Received: (at 60238) by debbugs.gnu.org; 17 Mar 2024 17:10:16 +0000 Received: from localhost ([127.0.0.1]:58857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1X-0005fy-UP for submit@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:16 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:51273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1P-0005ea-AT for 60238@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:08 -0400 Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-33e17342ea7so1759300f8f.2 for <60238@debbugs.gnu.org>; Sun, 17 Mar 2024 10:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710695304; x=1711300104; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=olhHVh6JpsoF+1TsRL65+yAJOwHzeh6BRTRDmPjWWws=; b=LEIej266Fj75Z34zRHYpGc5+aGKnpOrAPPZC02u5k9RMilu0MFaLFYZFFffvFS29G5 2iDyGNREehIpUC5zMh7E1H5eR0IBR+Md9j6Of4baCOvO0Oso0rSngCGQc+siBhmrcvx4 Q/VBL8th8yi4RsOVOASneAmj1HCMvm52Y5ZPSKW0RtUmCKsoWbK98C6kbPLjLorkX5y7 QIr30It/YCA4vDfaG5LzgAo2l+oCZj/17yjbn7z8sXJqOHwsUXfsN9FmymoEiRyLIcUi iD+4IiYCVw342tUDPEqpOgYdXZxZs9mX5p4TYvnPXgtg131hkoB0iJG7R8fbIVBlluND Araw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710695304; x=1711300104; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=olhHVh6JpsoF+1TsRL65+yAJOwHzeh6BRTRDmPjWWws=; b=voGECPnbMWknPcL6U3Pvp2cvhaHC5SuSRBIRIsuD4BKoQGZWc83JtDZ5qXEGDogolg v8NOC89w1Y2sBpgS+CNMMPsbl8FrBrbE/MW8IlLMcxT/0urssnhZ0GAcuB/8UVCJRudc wmr3AS2FU7n6pwQDt33jJ3umKNnz7kMMcVdH/lpU25VDQndYTqLJOntyjNOIas13Djry sapv8MqLMzBoK0PoDSnwwIcX44RNaqvE1qam07jPIoUJ1TUlRAu6DpgcA1pAFkad8NhC mpN1AjKfiR4vsdiPy7tyhMfhQZ2wXa3w6tyXwsawETf8KikclQkB64CFRlNBm5u0Imfv 4dMw== X-Gm-Message-State: AOJu0YyQESlc8FvEKhBgGZqSYhweD73blGvC1G2lhivXmzmszmfEvEd5 SyxbWPzQdV209gXIv7s8j61cxEvbRmzm6i1Ydd1lJYuKVXn+KV1QTxvIGVuTsn4= X-Google-Smtp-Source: AGHT+IEPgwFK6RtkLM/mLuGu0GcRZYtIGlE77Y5diFc4zW7wmarW+A2Lh53qmPU1fU0EBol3vL4WrQ== X-Received: by 2002:adf:e9c7:0:b0:33e:7056:35b6 with SMTP id l7-20020adfe9c7000000b0033e705635b6mr6399293wrn.25.1710695304060; Sun, 17 Mar 2024 10:08:24 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id p10-20020a5d638a000000b0033e206a0a7asm7817968wru.26.2024.03.17.10.08.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 10:08:23 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 17 Mar 2024 17:08:14 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: dan * gnu/packages/finance.scm (fava): New variable. Signed-off-by: Sharlatan Hellseher --- gnu/packages/finance.scm | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index c248f614ab..e2d4b95a5e 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 Philip McGrath ;;; Copyright © 2022 Collin J. Doering +;;; Copyright © 2023 dan ;;; Copyright © 2022 Justin Veilleux ;;; Copyright © 2023 Frank Pursel ;;; Copyright © 2023 Skylar Hill @@ -2026,6 +2027,55 @@ (define-public beancount generate a variety of reports from them, and provides a web interface.") (license license:gpl2))) +(define-public fava + (package + (name "fava") + ;; XXX: Newer version requires Flask > 2.2, which is not available in Guix + ;; yet. + (version "1.24.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fava" version)) + (sha256 + (base32 "1iwha9vx223iiyjqbixpz1lp8q766ikhi7xcap3pscjhldxlym4j")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "setup.cfg" + ((">=8,<10") ">8")))) + ;; Tests write to $HOME. + ;; FileNotFoundError: [Errno 2] No such file or directory + (add-before 'check 'set-home + (lambda _ + (setenv "HOME" "/tmp")))))) + (propagated-inputs + (list beancount + python-babel + python-cheroot + python-click + python-flask + python-flask-babel + python-jinja2 + python-markdown2 + python-ply + python-simplejson + python-werkzeug)) + (native-inputs + (list python-pytest + python-chardet + python-dateutil + python-setuptools-scm)) + (home-page "https://beancount.github.io/fava/") + (synopsis "Web interface for the accounting tool Beancount") + (description "Fava is a web interface for the double-entry bookkeeping +software Beancount with a focus on features and usability.") + (license license:expat))) + (define-public emacs-beancount ;; Note that upstream has not made any release since this project moved ;; into its own repository (it was originally part of beancount itself)