From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-828628-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 61FCB1385B0
	for <garchives@archives.gentoo.org>; Sun, 16 Aug 2015 00:15:41 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 64421141A8;
	Sun, 16 Aug 2015 00:15:39 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D864E141A8
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Aug 2015 00:15:38 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A38C1340C04
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Aug 2015 00:15:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 26A57154
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Aug 2015 00:15:35 +0000 (UTC)
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" <zmedico@gentoo.org>
Message-ID: <1439684081.96a9e7abadb7faabcf6d60f55830181ae490b316.zmedico@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-swarm/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-emulation/docker-swarm/Manifest app-emulation/docker-swarm/docker-swarm-0.4.0.ebuild app-emulation/docker-swarm/metadata.xml
X-VCS-Directories: app-emulation/docker-swarm/
X-VCS-Committer: zmedico
X-VCS-Committer-Name: Zac Medico
X-VCS-Revision: 96a9e7abadb7faabcf6d60f55830181ae490b316
X-VCS-Branch: master
Date: Sun, 16 Aug 2015 00:15:35 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: d4b7e1dd-d796-4f97-91ed-25fe43cc52c0
X-Archives-Hash: 6d56f56d4d6dbd4f8e276f322e7ee274

commit:     96a9e7abadb7faabcf6d60f55830181ae490b316
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 16 00:13:45 2015 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Aug 16 00:14:41 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a9e7ab

Add docker-swarm.

Package-Manager: portage-2.2.20.1

 app-emulation/docker-swarm/Manifest                |  1 +
 .../docker-swarm/docker-swarm-0.4.0.ebuild         | 37 ++++++++++++++++++++++
 app-emulation/docker-swarm/metadata.xml            | 10 ++++++
 3 files changed, 48 insertions(+)

diff --git a/app-emulation/docker-swarm/Manifest b/app-emulation/docker-swarm/Manifest
new file mode 100644
index 0000000..8103b97
--- /dev/null
+++ b/app-emulation/docker-swarm/Manifest
@@ -0,0 +1 @@
+DIST docker-swarm-0.4.0.tar.gz 853254 SHA256 c3ee1a34ce86da4d31f652c871dfa120fc78d5cc835e391034d740e83b48f7a3 SHA512 ffaa5560d67cafcc97b091d87b7792d6a0bfed2fb08837854a8313175742d535ee671fe45c4b96eeb69bf613a31e2e37cf92524f93ad20fbfbd54647b956c9c1 WHIRLPOOL 3acb07bfbcf33d70dffbfff4c5028767f36d51bd3500143d50e109d062cfd0107dfdc9f45724d08f874d81e15429089ed18a664fd591c26d7f2ff14ea933f93a

diff --git a/app-emulation/docker-swarm/docker-swarm-0.4.0.ebuild b/app-emulation/docker-swarm/docker-swarm-0.4.0.ebuild
new file mode 100644
index 0000000..bb35aae
--- /dev/null
+++ b/app-emulation/docker-swarm/docker-swarm-0.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+EGO_PN=github.com/docker/${PN##*-}/...
+
+if [[ ${PV} = *9999* ]]; then
+	inherit golang-vcs
+else
+	KEYWORDS="~amd64"
+	EGIT_COMMIT="v${PV}"
+	SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+	inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="A Docker-native clustering system"
+HOMEPAGE="https://docs.docker.com/${PN##*-}/"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+RESTRICT="test"
+DEPEND=""
+RDEPEND=""
+S=${WORKDIR}/${P}/src/${EGO_PN%/*}
+
+src_compile() {
+	GOPATH="${WORKDIR}/${P}:${S}/Godeps/_workspace:$(get_golibdir_gopath)" \
+		go build -v -work -x ${EGO_BUILD_FLAGS} -o ${PN} || die
+}
+
+src_install() {
+	dobin ${PN}
+	dodoc CHANGELOG.md CONTRIBUTING.md README.md ROADMAP.md
+}

diff --git a/app-emulation/docker-swarm/metadata.xml b/app-emulation/docker-swarm/metadata.xml
new file mode 100644
index 0000000..cdf127b
--- /dev/null
+++ b/app-emulation/docker-swarm/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer>
+    <email>zmedico@gentoo.org</email>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">docker/swarm</remote-id>
+  </upstream>
+</pkgmetadata>