Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] pkg_nofetch: $A vs. $SRC_URI
Date: Tue, 04 Jul 2006 18:53:50
Message-Id: 200607041445.29915.vapier@gentoo.org
In Reply to: [gentoo-dev] pkg_nofetch: $A vs. $SRC_URI by "Robin H. Johnson"
1 On Monday 03 July 2006 21:00, Robin H. Johnson wrote:
2 > If you have an ebuild with a non-standard pkg_nofetch, please ensure
3 > that you use $SRC_URI instead of $A!
4 >
5 > This is because if you have FEATURES=mirror or FEATURES=cvs, attempts to
6 > download all of the source files for digesting or verification will hit
7 > pkg_nofetch and $A is only the subset of $SRC_URI, causing misleading
8 > messages to be displayed about what needs to be downloaded still.
9
10 whats the problem then ? the user shouldnt have to download all the files in
11 SRC_URI if his USE flags wont need some of it
12
13 SRC_URI="foo.tar.bz2 bar? ( bar.tar.bz2 )"
14
15 a user with USE=-bar should not have to download bar.tar.bz2 ... if they do,
16 it's a portage bug ... fix portage, dont make ebuilds ugly
17 -mike

Replies

Subject Author
Re: [gentoo-dev] pkg_nofetch: $A vs. $SRC_URI Mike Frysinger <vapier@g.o>