From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sEMwCVNbo2JHWwEAbAwnHQ (envelope-from ) for ; Fri, 10 Jun 2022 16:55:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QHJUCFNbo2JDbgEAG6o9tA (envelope-from ) for ; Fri, 10 Jun 2022 16:55:15 +0200 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 BCF001C882 for ; Fri, 10 Jun 2022 16:55:14 +0200 (CEST) Received: from localhost ([::1]:52102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzg2b-000520-IS for larch@yhetil.org; Fri, 10 Jun 2022 10:55:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzg2Q-000506-4q for guix-patches@gnu.org; Fri, 10 Jun 2022 10:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzg2P-0004N1-Rk for guix-patches@gnu.org; Fri, 10 Jun 2022 10:55:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nzg2P-00018W-NU for guix-patches@gnu.org; Fri, 10 Jun 2022 10:55:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55874] [PATCH] Add timewarrior 1.4.3 Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Jun 2022 14:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55874 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Zac Berkowitz Cc: 55874@debbugs.gnu.org Received: via spool by 55874-submit@debbugs.gnu.org id=B55874.16548728684317 (code B ref 55874); Fri, 10 Jun 2022 14:55:01 +0000 Received: (at 55874) by debbugs.gnu.org; 10 Jun 2022 14:54:28 +0000 Received: from localhost ([127.0.0.1]:50959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzg1s-00017Z-5q for submit@debbugs.gnu.org; Fri, 10 Jun 2022 10:54:28 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:34278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzg1q-00017N-1z for 55874@debbugs.gnu.org; Fri, 10 Jun 2022 10:54:26 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id hSuQ270044UW6Th06SuQSH; Fri, 10 Jun 2022 16:54:24 +0200 Message-ID: <6590de620d1c20115e12eafcacddb7637d903a9e.camel@telenet.be> From: Maxime Devos Date: Fri, 10 Jun 2022 16:54:15 +0200 In-Reply-To: References: <56ba51f3df6a70e78518630ad45c3dfc07fdd2a9.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-0lMYz63yWvtqpdPXMNOl" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1654872864; bh=70BzPVxUvjzzxXLRgBwVzvxbwGQ/mBY3rVXW/DmMhEU=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=P8QCSXHf1vgHcJvD7ZN5Saq2JP/SJXaet47PWvGs3MmUxNYbJUMovNcDFcqBv0XF6 ZG/hgERRuaRxhYjRt+Fdov2+ieqJRS/BwbWck6KgKLbXrjTZIEmG6Q66CqIPFV0svi mEqzYWIGeXRlLz2EZ/kuC4A2qi3pK9Dg5gmK5VoipFu2frLDYiZMllyO5Mo1IJLpQS 3LBTv2RrivtguWs7JnN2uRMReZdn1gTfRnKl4PPE015TKZca8oNb7eK7SuEP2ZlFSP mo96Lc76k5VFub9uD+fDzSSaGuNEfUkm65B29ANRFMvCA0v5GYWgen7YQnM1UnQPN5 k5wZu4jgXBlKA== 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654872914; 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: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=70BzPVxUvjzzxXLRgBwVzvxbwGQ/mBY3rVXW/DmMhEU=; b=FGwewlcSICkKs2R5sXayv8Lxpb6NdUOSZoD7nu2GFAvocmzs7k/tMTjGV92bHF4T1XvQb+ Q+nfnoXblR1Mn0NjVdY7FI3hktUrej9KFxOcaWWgjdlGq3ldlVafbsBjKBRHQNU/kkC03K Nq1CqpoKLJsu9zqHn2VwGz+peQ2YqXzgplxXxWslOwXAt9wj4eQBO04ixrJKn3nYS/sUZb sppLPJTHES8cBQztrLBkZRmd73Os/ubb+z5p65kUF7L5o72SdBmEwV2Vq3mE8rwon9ZvKF t8vZMC/QL2tGZBwIZ7dvSxI7LP2qFBad7jW1OtsxkHvJx48ZVqWUGh1Ce8BjRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654872914; a=rsa-sha256; cv=none; b=Y99wjTLOWkyrZ8ZSbnaKeem12Cik9JWetxWvAB1gTfO1EA6Ek54Q3cON63C+ysgP7rknpB kb3rAKtgn8ULPqaa1WHoQQmL2RAAVG5Pv4RoUQrMTjjLBhxA/iJ55ZXxDeIJfHLY3WFcP7 txydbzBz+VCsgy3xGtWZEH0ODMfVGcb9x7bAOdKwglq/RB9ELCBU8bO7h1+IpPhBpe6yAo ud568zu+eMkuWyQ7wHEpVXNWdyB42zUzgr2zjHyiRs8fB5m7iM3NJwPqEoGLx09eJsPHQB 0BCK3u1IVQvSEGxep32OINX6nLc1XbN/sKHl82b6DPOCQRucdY9qygTx4dAZLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=P8QCSXHf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=P8QCSXHf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BCF001C882 X-Spam-Score: 4.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2NzHX7WSxVUh --=-0lMYz63yWvtqpdPXMNOl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Zac Berkowitz schreef op vr 10-06-2022 om 10:04 [-0400]: > The python scripts in ext/ are completely optional according to the > README in that same directory.=C2=A0 Like taskwarrior, timewarrior can > execute python scripts as hooks in response to various commands, but > they're not necessary for base use. > Maybe this is why debian adds the python requirement?=C2=A0 So hooks just > work out of the box?=C2=A0 How does guix deal with optional dependencies > like this? >=20 If it increases the closure size a lot and does not provide much extra functionality, the extra dependency (and the components that require that dependency) is removed. (Alternatively the ext/ scripts can be changed to use the 'python' in $PATH instead of a baked-in 'python', though such things are avoided where feasible for robustness). Even if they are optional, adding python might be required such that the _correct_ python is used when cross-compiling. As a test, you could try running "guix gc --references" on the timewarrior store item -- if the output contains python, the ext/... is installed with python. Probably most people would have python anyway, so I don't think it has to be removed. Looking at the output of "guix gc --references", it does indeed use python from somewhere. Greetings, Maxime. --=-0lMYz63yWvtqpdPXMNOl 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+4iGRcl7gUCYqNbFxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tP5AP0TSC6Uz5dEDZqeuaXCO97vrp9h ejUUEww4GeMgOSs+8wD/eHxceU9/h6YZq4HDmSU7Kub/tcIKm+jfmYVyPny9Rg0= =vzOv -----END PGP SIGNATURE----- --=-0lMYz63yWvtqpdPXMNOl--