dev-db/etcdctl: Bump to EAPI=7 to use the host Go

This commit is contained in:
David Michael 2018-12-18 18:31:46 +00:00
parent a853ca8737
commit cb6688f74e

View File

@ -1,25 +1,22 @@
# Copyright 1999-2018 Gentoo Foundation # Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=5 EAPI=7
EGO_PN="github.com/coreos/etcd" EGO_PN="github.com/etcd-io/etcd"
COREOS_GO_PACKAGE="${EGO_PN}" COREOS_GO_PACKAGE="${EGO_PN}"
DESCRIPTION="The etcd command line client, v3, compatible with v2" DESCRIPTION="The etcd command line client, v3, compatible with v2"
HOMEPAGE="https://github.com/coreos/etcd" HOMEPAGE="https://github.com/etcd-io/etcd"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
inherit coreos-go golang-vcs-snapshot inherit coreos-go
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
KEYWORDS="amd64 arm64" KEYWORDS="amd64 arm64"
IUSE="" IUSE=""
S=${WORKDIR}/${P}/src/${EGO_PN} S=${WORKDIR}/etcd-${PV}
DEPEND=""
RDEPEND="${DEPEND}"
src_compile() { src_compile() {
go_build "${COREOS_GO_PACKAGE}/cmd/etcdctl" go_build "${COREOS_GO_PACKAGE}/cmd/etcdctl"