summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seren <guillaumeseren@gmail.com>2017-01-20 16:48:42 +0100
committerZac Medico <zmedico@gentoo.org>2017-01-20 08:44:07 -0800
commit24f0ead8486a858fc8944b290eec325b1c900b3a (patch)
treee2ba4431f82039df95a48022ad736de3ce3b1933
parentnet-wireless/yatebts: replace gdb specific debug flags with -g due to bug #60... (diff)
downloadgentoo-24f0ead8486a858fc8944b290eec325b1c900b3a.tar.gz
gentoo-24f0ead8486a858fc8944b290eec325b1c900b3a.tar.bz2
gentoo-24f0ead8486a858fc8944b290eec325b1c900b3a.zip
app-emulation/docker-machine: Add version bump 0.9.0
X-Gentoo-Bug: 606616 Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--app-emulation/docker-machine/Manifest1
-rw-r--r--app-emulation/docker-machine/docker-machine-0.9.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/app-emulation/docker-machine/Manifest b/app-emulation/docker-machine/Manifest
index 3e00c94ad142..7f9a811c329f 100644
--- a/app-emulation/docker-machine/Manifest
+++ b/app-emulation/docker-machine/Manifest
@@ -1,2 +1,3 @@
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
+DIST docker-machine-0.9.0.tar.gz 1603705 SHA256 8e445e70a92c98a5e73594d8aea07b31dda6fa4ed2d1e7643663f0267e05f25f SHA512 f405f4b50e493d8c3e7526e89c8b45edf9167c9c04a1dfc9dafad3070f32a9a38570f02b900ceb322a43c596558c07b8f0b060cc4afe1fe2b6b6f4af0179a779 WHIRLPOOL 39b504327264c6f0ba2268fac2fa03c1b4f5f93c9e347d6f459e4a5f6bbfe773c5c272fb63d10fb272b92aa622e7474679f67200583f10fb5156f3198b0c1adb
diff --git a/app-emulation/docker-machine/docker-machine-0.9.0.ebuild b/app-emulation/docker-machine/docker-machine-0.9.0.ebuild
new file mode 100644
index 000000000000..24243d677df8
--- /dev/null
+++ b/app-emulation/docker-machine/docker-machine-0.9.0.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
+}