fix(app-admin/etcd*): Use correct version layout

etcd client and etcd were not rebuilding because 9999 was not masked.
Fix this.
This commit is contained in:
Brandon Philips 2013-05-29 15:12:16 -07:00
parent 81db9a59bf
commit 306f88f4a3
6 changed files with 78 additions and 2 deletions

View File

@ -0,0 +1 @@
etcd-client-0.0.1.ebuild

View File

@ -0,0 +1,36 @@
#
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
# $Header:$
#
EAPI=2
CROS_WORKON_PROJECT="coreos/etcd-client"
CROS_WORKON_LOCALNAME="etcd-client"
CROS_WORKON_REPO="git://github.com"
CROS_WORKON_COMMIT="350501cefd98d7d816efaf7c650ad49c6c3dbc89"
inherit toolchain-funcs cros-workon systemd
DESCRIPTION="etcd-client"
HOMEPAGE="https://github.com/xiangli-cmu/etcd-client"
SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE=""
DEPEND=">=dev-lang/go-1.0.2"
GOROOT="${ED}usr/$(get_libdir)/go"
GOPKG="${PN}"
src_compile() {
export GOPATH="${S}"
go get
go build -o ${PN} || die
}
src_install() {
dobin ${S}/${PN} || die
}

View File

@ -17,7 +17,7 @@ SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm x86"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND=">=dev-lang/go-1.0.2"

View File

@ -0,0 +1 @@
etcd-0.0.1.ebuild

View File

@ -0,0 +1,38 @@
#
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
# $Header:$
#
EAPI=2
CROS_WORKON_PROJECT="coreos/etcd"
CROS_WORKON_LOCALNAME="etcd"
CROS_WORKON_REPO="git://github.com"
CROS_WORKON_COMMIT="f4301f994c995d7e91214e082fa18312899b4131"
inherit toolchain-funcs cros-workon systemd
DESCRIPTION="etcd"
HOMEPAGE="https://github.com/xiangli-cmu/etcd"
SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE=""
DEPEND=">=dev-lang/go-1.0.2"
GOROOT="${ED}usr/$(get_libdir)/go"
GOPKG="${PN}"
src_compile() {
export GOPATH="${S}"
go get
go build -o ${PN}
}
src_install() {
dosbin ${S}/${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
systemd_enable_service multi-user.target ${PN}.service
}

View File

@ -17,7 +17,7 @@ SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm x86"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND=">=dev-lang/go-1.0.2"