diff options
author | Marcos Rodrigues Gonzalez <mrgonzalez1275@gmail.com> | 2023-01-18 00:00:27 -0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-01-27 09:33:23 +0200 |
commit | 112728ebfc75a522ccc009002882c1551244009b (patch) | |
tree | 4b19f925f8bb7453f6cc59e0dc4e4bbe3f177f9a /dev-util/packer | |
parent | dev-util/cscope: Fix xcscope.el with >=emacs-27 (diff) | |
download | gentoo-112728ebfc75a522ccc009002882c1551244009b.tar.gz gentoo-112728ebfc75a522ccc009002882c1551244009b.tar.bz2 gentoo-112728ebfc75a522ccc009002882c1551244009b.zip |
dev-util/packer: add 1.8.5
Signed-off-by: Marcos Rodrigues Gonzalez <mrgonzalez1275@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29152
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-util/packer')
-rw-r--r-- | dev-util/packer/Manifest | 2 | ||||
-rw-r--r-- | dev-util/packer/packer-1.8.5.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/packer/Manifest b/dev-util/packer/Manifest index fb9da559fcf9..6b70c0ad53e9 100644 --- a/dev-util/packer/Manifest +++ b/dev-util/packer/Manifest @@ -1,2 +1,4 @@ DIST packer-1.7.10-deps.tar.xz 628140836 BLAKE2B 6cfb8409a9a9aef2130e58f2b70b1bb73b491aa9fb2d1f2b59b2c3c9e721465a51111f0e6357a58e9eed4d8b024a4fe9a0f20cf9a5b84e7d20f3a8d52ad55e4c SHA512 cd0af0f60029b7b3e887fbe4245e26e12d798fe5c3b650d63774ffeb2d5eab9609d8506a06c35d8ff4d499db1cab69d767b8b386d04136fd65ea43de3940df88 DIST packer-1.7.10.tar.gz 2414352 BLAKE2B 7c48aaac8411dd81cae2201cf9b03eab0906b78dcc6aecf654f498b44884a0758f0d5fc10d03b9e526f7753d18db8754b74d8c2eef133b4170b872f41c8261f3 SHA512 12f032afef95be92be4f6e98cf2af5548189cb179c25d74b8f7943b4a6af0ab49c5a86523f27385e5eee05624d7e9de8d572fe19442305227c5bddd21a66f97a +DIST packer-1.8.5-deps.tar.xz 385789132 BLAKE2B 680852f380bc6b2c74183bf0c32baf8e3c796b5eaee59fd8f395e2fa2765a3aa2ec36d30647ffd90965fad9b1cfe8ea00e4ad684c026cb60a6c4a9df4f5c8501 SHA512 a84b2d3287ccb618063ea960773a3ebe306ae8a36c708fd8ca057f6ce70b82ff7590922aa733c1fade93fbbca14f87b0c5ecda530413b573fab8bd981dd254fc +DIST packer-1.8.5.tar.gz 2278013 BLAKE2B 0465356e78b62a67e71ef943a7dfb89b5f50b3b3cdb34c3ca41ac6d57e32fad8f40da1316ba8f54d93ae0c25b22627cc9f633f4e488ee9cc66fc6e6080b5769e SHA512 8ffd9e0a755e5e537c63a70454756a6df787d299cb5f3a8d6dea9c7e93dbea744017cd2f2c4fa9a8b6fbc052dedecb702dc6ac656b4c6c293ad5eab1f581872e diff --git a/dev-util/packer/packer-1.8.5.ebuild b/dev-util/packer/packer-1.8.5.ebuild new file mode 100644 index 000000000000..2fe313cded4e --- /dev/null +++ b/dev-util/packer/packer-1.8.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 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 + https://gentoofiles.s3.eu-central-1.amazonaws.com/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD-2 BSD-4 MIT MPL-2.0 unicode" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +DOCS=( {README,CHANGELOG}.md ) + +RESTRICT+=" test" + +src_compile() { + ego build \ + -mod=readonly \ + -ldflags "${go_ldflags}" \ + -work -o "bin/${PN}" ./ || die +} + +src_install() { + dobin bin/packer + + einstalldocs + + insinto /usr/share/zsh/site-functions + doins contrib/zsh-completion/_packer +} |