Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/
Date: Mon, 26 Nov 2018 20:18:41
Message-Id: 1543263489.dbdb0d4218deaa30a86905b339868b732907a986.mrueg@gentoo
1 commit: dbdb0d4218deaa30a86905b339868b732907a986
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 26 20:18:09 2018 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 26 20:18:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbdb0d42
7
8 dev-db/etcd: Verbose build, add Git SHA
9
10 Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
11 Package-Manager: Portage-2.3.52, Repoman-2.3.11
12
13 dev-db/etcd/etcd-3.3.10.ebuild | 5 +++--
14 1 file changed, 3 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-db/etcd/etcd-3.3.10.ebuild b/dev-db/etcd/etcd-3.3.10.ebuild
17 index 19f780d0674..431d7d6ff86 100644
18 --- a/dev-db/etcd/etcd-3.3.10.ebuild
19 +++ b/dev-db/etcd/etcd-3.3.10.ebuild
20 @@ -7,6 +7,7 @@ inherit user systemd golang-vcs-snapshot
21
22 KEYWORDS="~amd64"
23 EGO_PN="github.com/coreos/etcd"
24 +GIT_COMMIT="27fc7e2"
25 MY_PV="${PV/_rc/-rc.}"
26 DESCRIPTION="Highly-available key value store for shared configuration and service discovery"
27 HOMEPAGE="https://github.com/coreos/etcd"
28 @@ -19,7 +20,7 @@ RDEPEND="!dev-db/etcdctl"
29
30 src_prepare() {
31 default
32 - sed -e 's|GIT_SHA=.*|GIT_SHA=v${PV}|'\
33 + sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
34 -i "${S}"/src/${EGO_PN}/build || die
35 sed -e 's:\(for p in \)shellcheck :\1 :' \
36 -e 's:^ gofmt \\$:\\:' \
37 @@ -40,7 +41,7 @@ pkg_setup() {
38 src_compile() {
39 export GOPATH=${S}
40 pushd src/${EGO_PN} || die
41 - ./build || die
42 + GO_BUILD_FLAGS=-v ./build || die
43 popd || die
44 }