public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jason Stubbs <jstubbs@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] virtuals in /etc/portage/package.use
Date: Mon, 18 Apr 2005 18:32:30 +0900	[thread overview]
Message-ID: <200504181832.30414.jstubbs@gentoo.org> (raw)
In-Reply-To: <4263661C.4050900@gmx.net>

On Monday 18 April 2005 16:47, Philipp Hasse wrote:
> Hi,
>
> is it true that entries starting with virtual won't work in
> /etc/portage/package.use?
> For example if I want to disable the doc use flag on the selected java
> distribution I would write: "virtual/jre -doc".
> What about adding this feature to portage?

Short answer? No.

Long answer? Here:

You're opening a can of worms there... What to do when virtual/jre and 
dev-java/blackdown-jre are both specified but in conflict? What about if 
dev-java/blackdown-jre is specified directly on the command line?

There would also be a big performance loss. For every package that is looked 
at, portage would have to check if it provides any virtuals. After that every 
one of the virtuals would have to be checked against package.use. It would 
then have to check for and resolve any conflicts.

But of course, if package.use were to support this then package.mask, 
package.unmask and package.keywords would have to support it as well. All in 
all, a big loss for a small gain.

Regards,
Jason Stubbs
-- 
gentoo-dev@gentoo.org mailing list


      reply	other threads:[~2005-04-18  9:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-18  7:47 [gentoo-dev] virtuals in /etc/portage/package.use Philipp Hasse
2005-04-18  9:32 ` Jason Stubbs [this message]

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=200504181832.30414.jstubbs@gentoo.org \
    --to=jstubbs@gentoo.org \
    --cc=gentoo-dev@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