On Tue, May 31, 2011 at 04:24:23PM +0200, Michał Górny wrote:
> Hello all,
>
> As I suggested earlier, I'm attaching an example implementation
> of github-snapshot.eclass.
>
> All the eclass does is providing a default src_unpack() unpacking
> the github snapshot into ${S}. Right now it simply does call default
> src_unpack() and then does a fuzzy `mv' but that can change
> in the future.
>
> The eclass doesn't modify S or SRC_URI itself. An ebuild using it
> should look like the following:
A function to generate a github url for SRC_URI is likely warranted;
should they ever grow mirrors/change their scheme, we can change it
in one spot.
Plus it makes it easier for ebuild devs to specify the url
~brian