diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-06-29 09:26:43 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-06-29 09:27:35 -0700 |
commit | 7469fa4a46648fe20fb51b07af319ce2127705cb (patch) | |
tree | 1c0125c1c4c0fca4322245509610968e21f5b49c | |
parent | dev-ruby/autoprefixer-rails: build deps are only needed for tests (diff) | |
download | gentoo-7469fa4a46648fe20fb51b07af319ce2127705cb.tar.gz gentoo-7469fa4a46648fe20fb51b07af319ce2127705cb.tar.bz2 gentoo-7469fa4a46648fe20fb51b07af319ce2127705cb.zip |
app-emulation/docker-machine: version bump to 0.12.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r-- | app-emulation/docker-machine/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/docker-machine/docker-machine-0.12.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-emulation/docker-machine/Manifest b/app-emulation/docker-machine/Manifest index a5cca5db4cf6..68a0fe2f6917 100644 --- a/app-emulation/docker-machine/Manifest +++ b/app-emulation/docker-machine/Manifest @@ -1,2 +1,3 @@ DIST docker-machine-0.10.0.tar.gz 1605832 SHA256 ed64698723436e68341a1ebd8486006293eac306bfa8628e924b38bfcb5b039d SHA512 337ed74474b5e55e10ccd7c8bb3b778d06fc2c56c1646678715548ddeb41a0b7320212d498ad96cbdd08137f78013506b569c4e0aa0a2f28169264d64d814f7c WHIRLPOOL 06802376ba23ec1706ad09c784e3ceb70aab439d88523c2845a69a895e9a31911737bbf889f91627caae79e31cf8039265382183f7112987f0de6aea58adf138 +DIST docker-machine-0.12.0.tar.gz 1663612 SHA256 2238dbb8580ca2399c64fa6cda0089a9dde6142d4dcbb8d750aedbeee042fbfe SHA512 5fd27fcae1a44ed45db229342c93b3d53f0c193eaaf95d8f12d6e2be830c14c13154fd9338050f28b52bc0a5f8586bd72b802afc042b8d7f6c4d5dd5bc4c12ac WHIRLPOOL c0e6929447a1c6c582ce5e1aa2a01452661d9e1b9edcd43de75fd3300f200454c7b94196cf38a055befbebceb75decb7a303108ebd19e0512dae56d9ab55b6af 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.12.0.ebuild b/app-emulation/docker-machine/docker-machine-0.12.0.ebuild new file mode 100644 index 000000000000..9a9deea991e6 --- /dev/null +++ b/app-emulation/docker-machine/docker-machine-0.12.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |