diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-03-11 00:32:57 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-03-11 00:34:31 -0800 |
commit | 97471f83de861a70ec3d94bf208a039a44f52ad8 (patch) | |
tree | b7e401ee4055f6f0fca35d9cdb47a6fbfb96d018 /app-emulation/docker-swarm | |
parent | www-plugins/adobe-flash: x86 stable wrt bug #576980 (diff) | |
download | gentoo-97471f83de861a70ec3d94bf208a039a44f52ad8.tar.gz gentoo-97471f83de861a70ec3d94bf208a039a44f52ad8.tar.bz2 gentoo-97471f83de861a70ec3d94bf208a039a44f52ad8.zip |
app-emulation/docker-swarm: version bump to 1.1.3
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-emulation/docker-swarm')
-rw-r--r-- | app-emulation/docker-swarm/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/docker-swarm/docker-swarm-1.1.3.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/app-emulation/docker-swarm/Manifest b/app-emulation/docker-swarm/Manifest index 0e7a64519307..4d5ed8588e30 100644 --- a/app-emulation/docker-swarm/Manifest +++ b/app-emulation/docker-swarm/Manifest @@ -1 +1,2 @@ DIST docker-swarm-1.0.1.tar.gz 1187966 SHA256 33c6566af395affbf9861d1491613c48a70e6c61c532910cef2210be7b1323f7 SHA512 ed5e6a37cd0f5a816367cab451d21ac20183f8ce767a30dc3086f849da8e0d2662c9f9b7e56d826e7e8cf5d4ec3d9f1ee8c159cca294af7ec45c2c1a21eaaf80 WHIRLPOOL e17705a3bef077e5fed552131aa7cd4891934a537dc93bbb8dfe81bf2e82c281d7f74a5150febdde26f492cf5ad4eec8417aac9a7edc6e48812f4af3ed1b624e +DIST docker-swarm-1.1.3.tar.gz 4144842 SHA256 bf9d7a2fe2cc69e34ead33952f38b621dd3bb006ec28e0185f9f7b18956a64e5 SHA512 661b7a1f2a663a18ef5dfe07cf2e1bb4e496e42709f986f8f6d78ecaccea5b3fd5d67d54db5154ec2ad0f1ac791dc3602d2451816b331c29e6d41a3a076cbc60 WHIRLPOOL 0c14ebea9c0ed90fa3b4eaae79fea1de83bbc83bbe2e54418f73cce105c1daa42aefd0a0216f619ed4e0593ec3a11b441cbcb1b94dd243be146acdcce6c3f831 diff --git a/app-emulation/docker-swarm/docker-swarm-1.1.3.ebuild b/app-emulation/docker-swarm/docker-swarm-1.1.3.ebuild new file mode 100644 index 000000000000..a25a08c79b4d --- /dev/null +++ b/app-emulation/docker-swarm/docker-swarm-1.1.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 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="!!<app-admin/consul-0.6.3-r1" +RDEPEND="" +S=${WORKDIR}/${P}/src/${EGO_PN%/*} + +src_compile() { + GOPATH="${WORKDIR}/${P}:${S}/Godeps/_workspace:$(get_golibdir_gopath)" \ + go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die +} + +src_install() { + dobin "${WORKDIR}/${P}/bin/${PN#docker-}" + dosym swarm /usr/bin/docker-swarm + dodoc CHANGELOG.md CONTRIBUTING.md README.md ROADMAP.md +} |