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