From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EBBD8158086 for ; Sun, 31 Oct 2021 03:06:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D58AEE0974; Sun, 31 Oct 2021 03:06:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5185E0974 for ; Sun, 31 Oct 2021 03:06:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D481E343448 for ; Sun, 31 Oct 2021 03:06:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C89718C for ; Sun, 31 Oct 2021 03:06:15 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1635649464.b56006aa3f1c6ac7454fb0caf7aac93ac53dcacb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/packer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/packer/Manifest dev-util/packer/packer-1.7.7.ebuild X-VCS-Directories: dev-util/packer/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b56006aa3f1c6ac7454fb0caf7aac93ac53dcacb X-VCS-Branch: master Date: Sun, 31 Oct 2021 03:06:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b959b50c-a32b-4491-b30b-bde7c7630529 X-Archives-Hash: e5eb3063caec7033512624875e68f9c4 commit: b56006aa3f1c6ac7454fb0caf7aac93ac53dcacb Author: Florian Dubourg dubourg cz> AuthorDate: Wed Oct 27 13:05:57 2021 +0000 Commit: Sam James gentoo 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 dubourg.cz> Closes: https://github.com/gentoo/gentoo/pull/22725 Signed-off-by: Sam James 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 +}