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 KD1+DR6luGAEjwAAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 11:47:10 +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 gAqpCB6luGDECQAAbx9fmQ (envelope-from ) for ; Thu, 03 Jun 2021 09:47:10 +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 90E39171E3 for ; Thu, 3 Jun 2021 11:47:09 +0200 (CEST) Received: from localhost ([::1]:40434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lojwS-00063A-LP for larch@yhetil.org; Thu, 03 Jun 2021 05:47:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lojwM-000631-Ox for guix-patches@gnu.org; Thu, 03 Jun 2021 05:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lojwM-00040W-Gf for guix-patches@gnu.org; Thu, 03 Jun 2021 05:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lojwM-0007aB-DX for guix-patches@gnu.org; Thu, 03 Jun 2021 05:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47214] [core-updates] gnu: python: Remove unnecessary files Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Jun 2021 09:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47214 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Julien Lepiller Cc: 47214@debbugs.gnu.org Received: via spool by 47214-submit@debbugs.gnu.org id=B47214.162271361428788 (code B ref 47214); Thu, 03 Jun 2021 09:47:02 +0000 Received: (at 47214) by debbugs.gnu.org; 3 Jun 2021 09:46:54 +0000 Received: from localhost ([127.0.0.1]:42413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lojwE-0007U3-Ed for submit@debbugs.gnu.org; Thu, 03 Jun 2021 05:46:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lojwC-0007Op-1k for 47214@debbugs.gnu.org; Thu, 03 Jun 2021 05:46:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34344) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lojw6-0003qo-Kd; Thu, 03 Jun 2021 05:46:46 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59542 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lojw6-0002l2-CI; Thu, 03 Jun 2021 05:46:46 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210317133933.5eb6d325@tachikoma.lepiller.eu> <20210319000830.23926447@tachikoma.lepiller.eu> <87k0q3fhwl.fsf_-_@gnu.org> <20210603035638.6e6fe473@tachikoma.lepiller.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Prairial an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 03 Jun 2021 11:46:44 +0200 In-Reply-To: <20210603035638.6e6fe473@tachikoma.lepiller.eu> (Julien Lepiller's message of "Thu, 3 Jun 2021 03:56:38 +0200") Message-ID: <87a6o7wa9n.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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=1622713629; 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-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; bh=FoeHbdP/GyeTy+wSTbb5vB0sWJHbbwkG2T5Rkx1VAto=; b=sjuNpRRR0F6tHUXStrUSVMH386YeIKViCeQM+trwpQMX9xibGRuKyWYe1BwftoETpfzfxX Ojv2Irr6AmNcIJtGTMM4pbGawfU2hhKb1Ao1ePwp3+eDLTXLAyPVjQQdNv6eNuB+wzXwim Ut28GBm3sncR8ry2gnILw5e3RsLpXY1PBIRbPh9pLezGi4vWRYJ+e2AJdZL7Ee91/mamUt aemUKF0ljwM+xdftmpQJc/2qjwYMt2z9gT4E7n6z1Y5VR5/UkxJ2myxpuPtNxER6+VzU4A J1cly9YuYJAsr1+H+/OW4Y+SDVZhas3nog+/fodhU8DNkM7X3Lkd19/r7GcP5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622713629; a=rsa-sha256; cv=none; b=H2BT3H0giA4nou2hNjjragjkjJLvCW4VlS3BxzUnuMvX5l6phdZivEXRoRh/zmiPt6HueZ Ha2+9CQRCpUmULFjKUPREbz/vdLcuBO+rBWZ2mIzVhTW1M78SYFuCwjC10juYEqMhsTumL zCaAlTKA/0V+UPe0D2ARVnf3rCHt1v8eMIeqPqo+6Y7imfHoncznDsIt5eu4FsLqr+QHPF xdxU17CpIVIBofHGV9cz/SVAUkivev8sl3VmoLfb1uTimitlCNLpcKf1yVP9/9wDqJnFfl 3khM59rPU8mOiq8PGKvGfphYJm6zBMSfPREWoiXXjU0KxsVR0HdB0187eTOBEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 90E39171E3 X-Spam-Score: -2.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: GTPEkunn2s1N Hi, Julien Lepiller skribis: > Le Fri, 19 Mar 2021 13:27:06 +0100, > Ludovic Court=C3=A8s a =C3=A9crit : > >> > 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 >>=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 retu= rns the >> cleaned-up source. [...] > 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? Oh right, the bit that unzips/rezips .whl files cannot easily be done from a snippet, so better keep it as a phase. Deleting *.exe can be done from a snippet though. BTW, the patch reads: (find-files "Lib/distutils/command" ".*.exe$") but the regexp should be: "\\.exe$" (=E2=80=9C.*=E2=80=9D is unnecessary, but the dot before =E2=80=9Cexe=E2=80= =9D must be protected.) Likewise for: (find-files "Lib/ensurepip" ".*.whl$") Thanks, Ludo=E2=80=99.