Gentoo Archives: gentoo-portage-dev

From: Marius Mauch <genone@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Custom eclass question
Date: Tue, 11 Oct 2005 19:12:46
Message-Id: 20051011211301.5fd2fb39@sven.genone.homeip.net
In Reply to: Re: [gentoo-portage-dev] Custom eclass question by Matthias Waechter
1 On Tue, 11 Oct 2005 13:59:42 +0200 (CEST)
2 "Matthias Waechter" <matthias@××××××××××××.at> wrote:
3
4 > > Brian Harring wrote:
5 > >>>Where do you get the filename from if not SRC_URI?
6 > >>
7 > >> Additional metadata tagged in, or mangling of the syntax in some
8 > >> way.
9 > >
10 > > I don't want to imagine how ugly that will get, syntax mangling will
11 > > probably break things and additional metadata needs a way to
12 > > properly map entries.
13 >
14 > SRC_URI="rename:${PN}-${PV}.tar.bz2:http://and-so-on/"
15 >
16 > or add some slashes after rename to fit whatever slashy syntax.
17
18 Breaks anything that assumes that SRC_URI is actually a (list of) URI.
19 fetch() might not be so hard to adjust, but there are many more tools
20 involved. Not a good idea to change semantics of established
21 datastructures (especially if it's only a workaround for broken
22 upstream packages).
23
24 Marius
25
26 --
27 Public Key at http://www.genone.de/info/gpg-key.pub
28
29 In the beginning, there was nothing. And God said, 'Let there be
30 Light.' And there was still nothing, but you could see a bit better.

Replies

Subject Author
Re: [gentoo-portage-dev] Custom eclass question Brian Harring <ferringb@g.o>