From patchwork Sun Aug 28 14:47:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 42051 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 6522B27BBE9; Sun, 28 Aug 2022 15:49:02 +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,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 5B5F027BBEB for ; Sun, 28 Aug 2022 15:49:01 +0100 (BST) Received: from localhost ([::1]:56740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSJau-0007AX-Fo for patchwork@mira.cbaines.net; Sun, 28 Aug 2022 10:49:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSJa4-0005fm-2h for guix-patches@gnu.org; Sun, 28 Aug 2022 10:48:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSJa3-0006Z0-PB for guix-patches@gnu.org; Sun, 28 Aug 2022 10:48:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSJa3-0001Co-MB for guix-patches@gnu.org; Sun, 28 Aug 2022 10:48:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57462] [PATCH 10/15] gnu: python-pip-run: Don't ask to run tests when cross-compiling. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Aug 2022 14:48:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57462 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57462@debbugs.gnu.org Received: via spool by 57462-submit@debbugs.gnu.org id=B57462.16616980814501 (code B ref 57462); Sun, 28 Aug 2022 14:48:07 +0000 Received: (at 57462) by debbugs.gnu.org; 28 Aug 2022 14:48:01 +0000 Received: from localhost ([127.0.0.1]:59471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSJZw-0001AO-Co for submit@debbugs.gnu.org; Sun, 28 Aug 2022 10:48:00 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:39762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSJZm-00017W-M4 for 57462@debbugs.gnu.org; Sun, 28 Aug 2022 10:47:52 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by xavier.telenet-ops.be with bizsmtp id D2no2800B20ykKC012nplM; Sun, 28 Aug 2022 16:47:50 +0200 From: Maxime Devos Date: Sun, 28 Aug 2022 16:47:43 +0200 Message-Id: <20220828144748.15575-10-maximedevos@telenet.be> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220828144748.15575-1-maximedevos@telenet.be> References: <20220828144435.15239-1-maximedevos@telenet.be> <20220828144748.15575-1-maximedevos@telenet.be> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1661698070; bh=cQpRcwwl8DSr9wo7UaOd07sP2Me5sTC+lB3ZeFXkKFc=; h=From:To:Subject:Date:In-Reply-To:References:Reply-To; b=AlxYxLxwMscxkKYICjuuPBksNfapm+vGxbobKuCMtCMUepH4Qh1kyvmHoJxoErxfg 7B8OTwOvS981nB/Jyz6Ul4XJMZK/78LeXoNJygeKhJNejIOdYeI9gbTbS8OKXrmnx/ UA/RapJcVmRRBr20TfwYUBLCC2ilLA5INGmj84aGP5JO+DfvmI+MgAmcfiOudgyJE9 Pt0M8wgKIs/nFmcQcTsUzhIULqQyzkn3WDxgcl7iUrkJ7SodBpNxVPitSyDmDc4Lp1 f6/4SfzyS1XrsMi8Ulph0yNZZZ7tNvMcmqNAsXOomHpjLwfwgE3+UPg0W3si5Wgk+O fDckvRd7ThLEA== 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: , Reply-To: 57462@debbugs.gnu.org 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-pip-run)[arguments]{#:tests?}: When cross-compiling, set to #false. --- gnu/packages/python-xyz.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index eeb575af93..7d74cfdc15 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12393,7 +12393,7 @@ (define-public python-pip-run (arguments (substitute-keyword-arguments (package-arguments python-pip-run-bootstrap) ((#:tests? _ #f) - #t) + (not (%current-target-system))) ((#:phases phases #~%standard-phases) #~(modify-phases #$phases (replace 'check