Gentoo Archives: gentoo-dev

From: Andrew Udvare <audvare@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] How to correctly use golang-vcs with the Google API libraries?
Date: Tue, 25 Aug 2015 00:35:49
To correctly support the entire Google API library set, do we need a
separate ebuild for every single one? This definitely can be automated.

With golang-vcs, using for GO_PN is not working
and I think it is because each package must be dealt with separately.

Back story:

I have an ebuild I made a while ago back when the norm was to hack up a
copy of GOROOT minus the package and build the package with that root,
then install. It is located here:

I do need to update all my Go ebuilds for golang-* eclasses, not just
this one, because the old way was to install to /usr/lib/go rather than

But besides that, this ebuild was only intended to fulfil the
dependencies of Odeke Drive (a Google Drive client, especially since
Grive is now dead due to API changes). You can see this in the loop that
only deals with the packages drive/v2 and googleapi. (Just to note, I
would love to see Odeke Drive in the tree as there is no longer a
working Google Drive client in the tree.)