EAPI=5
-inherit fcaps systemd user
+inherit fcaps golang-build systemd user
KEYWORDS="~amd64"
DESCRIPTION="A tool for managing secrets"
LICENSE="MPL-2.0"
SLOT="0"
IUSE=""
+RESTRICT="test"
-DEPEND=">=dev-lang/go-1.4:=
- dev-go/go-oauth2:="
+DEPEND="dev-go/go-oauth2:="
RDEPEND=""
SRC_URI="https://${GO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
rm -rf "${GOROOT}/src/${GO_PN}" || die
- export GOPATH=${WORKDIR}:${WORKDIR}/src/github.com/hashicorp/vault/Godeps/_workspace
+ export GOPATH=${WORKDIR}:${WORKDIR}/src/github.com/hashicorp/vault/Godeps/_workspace:$(get_golibdir_gopath)
while read -r -d '' x; do
rm -rf "${GOROOT}/src/${x}" "${GOROOT}/pkg/${KERNEL}_${ARCH}/${x}"{,.a} || die
EAPI=5
-inherit fcaps systemd user
+inherit fcaps golang-build systemd user
KEYWORDS="~amd64"
DESCRIPTION="A tool for managing secrets"
LICENSE="MPL-2.0"
SLOT="0"
IUSE=""
+RESTRICT="test"
-DEPEND=">=dev-lang/go-1.4
- dev-go/go-oauth2"
+DEPEND="dev-go/go-oauth2"
RDEPEND=""
SRC_URI="https://${GO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
rm -rf "${GOROOT}/src/${GO_PN}" || die
- export GOPATH=${WORKDIR}:${WORKDIR}/src/github.com/hashicorp/vault/Godeps/_workspace
+ export GOPATH=${WORKDIR}:${WORKDIR}/src/github.com/hashicorp/vault/Godeps/_workspace:$(get_golibdir_gopath)
while read -r -d '' x; do
rm -rf "${GOROOT}/src/${x}" "${GOROOT}/pkg/${KERNEL}_${ARCH}/${x}"{,.a} || die
EAPI=5
-inherit fcaps git-r3 systemd user
+inherit fcaps git-r3 golang-build systemd user
KEYWORDS=""
DESCRIPTION="A tool for managing secrets"
LICENSE="MPL-2.0"
SLOT="0"
IUSE=""
+RESTRICT="test"
-DEPEND=">=dev-lang/go-1.4:=
- dev-go/go-oauth2:="
+DEPEND="dev-go/go-oauth2:="
RDEPEND=""
SRC_URI=""
cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
rm -rf "${GOROOT}/src/${GO_PN}" || die
- export GOPATH=${WORKDIR}:${WORKDIR}/src/github.com/hashicorp/vault/Godeps/_workspace
+ export GOPATH=${WORKDIR}:${WORKDIR}/src/github.com/hashicorp/vault/Godeps/_workspace:$(get_golibdir_gopath)
while read -r -d '' x; do
rm -rf "${GOROOT}/src/${x}" "${GOROOT}/pkg/${KERNEL}_${ARCH}/${x}"{,.a} || die