commit: b56006aa3f1c6ac7454fb0caf7aac93ac53dcacb Author: Florian Dubourg <florian <AT> dubourg <DOT> cz> AuthorDate: Wed Oct 27 13:05:57 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Oct 31 03:04:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56006aa
dev-util/packer: add 1.7.7 Added packer v1.7.7 Signed-off-by: Florian Dubourg <florian <AT> dubourg.cz> Closes: https://github.com/gentoo/gentoo/pull/22725 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/packer/Manifest | 1 + dev-util/packer/packer-1.7.7.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-util/packer/Manifest b/dev-util/packer/Manifest index 310e7783618..f20ded3f3b6 100644 --- a/dev-util/packer/Manifest +++ b/dev-util/packer/Manifest @@ -1,2 +1,3 @@ DIST packer-1.6.6.tar.gz 17130110 BLAKE2B 3e348d3b3afc65cb50d4e855dd3138892dbc1c1f049fa50849e988ac2d0263a7438b706d595e99fb7a6a11e4b1594e3027ffc137fe7c263017c7b00153b350cb SHA512 0b856cf7a745621bedf8b8b7998e1267a8b16fea2f066d39beeccd2b6bb5eb9ba01276c98bebe9f2f53f3916be71ba2d86d409ad532a8b7648a00c256aa776d2 DIST packer-1.7.2.tar.gz 17972088 BLAKE2B 6599c9bb19380ed08d186b1f1bd5d9ad581425acce59920a02d4dcdc5237e8f9f9f9af264b4d1ed93f39a56061b9c391fcccdd2582393af420d72421abbd1beb SHA512 019bd07571ca59cb8fbf6edb5dc7f57af11c43b144986222c3d560a812f25d61bbc87a554963eea479f8bfe61abacca7173c4f12b1bc09ffaf78c269624c826e +DIST packer-1.7.7.tar.gz 2323721 BLAKE2B 8c44fa12a8d6a5a2d4bb15fabe483fa4ac312ff911ebfc3f4f7b208c260033bfeea490f9272e8cd4c42d53e44418fbe0ed373d3f4cb976e0106996ce3904fbf8 SHA512 7453371a36ccdee70e5a1c4771f3e9f94aa459a4bdd0b4277bae2eb2d82564fe3c64fde2ac4727117f95f584169a975f0965f3dce4ccc5a4de38ea1928af2271 diff --git a/dev-util/packer/packer-1.7.7.ebuild b/dev-util/packer/packer-1.7.7.ebuild new file mode 100644 index 00000000000..302cc7c43ee --- /dev/null +++ b/dev-util/packer/packer-1.7.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module + +DESCRIPTION="A tool to create identical machine images for multiple platforms" +HOMEPAGE="https://www.packer.io" +SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2 BSD-4 MIT MPL-2.0 unicode" +SLOT="0" +KEYWORDS="~amd64" + +DOCS=( {README,CHANGELOG}.md ) + +RESTRICT+=" test" + +src_compile() { + go build \ + -ldflags "${go_ldflags}" \ + -mod=vendor \ + -work -o "bin/${PN}" ./ || die +} + +src_install() { + dobin bin/packer + + einstalldocs + + insinto /usr/share/zsh/site-functions + doins contrib/zsh-completion/_packer +}