On Wed, 14 Sep 2016 14:55:06 +0100
James Le Cuirot <[email protected]> wrote:

> On Wed, 14 Sep 2016 14:53:18 +0100
> James Le Cuirot <[email protected]> wrote:
> 
> > On Wed, 14 Sep 2016 15:50:28 +0200
> > Alexis Ballier <[email protected]> wrote:
> >   
>  [...]  
>  [...]  
> > 
> > You can't.  
> 
> Sorry, let me correct that, you can't by date but you can by $PV if
> they have created versioned git tags. Just swap the commit reference
> for the tag name.
> 

Also, you'll probably want one of

    SRC_URI="<WHATEVER>/archive/${SHA1}.tar.gz -> ${PN}-${SHA1}.tar.gz" 
    SRC_URI="<WHATEVER>/archive/${TAG}.tar.gz -> ${PN}-${TAG}.tar.gz" 

Because otherwise your tars are just going to be 
distfiles/dcd4e6df145853de19af532b0f581a8f0ddfe5ae.tar.gz
or distfiles/0.1.0.tar.gz ( and the latter is destined to collide )

and you'll then also need one of

  S="${WORKDIR}/${PN}-${SHA1}"
  S="${WORKDIR}/${PN}-${TAG}"

But if $TAG contains a "v" prefix, the first will work, but the second will
 need the "v" stripped.

Because github.

Attachment: pgppXPnd6eJ_9.pgp
Description: OpenPGP digital signature

Reply via email to