public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zac Medico <zmedico@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] reconciling new-style virtuals with overlays, was: RDEPENDing on packages from overlays?
Date: Sat, 23 Apr 2011 04:15:56 -0700	[thread overview]
Message-ID: <4DB2B4EC.3070901@gentoo.org> (raw)
In-Reply-To: <4DB2A9CD.7010708@gentoo.org>

On 04/23/2011 03:28 AM, Chí-Thanh Christopher Nguyễn wrote:
> Eray Aslan schrieb:
>> https://bugs.gentoo.org/show_bug.cgi?id=364445
>> https://bugs.gentoo.org/show_bug.cgi?id=364401
>>
>> Basically, there are requests to add packages to RDEPEND in virtual/mda
>> and virtual/mta that are not in the official tree but in sunrise.
>>
>> On one side, *DEPENDing on a package outside the tree doesn't seem
>> right.
> 
> I understand that the push to remove old-style virtuals from the main
> tree is because they cause headaches for the package managers during
> dependency calculation. I also understand that existing EAPIs will not
> be amended to forbid old-style virtuals.
> 
> Would it make sense to do the following:
> (1) make all new-style virtuals additionally depend on an old-style
> virtual (a new category might be appropriate)
> (2) ebuilds in overlays can PROVIDE the old-style virtual

It seems like new-style virtual would be introducing complexity without
adding any value here. Why not just use a pure old-style virtual?

> (3) in a future EAPI, package managers are allowed to ignore the
> old-style virtual dependency for packages which are not already installed

I'm not sure what you mean here. In || dependencies, it's normal to
ignore choices that are masked or unavailable, so I'm not sure that
you're suggesting anything different from the existing || behavior.

> If directly including installed old-style virtual packages in the
> dependency calculations is not feasible, (3) could be implemented
> through modifying package.provided like it is already done for
> package.{keywords,mask,use} after profile/ updates

Again, I'm not sure that I understand the point of this. Since ||
dependencies already ignore unavailable or masked choices, why would
package.provided be needed?
-- 
Thanks,
Zac



  reply	other threads:[~2011-04-23 11:17 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-23  6:05 [gentoo-dev] RDEPENDing on packages from overlays? Eray Aslan
2011-04-23 10:28 ` [gentoo-dev] reconciling new-style virtuals with overlays, was: " Chí-Thanh Christopher Nguyễn
2011-04-23 11:15   ` Zac Medico [this message]
2011-04-23 13:25     ` Chí-Thanh Christopher Nguyễn
2011-04-23 11:32   ` Ciaran McCreesh
2011-04-23 13:28     ` Chí-Thanh Christopher Nguyễn
2011-04-23 13:37       ` Ciaran McCreesh
2011-04-23 14:47         ` Chí-Thanh Christopher Nguyễn
2011-04-23 14:57           ` Ciaran McCreesh
2011-04-23 15:50             ` [gentoo-dev] reconciling new-style virtuals with overlays Ulrich Mueller
2011-04-23 16:02             ` [gentoo-dev] reconciling new-style virtuals with overlays, was: RDEPENDing on packages from overlays? Chí-Thanh Christopher Nguyễn
2011-04-23 11:02 ` [gentoo-dev] " Zac Medico
2011-04-23 12:01   ` Nathan Phillip Brink
2011-04-23 12:07   ` Thomas Sachau
2011-04-23 12:08     ` Ciaran McCreesh
2011-04-23 13:05     ` Ulrich Mueller
2011-04-23 15:24       ` Zac Medico
2011-04-24  4:57         ` Eray Aslan
2011-04-24  5:39           ` Ulrich Mueller
2011-04-24  6:42             ` Eray Aslan
2011-04-24 20:35               ` William Hubbs
2011-04-23 11:03 ` William Hubbs
2011-04-23 13:07   ` Chí-Thanh Christopher Nguyễn
2011-04-23 11:08 ` [gentoo-dev] " Diego Elio Pettenò
2011-04-23 11:34 ` [gentoo-dev] " Ciaran McCreesh
2011-04-23 11:59 ` Thomas Sachau

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=4DB2B4EC.3070901@gentoo.org \
    --to=zmedico@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