From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QAjOBUG2wmD/HQEAgWs5BA (envelope-from ) for ; Fri, 11 Jun 2021 03:02:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UNBmAEG2wmAMbAAAbx9fmQ (envelope-from ) for ; Fri, 11 Jun 2021 01:02:57 +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 739C5C2B7 for ; Fri, 11 Jun 2021 03:02:56 +0200 (CEST) Received: from localhost ([::1]:60826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrVZX-0007vb-CZ for larch@yhetil.org; Thu, 10 Jun 2021 21:02:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrVYh-0007Jk-Lh for guix-patches@gnu.org; Thu, 10 Jun 2021 21:02:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrVYh-0001Et-De for guix-patches@gnu.org; Thu, 10 Jun 2021 21:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lrVYh-0000HA-CX for guix-patches@gnu.org; Thu, 10 Jun 2021 21:02:03 -0400 Subject: bug#47214: [core-updates] gnu: python: Remove unnecessary files Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 11 Jun 2021 01:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47214 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 47214-done@debbugs.gnu.org Mail-Followup-To: 47214@debbugs.gnu.org, julien@lepiller.eu, julien@lepiller.eu Received: via spool by 47214-done@debbugs.gnu.org id=D47214.16233733021006 (code D ref 47214); Fri, 11 Jun 2021 01:02:03 +0000 Received: (at 47214-done) by debbugs.gnu.org; 11 Jun 2021 01:01:42 +0000 Received: from localhost ([127.0.0.1]:37883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrVYM-0000GA-4u for submit@debbugs.gnu.org; Thu, 10 Jun 2021 21:01:42 -0400 Received: from lepiller.eu ([89.234.186.109]:44248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrVYG-0000FK-6h for 47214-done@debbugs.gnu.org; Thu, 10 Jun 2021 21:01:37 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 21e64764; Fri, 11 Jun 2021 01:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=JuGTNBAqy06/ mhMz94hGAVZMoIZ7Ti1oxkbGTSCd574=; b=GnuFQICSjh9sBhaN44TssTeW6EmA 4sxclRw2NSNIbhp2S1gNRIyxZbXlyeuPtQKYT129rEIWK0LDH9MFl1rfET/iUBlH e8WszTAMgwRpYokwgSbG2ygAyCav9M0PLi/9iiWz8dNJCmhGWKaVNVzRH37BhXns pHLR5Ge0Y5kjexUycR/y8gTadkOrpsRC/oGbPDHKrCkaG/h5lae/XhHGYiHFlHoV FFlcfvblYeUvIcuvx/VhvKOA/wAcrcy6Xs/yMR9q5b04wNo4Cs9nS3eyEVviHltn KU4eFRpEoH8tvVSPGLNb+JLvhdlNNk10f3bAX9kbgB4oRrwgTrNyg2rcVQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 0c5a9008 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 11 Jun 2021 01:01:33 +0000 (UTC) Date: Fri, 11 Jun 2021 03:01:26 +0200 From: Julien Lepiller Message-ID: <20210611030126.25fa8606@tachikoma.lepiller.eu> In-Reply-To: <87a6o7wa9n.fsf@gnu.org> References: <20210317133933.5eb6d325@tachikoma.lepiller.eu> <20210319000830.23926447@tachikoma.lepiller.eu> <87k0q3fhwl.fsf_-_@gnu.org> <20210603035638.6e6fe473@tachikoma.lepiller.eu> <87a6o7wa9n.fsf@gnu.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=1623373376; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: 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=eKyt+wbkZCD6qe07MwwxN5kkxyYMRcn7B6DvWwj8A8I=; b=WBYWBVHb8JH74VHluxUUQiAsOLqGKIeD5Hjd8xKZrmOJ5Hkq969ftbdyGKf+/ED8z6LG6S a1sQojvuIEAaZQzD2E+4UmRl01b6ILGanpdhkT58cqdeFCGX0jREm8XB8/lxansym/LBMB CQn8m7jc8X80wiABJJl+y/Ckor7qtiO5AdoEgq0R/vMOFpABza4BWV5dK6yLdUiXfQwDAL cNVAaa5bs18l9lb278eu8bRaMqwK63bsZST3Juhkc0sWqMRZxpU/wXROeYbtxFLT9l7rX5 h2zp5yGLxWuNSJU7x4GJP66gtRAoQkc33uWCLOK4XSwopH4imlY26kWYXGcDyA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623373376; a=rsa-sha256; cv=none; b=mVL3gHSy57UGzP6AqDIwlxfsX7+9+P/MR2d8clTUQMFjiD6Tym7vLKChNCoJcEkP3P/u7v VLr/YZ7MbR6TXK55rVAXF7x/5sLi7EQ887mix40SdlD3SLoNJaA8qU4oLtN761Kqa014Sg aZsWK4O+q/xa+jLiilbsbQlTEsiILQMxqqCm8kZU2XLJ9FVHbsQoRi75ZXTIrGV5FwA+fL 20PC5wNqUkNhj1fzA5WPHzDn37DXGKDYlqXuSHmWRPrkm+yLt2hds5eJXJmOpSs2GfXgat m6+nD/XCK0M/161dWiC/hPWcD/Ef5lPBTAyscOrd9Mj34fcWQzB5miGaRkXhOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=GnuFQICS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=GnuFQICS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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: 739C5C2B7 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7RVsxUPkqMwP Le Thu, 03 Jun 2021 11:46:44 +0200, Ludovic Court=C3=A8s a =C3=A9crit : > Hi, >=20 > Julien Lepiller skribis: >=20 > > Le Fri, 19 Mar 2021 13:27:06 +0100, > > Ludovic Court=C3=A8s a =C3=A9crit : > > =20 > >> > From 0d2d9a32cbbf24eadf74271b2fb1304b7a72d281 Mon Sep 17 00:00:00 > >> > 2001 From: Julien Lepiller > >> > Date: Wed, 17 Mar 2021 13:33:22 +0100 > >> > Subject: [PATCH 1/2] gnu: python: Remove unnecessary files. > >> > > >> > * gnu/packages/python.scm (python2)[arguments]: Remove files > >> > built during the test phase. > >> > (python3)[arguments]: Also remove windows binaries shipped with > >> > the sources. =20 > >>=20 > >> Unless it causes bootstrapping issues, I recommend removing those > >> files from a snippet so that =E2=80=98guix build -S python=E2=80=99 re= turns the > >> cleaned-up source. =20 >=20 > [...] >=20 > > Hi, sorry for the late reply. I need to use unzip on these files to > > remove some of their content, and rezip them later. How can I do > > that from a snippet? =20 >=20 > Oh right, the bit that unzips/rezips .whl files cannot easily be done > from a snippet, so better keep it as a phase. >=20 > Deleting *.exe can be done from a snippet though. >=20 > BTW, the patch reads: >=20 > (find-files "Lib/distutils/command" ".*.exe$") >=20 > but the regexp should be: >=20 > "\\.exe$" >=20 > (=E2=80=9C.*=E2=80=9D is unnecessary, but the dot before =E2=80=9Cexe=E2= =80=9D must be protected.) >=20 > Likewise for: >=20 > (find-files "Lib/ensurepip" ".*.whl$") >=20 > Thanks, > Ludo=E2=80=99. Fixed, and pushed as 20d52562e5c943b30e48e310b58b94054c3a54e5 to core-updates.