diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-04-25 01:01:59 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-04-25 01:03:44 -0700 |
commit | 642c41aaac416c4d416497b38d2f2fca3b338738 (patch) | |
tree | f70c90d659c3d31612d81ebb942d5337042470fa /app-emulation/docker-swarm | |
parent | net-im/qutim: fix USE=otr dependencies (diff) | |
download | gentoo-642c41aaac416c4d416497b38d2f2fca3b338738.tar.gz gentoo-642c41aaac416c4d416497b38d2f2fca3b338738.tar.bz2 gentoo-642c41aaac416c4d416497b38d2f2fca3b338738.zip |
app-emulation/docker-swarm: version bump to 1.2.0
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.2.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/app-emulation/docker-swarm/Manifest b/app-emulation/docker-swarm/Manifest index 9f66f3baa492..c773c842f79f 100644 --- a/app-emulation/docker-swarm/Manifest +++ b/app-emulation/docker-swarm/Manifest @@ -1 +1,2 @@ DIST docker-swarm-1.1.3.tar.gz 4144842 SHA256 bf9d7a2fe2cc69e34ead33952f38b621dd3bb006ec28e0185f9f7b18956a64e5 SHA512 661b7a1f2a663a18ef5dfe07cf2e1bb4e496e42709f986f8f6d78ecaccea5b3fd5d67d54db5154ec2ad0f1ac791dc3602d2451816b331c29e6d41a3a076cbc60 WHIRLPOOL 0c14ebea9c0ed90fa3b4eaae79fea1de83bbc83bbe2e54418f73cce105c1daa42aefd0a0216f619ed4e0593ec3a11b441cbcb1b94dd243be146acdcce6c3f831 +DIST docker-swarm-1.2.0.tar.gz 4474619 SHA256 8a30745ef4129a848dd2e88fc511c9eb85af07fbdbb46645f2e860b2aacdf8e6 SHA512 dab97d7df9d38c7bc7a1565788c84a13c8c792161d61a904ba9e45f43fbf835d055bd1c1a0f1d2f9b29f9b7fc6ed6fe19aef75b53288188caf82b152d37392ac WHIRLPOOL 52e8ee816daa3641446a44ec650bc76f93eb94e0132ef94ec7166e603e40b1a88aa2e162f796cfa137a2ad5e241a26e69e2e9af730d148170ff63c18a231cd1d diff --git a/app-emulation/docker-swarm/docker-swarm-1.2.0.ebuild b/app-emulation/docker-swarm/docker-swarm-1.2.0.ebuild new file mode 100644 index 000000000000..bb7c15ca6654 --- /dev/null +++ b/app-emulation/docker-swarm/docker-swarm-1.2.0.ebuild @@ -0,0 +1,39 @@ +# 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=">=dev-lang/go-1.6:= + !!<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 +} |