commit:     93fd90799f95148e9ede43cfb2a65a0cd04a27a4
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 26 15:28:30 2016 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Oct 26 15:29:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93fd9079

app-emulation/docker-machine: version bump to 0.8.2

Package-Manager: portage-2.3.2

 app-emulation/docker-machine/Manifest              |  1 +
 .../docker-machine/docker-machine-0.8.2.ebuild     | 42 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/app-emulation/docker-machine/Manifest 
b/app-emulation/docker-machine/Manifest
index 09072a9..3e00c94 100644
--- a/app-emulation/docker-machine/Manifest
+++ b/app-emulation/docker-machine/Manifest
@@ -1 +1,2 @@
 DIST docker-machine-0.7.0.tar.gz 3173248 SHA256 
b36152f719a453327ab071b7f9fef76a5b3264b7944c14ad20c79f7535114e4a SHA512 
312c6222ae5bb82e9236021502cc8aa486b76dc4f6773729a5887def2fcf06499fa62cebc79ba9c91f88685411d0e88fa0d0ce218382a748afdabadbee8cc4fd
 WHIRLPOOL 
236070fade6887221979ea3b3aa0a62d734fecaa800ab89a0242130355d0d196d064a764bc1abaafc47a193b9cfc24caef6067eca68e8e4bacab929d7ca7a137
+DIST docker-machine-0.8.2.tar.gz 2928577 SHA256 
6ca75b2995f57505901da2f45ce422c782b73d89054cc10868100b3404ccfd05 SHA512 
3fa683f74466e30616495b8e635e28be0c7557e17940bc4f3f8598a755463b5ae75e64405281325e2028aee5a3e06744329d9bf0a7b6ade200f3d3c51ba2fe80
 WHIRLPOOL 
37d9ddd2a946ee890bb771b304be692385e0ef1f53ef8ed100f2860e7cab7b825093a2d7b4c3bfa8b78193df1ab7ec9d16817aef1985a48ae1b97b666051cf96

diff --git a/app-emulation/docker-machine/docker-machine-0.8.2.ebuild 
b/app-emulation/docker-machine/docker-machine-0.8.2.ebuild
new file mode 100644
index 00000000..2ce8ab6
--- /dev/null
+++ b/app-emulation/docker-machine/docker-machine-0.8.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+EGO_PN=github.com/docker/machine/...
+
+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="Machine management for a container-centric world"
+HOMEPAGE="https://docs.docker.com/machine/ "
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+RESTRICT="test"
+DEPEND=">=dev-lang/go-1.7:="
+RDEPEND=""
+S=${WORKDIR}/${P}/src/${EGO_PN%/*}
+
+src_prepare() {
+       eapply_user
+       # don't pre-strip binaries
+       sed -e 's|\(GO_LDFLAGS := $(GO_LDFLAGS) -w\) -s|\1|' -i mk/main.mk ||die
+}
+
+src_compile() {
+       GOPATH="${WORKDIR}/${P}" emake build || die
+}
+
+src_install() {
+       dobin bin/*
+       dodoc CHANGELOG.md CONTRIBUTING.md README.md ROADMAP.md
+}

Reply via email to