From: | Kent Fredric <kentnl@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] [PATCH 1/3] go-module.eclass: introduce new eclass to handle go modules | ||
Date: | Thu, 12 Sep 2019 20:16:59 | ||
Message-Id: | 20190913081638.757b2817@katipo2.lan | ||
In Reply to: | Re: [gentoo-dev] [PATCH 1/3] go-module.eclass: introduce new eclass to handle go modules by "Michał Górny" |
1 | On Thu, 12 Sep 2019 19:03:02 +0200 |
2 | Michał Górny <mgorny@g.o> wrote: |
3 | |
4 | > ebuild spire-0.8.1.ebuild fetch |
5 | > tar -xf ${DISTDIR}/spire-0.8.1.tar.gz |
6 | > cd spire-0.8.1/ |
7 | > go mod vendor |
8 | > cd ../ |
9 | > tar -cf spire-0.8.1-vendor.tar spire-0.8.1/vendor |
10 | > |
11 | > Now you don't need special src_prepare() to unpack it. |
12 | |
13 | Of course, that means if spire-0.8.1 and spire-0.8.2 use identical |
14 | vendor dirs, you can no longer trivially bump the version on the dist |
15 | without a manual re-tar. |
Subject | Author |
---|---|
Re: [gentoo-dev] [PATCH 1/3] go-module.eclass: introduce new eclass to handle go modules | "Michał Górny" <mgorny@g.o> |