From patchwork Thu Jul 16 12:43:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23245 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 CB97927BBE3; Thu, 16 Jul 2020 13:44:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2C5BE27BBE1 for ; Thu, 16 Jul 2020 13:44:10 +0100 (BST) Received: from localhost ([::1]:36486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jw3FB-0006YQ-Gj for patchwork@mira.cbaines.net; Thu, 16 Jul 2020 08:44:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jw3F4-0006W8-Q1 for guix-patches@gnu.org; Thu, 16 Jul 2020 08:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jw3F4-0003vM-Gb for guix-patches@gnu.org; Thu, 16 Jul 2020 08:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jw3F4-00041Y-Ea for guix-patches@gnu.org; Thu, 16 Jul 2020 08:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42391] [PATCH] gnu: python-click: Update to 7.1.2. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Jul 2020 12:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42391 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42391@debbugs.gnu.org Cc: Tanguy Le Carrour X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159490342615431 (code B ref -1); Thu, 16 Jul 2020 12:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jul 2020 12:43:46 +0000 Received: from localhost ([127.0.0.1]:54955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw3En-00040p-Qg for submit@debbugs.gnu.org; Thu, 16 Jul 2020 08:43:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:51656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw3Ei-00040e-Lw for submit@debbugs.gnu.org; Thu, 16 Jul 2020 08:43:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jw3Ei-0006Jo-EI for guix-patches@gnu.org; Thu, 16 Jul 2020 08:43:40 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:53767) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jw3Eg-0003sU-Fd for guix-patches@gnu.org; Thu, 16 Jul 2020 08:43:40 -0400 X-Originating-IP: 176.159.32.89 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPA id 9D79E6000B; Thu, 16 Jul 2020 12:43:35 +0000 (UTC) From: Tanguy Le Carrour Date: Thu, 16 Jul 2020 14:43:29 +0200 Message-Id: <20200716124329.2687-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Received-SPF: none client-ip=217.70.183.195; envelope-from=tanguy@bioneland.org; helo=relay3-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/16 08:43:36 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-click): Update to 7.1.2. [arguments] Fix the name of the file to modify. Set PYTHONPATH to make tests pass. --- gnu/packages/python-xyz.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 15d9e097c5..a3561316d2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2425,14 +2425,14 @@ interfaces.") (define-public python-click (package (name "python-click") - (version "7.0") + (version "7.1.2") (source (origin (method url-fetch) (uri (pypi-uri "click" version)) (sha256 (base32 - "1mzjixd4vjbjvzb6vylki9w1556a9qmdh35kzmq6cign46av952v")))) + "06kbzd6sjfkqan3miwj9wqyddfxc2b6hi7p5s4dvqjb3gif2bdfj")))) (build-system python-build-system) (arguments `(#:phases @@ -2441,12 +2441,13 @@ interfaces.") (lambda* (#:key inputs #:allow-other-keys) (let ((glibc (assoc-ref inputs ,(if (%current-target-system) "cross-libc" "libc")))) - (substitute* "click/_unicodefun.py" + (substitute* "src/click/_unicodefun.py" (("'locale'") (string-append "'" glibc "/bin/locale'")))) #t)) (replace 'check (lambda _ + (setenv "PYTHONPATH" (string-append "./src:" (getenv "PYTHONPATH"))) (invoke "python" "-m" "pytest")))))) (native-inputs `(("python-pytest" ,python-pytest)))