EAPI=5
-inherit systemd user
+inherit golang-base systemd user
KEYWORDS="~amd64"
DESCRIPTION="A tool for service discovery, monitoring and configuration"
LICENSE="MPL-2.0"
SLOT="0"
IUSE="test web"
+RESTRICT="test"
DEPEND=">=dev-lang/go-1.4:=
dev-go/go-crypto:=
unpack_go_packages
# Create a writable GOROOT in order to avoid sandbox violations
# or other interference from installed instances.
- export GOPATH="${WORKDIR}" GOROOT="${WORKDIR}/goroot"
+ export GOPATH="${WORKDIR}:$(get_golibdir_gopath)" GOROOT="${WORKDIR}/goroot"
cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
while read -r path; do
rm -rf "${GOROOT}/src/${path#${WORKDIR}/src}" \
EAPI=5
-inherit systemd user
+inherit golang-base systemd user
KEYWORDS="~amd64"
DESCRIPTION="A tool for service discovery, monitoring and configuration"
LICENSE="MPL-2.0"
SLOT="0"
IUSE="test web"
+RESTRICT="test"
DEPEND=">=dev-lang/go-1.4
dev-go/go-crypto
unpack_go_packages
# Create a writable GOROOT in order to avoid sandbox violations
# or other interference from installed instances.
- export GOPATH="${WORKDIR}" GOROOT="${WORKDIR}/goroot"
+ export GOPATH="${WORKDIR}:$(get_golibdir_gopath)" GOROOT="${WORKDIR}/goroot"
cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
while read -r path; do
rm -rf "${GOROOT}/src/${path#${WORKDIR}/src}" \
EAPI=5
-inherit git-r3 systemd user
+inherit git-r3 golang-base systemd user
KEYWORDS=""
DESCRIPTION="A tool for service discovery, monitoring and configuration"
LICENSE="MPL-2.0"
SLOT="0"
IUSE="test web"
+RESTRICT="test"
DEPEND=">=dev-lang/go-1.4:=
dev-go/go-crypto:=
# Create a writable GOROOT in order to avoid sandbox violations
# or other interference from installed instances.
- export GOPATH="${WORKDIR}" GOROOT="${WORKDIR}/goroot"
+ export GOPATH="${WORKDIR}:$(get_golibdir_gopath)" GOROOT="${WORKDIR}/goroot"
cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
# Use latest versions of some packages, in case of incompatible