From 28196a9a3a77aa4c8f0f3e7532d334c864564ee5 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Tue, 28 May 2013 17:06:17 -0700 Subject: [PATCH] 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. --- .../systemd-rest/systemd-rest-0.0.1-r1.ebuild | 37 +++++++++++++++++++ .../targets/coreos/package.accept_keywords | 1 - 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/coreos-overlay/app-admin/systemd-rest/systemd-rest-0.0.1-r1.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/app-admin/systemd-rest/systemd-rest-0.0.1-r1.ebuild b/sdk_container/src/third_party/coreos-overlay/app-admin/systemd-rest/systemd-rest-0.0.1-r1.ebuild new file mode 100644 index 0000000000..4b7e3aaeb3 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-admin/systemd-rest/systemd-rest-0.0.1-r1.ebuild @@ -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 +} diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/targets/coreos/package.accept_keywords b/sdk_container/src/third_party/coreos-overlay/profiles/targets/coreos/package.accept_keywords index d9e7f363bf..515445a9d4 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/targets/coreos/package.accept_keywords +++ b/sdk_container/src/third_party/coreos-overlay/profiles/targets/coreos/package.accept_keywords @@ -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