From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F08E1581F3 for ; Thu, 28 Nov 2024 17:06:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52298E08ED; Thu, 28 Nov 2024 17:06:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08637E08DA for ; Thu, 28 Nov 2024 17:06:22 +0000 (UTC) Message-ID: Subject: Re: [gentoo-dev] [PATCH v2 1/2] sec-keys.eclass: new eclass From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org, Eli Schwartz Date: Thu, 28 Nov 2024 18:06:17 +0100 In-Reply-To: <87r06vb8l4.fsf@gentoo.org> References: <20241127203042.1503004-1-eschwartz@gentoo.org> <20241128043320.1562802-1-eschwartz@gentoo.org> <20241128043320.1562802-2-eschwartz@gentoo.org> <0296ba81-8379-4030-896c-4722cc768d4a@gentoo.org> <87r06vb8l4.fsf@gentoo.org> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-DqmnesmAONIu9aeytWKO" User-Agent: Evolution 3.52.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: 8b82c2fb-1640-43b8-9ea9-2c2571691ea5 X-Archives-Hash: 0166a4ddd85a3676565121c28b8fe282 --=-DqmnesmAONIu9aeytWKO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2024-11-28 at 16:56 +0000, Sam James wrote: > Eli Schwartz writes: >=20 > > On 11/28/24 8:10 AM, Micha=C5=82 G=C3=B3rny wrote: > > > On Wed, 2024-11-27 at 23:32 -0500, Eli Schwartz wrote: > > >=20 > > > That looks like something you could do in src_compile() already. > >=20 > >=20 > > Perhaps. But it felt like exporting keys is work that is conceptually > > part of installing, in much the way that running a meson project's > > `meson install` step does more than just copy files into ${D} -- it als= o > > processes those files in order to do things like patch the rpath. > >=20 > > I guess I am not too attached to either approach. >=20 > I think I very loosely prefer doing it in src_compile as it's > "compilation" of the resulting files and then src_install just moving > the bundle, but I hardly feel strongly about it at all and feel it's > personal preference. Not worth the electrons ;) My point was mostly that you wouldn't have to start with GNUPGHOME again. Also, tests might be able to reuse the result then. Also, tests wouldn't be able to mess up src_install() (think of test-fail-continue too). --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-DqmnesmAONIu9aeytWKO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQFGBAABCgAwFiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAmdIowkSHG1nb3JueUBn ZW50b28ub3JnAAoJEGOa2uIyniQOQGMH/31647MiJDatDXaOgkUr2IWFMeoAcSub 4h9o9piy3LGSceU9rxjapsVPu1Nc12cTM/IDrj2t6W8SqUkevpr03p0puPJ+q/L0 tZIDmOxBusu9OJFQ40v/cOyv6Q6f7HaxelqiqNUBcoJp6VkYJhlSk7grMa8ELMmL xuniuJnoEiIM2K3ZGFMnxdw9HhK/JB1HzHrezo3xjhAVUwmejP8l+iHPQvdCbqot /8suz7wVqPujdReVoyiMwP3PxBNkkgMqNiy6Jz8PO9tZQLw1kmHOuYu+w9M9KJiK OBtB1VSNFRwKaLgusyBSP+aTVYhylIMrfYRS28JMZWUf5mOmQl8rgRY= =9kc4 -----END PGP SIGNATURE----- --=-DqmnesmAONIu9aeytWKO--