Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] vcs-snapshot.eclass: add a way to specify the extraction path
Date: Thu, 30 Jul 2015 21:11:49
Message-Id: CAJ0EP40gdmJ960bDZE8-MgSH1hKk9qh3+dnPLees9uifr4rABA@mail.gmail.com
In Reply to: [gentoo-dev] vcs-snapshot.eclass: add a way to specify the extraction path by William Hubbs
1 On Thu, Jul 30, 2015 at 11:57 AM, William Hubbs <williamh@g.o> wrote:
2 > All,
3 >
4 > I'm finding in working on Go ebuilds, that we are propegating a
5 > src_unpack function that is very similar to the one in vcs-snapshot.
6 >
7 > This patch adds an EXTRACT_PATH variable to the vcs-snapshot eclass
8 > which, if set, puts the extracted archives in the specified directory under ${S}.
9 >
10 > If it is not set, nothing should happen.
11 >
12 > This could be used by other types of ebuilds later, but for now it would
13 > be used by Go ebuilds.
14 >
15 > Thoughts?
16
17 Can you provide an example of an ebuild in the tree for which this
18 would be useful?
19
20 I'm unclear as to why tarballs are being unpacked in sub-directories of ${S}.

Replies