From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-198642-garchives=archives.gentoo.org@lists.gentoo.org>
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 (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 955CF15808B
	for <garchives@archives.gentoo.org>; Mon, 11 Apr 2022 07:54:18 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 99AD9E0B06;
	Mon, 11 Apr 2022 07:54:11 +0000 (UTC)
Received: from mail.digimed.co.uk (mail.digimed.co.uk [82.69.83.178])
	(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 9C973E0AF7
	for <gentoo-user@lists.gentoo.org>; Mon, 11 Apr 2022 07:54:09 +0000 (UTC)
Received: from digimed.co.uk (fenchurch.digimed.co.uk [192.168.1.6])
	by mail.digimed.co.uk (Postfix) with ESMTPS id B9D91130A79
	for <gentoo-user@lists.gentoo.org>; Mon, 11 Apr 2022 08:53:56 +0100 (BST)
Date: Mon, 11 Apr 2022 08:53:51 +0100
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to only recompile git ebuild without fetching
 any sources?
Message-ID: <20220411085351.2e4915e9@digimed.co.uk>
In-Reply-To: <20220411053939.gaj4ogwxv3j4synr@localhost>
References: <20220410210652.rnhfnax2rz5kq4nr@localhost>
	<5584180.DvuYhMxLoT@invader>
	<20220411053939.gaj4ogwxv3j4synr@localhost>
Organization: Digital Media Production
X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-pc-linux-gnu)
X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667  FE37 BA6E 1A97 4375 1903
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/Li8BI6ab__KqHo_ovVQ3yi3";
 protocol="application/pgp-signature"; micalg=pgp-sha256
X-Archives-Salt: f2b2eae6-2ed4-4f56-b4b1-30d40c16990d
X-Archives-Hash: 39c90202c8a95c3bc4f9655274e46f7c

--Sig_/Li8BI6ab__KqHo_ovVQ3yi3
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Mon, 11 Apr 2022 08:39:39 +0300, Dex Conner wrote:

> > Setting EVCS_OFFLINE=3D1 should work. There's some documentation on
> > that variable here:
> > https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html
> >=20
> > -Marco =20
>=20
> Thank you! Is there maybe a way to set this with emerge / something
> else on a case by case basis without editing the ebuild each time?

You can set in on the command line:

EVCS_OFFLINE=3D1 emerge -1a somepackage

or you can set it, or any of portage's environment variables, on a per
package basis in /etc/portage/package.env:

https://wiki.gentoo.org/wiki//etc/portage/package.env


--=20
Neil Bothwick

To be sure of hitting the target, shoot first and call whatever you hit
the target.

--Sig_/Li8BI6ab__KqHo_ovVQ3yi3
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmJT3pAACgkQ92eFu0QS
MJg2Ew/+J6A79doFaNlYSyaRaJVjIxl/pI+0SHnvWd6tDZ8Co7lzEDmAgLdECEAR
44VepbGi0v3SsEcW1fiZ4UxmHpTFbC727hWA3e2zdqhV/kK1nMrhUgU4IDd8/OyA
IEWKMzKcQcg9vpgSA6l5LRxAJbkTYHXR3OdUGbRnKS6OzSCSL2pz+DilZnZic3fc
TVtLwEXaNZknBnxSVcTovp+pDf/kjH8CCzap610oVThlf7Qoe60WQnZi1H10fRqg
D3QbQ+QJ3Vst+g+0OqW1N8syPr/6JGV6w/Gp/AHQytgVmN7NMoMrLORYo86Xq6cF
z/oGP6nk0L/N0xguA9xwMQJDpStIQ+QDxaNSA0qjiIzdoegJMMjiUeFlCZtosZp8
EzGY6R5f6wrnPmzcC/eYaTs9GOi7R+L1yjbmBshfsBjRJIPGIte/zfZbwh5n5v7D
4Jlr9bfh+uoworBEZL2WKZqDGTaCqBiG7khXaBtFUj+HyVsVlA6p5JO5XJgjzhCt
/sSyQH8/68UECX/ExtGQ2V/7SdGFzERDJf/OFSR9yyTG9vLtcixZIWZ17erbYR8g
T3m9ItyWsqxGNzy+3izCMdj3/uf+I4YJIT+2XA0vQuwVHQ4uGCbbRJyU52V7p32b
mr9gtc4uNdC3WrDUOWKuexMSWvUR2lE5boaq/igQuVUYEgRmnTs=
=ezUY
-----END PGP SIGNATURE-----

--Sig_/Li8BI6ab__KqHo_ovVQ3yi3--