public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
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?
Date: Mon, 11 Apr 2022 08:53:51 +0100	[thread overview]
Message-ID: <20220411085351.2e4915e9@digimed.co.uk> (raw)
In-Reply-To: <20220411053939.gaj4ogwxv3j4synr@localhost>

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

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

> > Setting EVCS_OFFLINE=1 should work. There's some documentation on
> > that variable here:
> > https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html
> > 
> > -Marco  
> 
> 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=1 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


-- 
Neil Bothwick

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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-04-11  7:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-10 21:06 [gentoo-user] How to only recompile git ebuild without fetching any sources? Dex Conner
2022-04-10 21:14 ` Marco Rebhan
2022-04-11  5:39   ` Dex Conner
2022-04-11  7:53     ` Neil Bothwick [this message]
2022-04-11  8:49       ` Dex Conner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220411085351.2e4915e9@digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox