From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8CTCI9T/lmBtdAEAgWs5BA (envelope-from ) for ; Sat, 08 May 2021 23:17:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IPROH9T/lmA7FQAAbx9fmQ (envelope-from ) for ; Sat, 08 May 2021 21:17:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E5DD71817F for ; Sat, 8 May 2021 23:17:07 +0200 (CEST) Received: from localhost ([::1]:53812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfUJv-0003ms-2i for larch@yhetil.org; Sat, 08 May 2021 17:17:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfUJq-0003mb-CB for guix-patches@gnu.org; Sat, 08 May 2021 17:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfUJq-00043B-4M for guix-patches@gnu.org; Sat, 08 May 2021 17:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfUJp-0005er-Ut for guix-patches@gnu.org; Sat, 08 May 2021 17:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48289] [PATCH] gnu: Add python-pythonanywhere. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 May 2021 21:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48289 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Filip Lajszczak , 48289@debbugs.gnu.org Received: via spool by 48289-submit@debbugs.gnu.org id=B48289.162050860921740 (code B ref 48289); Sat, 08 May 2021 21:17:01 +0000 Received: (at 48289) by debbugs.gnu.org; 8 May 2021 21:16:49 +0000 Received: from localhost ([127.0.0.1]:52350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfUJd-0005ea-3Y for submit@debbugs.gnu.org; Sat, 08 May 2021 17:16:49 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:38100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfUJL-0005eS-Vd for 48289@debbugs.gnu.org; Sat, 08 May 2021 17:16:47 -0400 Received: from butterfly.local ([213.119.233.112]) by andre.telenet-ops.be with bizsmtp id 2MGV250012SA7zH01MGVlq; Sat, 08 May 2021 23:16:30 +0200 Message-ID: <864b6bb2288824630d6e28d01c22617443c1e5b8.camel@telenet.be> From: Maxime Devos Date: Sat, 08 May 2021 23:16:23 +0200 In-Reply-To: <20210508132849.26030-1-filip@lajszczak.dev> References: <20210508132849.26030-1-filip@lajszczak.dev> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-lB45zyBk7ItljKAezKEL" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1620508590; bh=V55yLBMze98zPfDE6GepSSIhJWCxnK09ua6WOyYsSzA=; h=Subject:From:To:Date:In-Reply-To:References; b=D8l42kmH8FTBWzNNCmB2BejBccvfMAW3oETD8YC8QoYXowGsw2wwql+NMT7FD79DB wi/+uSYtEHm5kKj1Z2/+UX6pzjbUMuQ31QEZVLUiFHLRdI7tFNxf4Xda8fz4eiRa9y PAalAQw5dhVeqOyvW7NT2pN/GujAawFaRv+0PQzhIh9ficmY1x0jo60O6UI7OdLzAp 5xIlp7H2BCsHC+bIf2IRrD93Ak5zIleTGzvGwEakmyche14ACHzDHxY3SHRWqKLk9f c0SJZtENLDArsNnb+yjPZx8J+Y3w1+grhauLNuR3xIM+Ak4t7/pkT7DlEim3JV/DfH 0PNXcfm3Au01w== 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620508628; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=V55yLBMze98zPfDE6GepSSIhJWCxnK09ua6WOyYsSzA=; b=Dl8L7M0SPHW9zfaIB40f+Dqktt344XL4OVUdvxW0ORPsJjnwpnCE3umZDtt4+Z6/v4eCZD oxKRKK56fgDWcx9bdNJFyFXHgomGUC7pbJw/GWocdo4A51J748o3mEhyf/nTsSJfH+593V eC3RP5p+JUtspMED10XzwYbusBP97C4W9Bx1yqjNUfdjamjchtgB0r0cMCddPhmFH9lkxJ jiuBnTWOwgYG+E2m/WEmbSc4CpM5ItjEO5IwPhM1D0HEa9xqo/SR4cScT1tuPVmijK5rQv L67rUlV1opJM61/+30Vi34/wNmNi5/eyPH4OjbGGkYzYqJplnUe9GQUods1wCg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620508628; a=rsa-sha256; cv=none; b=Yuxh1v6WIQjJJMAZK4Bz69Phxv3WRltqLtEyZe/eHdKYvKDRd5V6LjOBrexUg+klAJ6y/B 8aa3T1zTFlUxWeO6A/gB2N9NzpUTtkop5FBqqrZxYalw07bia+Fz5K2Qr3IfyIdYx2qML1 hAYVG/p4C+BORy0DIeJ7BKj5Dt35K/7LTX/aEpVRMu5VUBP56JfxuLotpRpg27YULChoEJ p73J6Rark4v7ux6A/AGyrvEEVfKmbhz894iktGtNET9XJgIDBZ+FE7km3Zv787op+Inwoy nAHO1WTSrMqlAqDzlXnKz5zKrLc4K77I5PyVi+33mWR5smuIV/rr6DPMdsIpDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=D8l42kmH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=D8l42kmH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: E5DD71817F X-Spam-Score: -3.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ma16JT43422B --=-lB45zyBk7ItljKAezKEL Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Filip Lajszczak schreef op za 08-05-2021 om 15:28 [+0200]: > * gnu/packages/python-xyz.scm (python-pythonanywhere): New variable. > [...] > + (arguments > + `(#:phases (modify-phases %standard-phases > + (add-before 'check 'change-home > + (lambda _ > + (setenv "HOME" "/tmp") #t)) Phases do not need to return #t anymore; the warning you get if you=20 remove it is misleading. The warning will disappear once core-updates is merged. > + (replace 'check > + (lambda _ > + (invoke "pytest" "-m" "not slowtest") #t))))) To support "guix build --without-tests" and cross-compilation, make this > + (replace 'check > + (lambda* (#:key tests? #:allow-other-keys) > + (when tests? > + (invoke "pytest" "-m" "not slowtest")))) The native-inputs and propagated-inputs seem about right to me, but I haven't tested. Greetings, Maxime --=-lB45zyBk7ItljKAezKEL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYJb/pxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7oHsAP9MRqDkHo5SfMEbPsSe7W1WYZGk p0Ub8c8I2Fo1DG0kMwD9Hn1LNz/vvuZJjZZLsRzgWN4zvep/TCXAHCEV39C97wM= =qZN0 -----END PGP SIGNATURE----- --=-lB45zyBk7ItljKAezKEL--