fix(app-admin/systemd-rest): make version iterable

now that we have a team we need to be able to bump each other to new
versions. Stop accepting the keyword for ~amd64 and move into a version.
This commit is contained in:
Brandon Philips 2013-05-28 17:06:17 -07:00
parent 5e3c938fde
commit 28196a9a3a
2 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,37 @@
#
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
# $Header:$
#
EAPI=2
CROS_WORKON_PROJECT="coreos/systemd-rest"
CROS_WORKON_LOCALNAME="systemd-rest"
CROS_WORKON_REPO="git://github.com"
CROS_WORKON_COMMIT="41af8892337ca0a95c6d1e8964019bfae85d640c"
inherit toolchain-funcs cros-workon systemd
DESCRIPTION="systemd over rest"
HOMEPAGE="https://github.com/coreos/systemd-rest"
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() {
dosbin ${S}/systemd-rest
systemd_dounit "${FILESDIR}"/${PN}.service
systemd_enable_service multi-user.target ${PN}.service
}

View File

@ -128,7 +128,6 @@
=net-dialup/xl2tpd-1.3.0-r1 ~amd64
=sys-apps/keyutils-1.1 ~amd64
=net-dialup/ppp-2.4.5-r3 ~amd64
=app-admin/systemd-rest-9999 ~amd64 ~x86
=dev-python/pyxenstore-9999 ~amd64 ~x86
=coreos-base/motd-http-9999 ~amd64 ~x86
=app-emulation/docker-9999 ~amd64 ~x86