Gentoo Archives: gentoo-pms

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: Brian Harring <ferringb@×××××.com>
Cc: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] Save dependencies as :=3 not :3=.
Date: Tue, 11 Sep 2012 07:36:00
Message-Id: 20120911083338.42986f9c@googlemail.com
In Reply to: Re: [gentoo-pms] [PATCH] Save dependencies as :=3 not :3=. by Brian Harring
1 On Mon, 10 Sep 2012 13:54:42 -0700
2 Brian Harring <ferringb@×××××.com> wrote:
3 > On Mon, Sep 10, 2012 at 05:54:51PM +0100, Ciaran McCreesh wrote:
4 > > This takes us back to the Council-approved syntax, as opposed to the
5 > > change introduced with sub-slots.
6 > > ---
7 > > dependencies.tex | 2 +-
8 > > 1 file changed, 1 insertion(+), 1 deletion(-)
9 > >
10 > > diff --git a/dependencies.tex b/dependencies.tex
11 > > index 47c0261..8c3f31d 100644
12 > > --- a/dependencies.tex
13 > > +++ b/dependencies.tex
14 > > @@ -301,7 +301,7 @@ identically to the plain equals slot operator.
15 > > To implement the equals slot operator, the package manager will
16 > > need to store the slot/sub-slot pair of the best installed version
17 > > of the matching package. This syntax is only for package manager
18 > > use and must not be used by ebuilds. The package manager may do
19 > > this by inserting the appropriate -slot/sub-slot pair between the
20 > > colon and equals sign when saving the package's dependencies. The
21 > > +slot/sub-slot pair after the equals sign when saving the package's
22 > > dependencies. The sub-slot part must not be omitted here (when the
23 > > SLOT variable omits the sub-slot part, the package is considered to
24 > > have an implicit sub-slot which is equal to the regular slot).
25 >
26 > Yes please; :3= I thought bug-fricking-ugly.
27
28 Hrm. Although... We need to decide how a :3= dep in an ebuild is
29 rewritten for VDB. Do we rewrite to to :3/3.3= or to :3=3/3.3? The
30 latter has the advantage that we can tell just from the VDB what the
31 original spec was.
32
33 The way it's worded without the patch has the benefit that stuff on the
34 left of the = is written by the developer, and stuff on the right by the
35 package mangler.
36
37 --
38 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies