October 16, 2017 5:30 AM, "Damo Brisbane"  wrote:
 Hello,

I am wanting to make an ebuild for Intel's (Apache 2 licensed) snap monitoring 
framework
(https://github.com/intelsdi-x/snap (https://github.com/intelsdi-x/snap)). It 
seems the current version (2.0.0) does not compile the
golang binaries with some type of recent grpc API incompatibility. I can 
successfully compile by
going:

go get ...

cd 

git checkout 1.3.0

make all

This gets me the binaries (snaptel, snapteld); does anyone know if I can put 
this process (git
checkout..) into an .ebuild file (or some other suggestion)?

Cheers, 
Hi,

You can use git-r3.eclass and use a specific tag or commit.
See examples on the tree :
https://github.com/gentoo/gentoo/search?utf8=%E2%9C%93&q=EGIT_COMMIT+git-r3&type=
 
(https://github.com/gentoo/gentoo/search?utf8=%E2%9C%93&q=EGIT_COMMIT+git-r3&type=)

Best regards,
--
Corentin “Nado” Pazdera

Reply via email to