Gentoo Archives: gentoo-dev

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] reconciling new-style virtuals with overlays, was: RDEPENDing on packages from overlays?
Date: Sat, 23 Apr 2011 10:29:46
Message-Id: 4DB2A9CD.7010708@gentoo.org
In Reply to: [gentoo-dev] RDEPENDing on packages from overlays? by Eray Aslan
1 Eray Aslan schrieb:
2 > https://bugs.gentoo.org/show_bug.cgi?id=364445
3 > https://bugs.gentoo.org/show_bug.cgi?id=364401
4 >
5 > Basically, there are requests to add packages to RDEPEND in virtual/mda
6 > and virtual/mta that are not in the official tree but in sunrise.
7 >
8 > On one side, *DEPENDing on a package outside the tree doesn't seem
9 > right.
10
11 I understand that the push to remove old-style virtuals from the main
12 tree is because they cause headaches for the package managers during
13 dependency calculation. I also understand that existing EAPIs will not
14 be amended to forbid old-style virtuals.
15
16 Would it make sense to do the following:
17 (1) make all new-style virtuals additionally depend on an old-style
18 virtual (a new category might be appropriate)
19 (2) ebuilds in overlays can PROVIDE the old-style virtual
20 (3) in a future EAPI, package managers are allowed to ignore the
21 old-style virtual dependency for packages which are not already installed
22
23 If directly including installed old-style virtual packages in the
24 dependency calculations is not feasible, (3) could be implemented
25 through modifying package.provided like it is already done for
26 package.{keywords,mask,use} after profile/ updates
27
28
29 Regards,
30 Chi-Thanh Christopher Nguyen

Replies