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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5F243138334 for ; Thu, 18 Jul 2019 07:14:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D4BBE0817; Thu, 18 Jul 2019 07:14:04 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D3CEE0817 for ; Thu, 18 Jul 2019 07:14:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 857D5347E6F for ; Thu, 18 Jul 2019 07:14:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99BAA627 for ; Thu, 18 Jul 2019 07:14:01 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1563434031.caf317d365dca044a65536687be48c980d47df6c.mgorny@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.4.1.ebuild X-VCS-Directories: dev-util/packer/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: caf317d365dca044a65536687be48c980d47df6c X-VCS-Branch: master Date: Thu, 18 Jul 2019 07:14:01 +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: be5e1e2e-2c81-41da-84b6-5c91853911bc X-Archives-Hash: b70a07b9b817dcb359e3a1b86a44b4f9 commit: caf317d365dca044a65536687be48c980d47df6c Author: Dan Molik danmolik com> AuthorDate: Wed Jul 10 10:32:26 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 18 07:13:51 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caf317d3 dev-util/packer: version bump to 1.4.1 Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Dan Molik danmolik.com> Tested-by: Dan Molik danmolik.com> Signed-off-by: Michał Górny gentoo.org> dev-util/packer/Manifest | 1 + dev-util/packer/packer-1.4.1.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-util/packer/Manifest b/dev-util/packer/Manifest index 2d12ce34eb1..90f334627db 100644 --- a/dev-util/packer/Manifest +++ b/dev-util/packer/Manifest @@ -1,2 +1,3 @@ DIST packer-1.3.5.tar.gz 9198704 BLAKE2B 210c824aa61fed8ab58ea6eed2a1804d8b144e7e20f0794721b2c282d066969d1193fc36b004bb7d31d8a2b19fa609e673d05457653bf8ad694a142563e839cc SHA512 becd747b43c8a9c0aa93d1d723f2e2383e9f2adc19e82653142ea13080aa393750cd3fdf86fa259af21af6b6417bf023e7e482402dfa56d347720fb740ebe906 DIST packer-1.4.0.tar.gz 9794922 BLAKE2B 2e1d817e0a3f549255ecd8693d6d99b2e45df2e8fb0acc128f03bd1448f28afa865a0849ccf58e9a562ef50b901ea86efd29fe29747c126aa98c05456638719f SHA512 d2dbeb99d1fe44a427d2997eeb4ff6ae66bdf2d7f8f08e2105f8614487a6565b8bc263cf8aab8413520783a4dde18d150aae6c69db171fe1cfab3ee1bd0a0743 +DIST packer-1.4.1.tar.gz 11279518 BLAKE2B 7b1b966af8cac73826fc8f5a1cb39183fd2ae1d3b7da6d7408cbb7c3342a0fd2ba84cf1df89ea9edc41353c0bbb6c874347745a91c3eaa1a742521c79500f21a SHA512 4038990655eecf412be9dae9edd09a300543a3b0b841c982631cb48f4905388f9dbf26a9b0ac3cb77628d1e650600b7d3b89a1694f746dfdef086a621078cde1 diff --git a/dev-util/packer/packer-1.4.1.ebuild b/dev-util/packer/packer-1.4.1.ebuild new file mode 100644 index 00000000000..f0bba724a79 --- /dev/null +++ b/dev-util/packer/packer-1.4.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit golang-vcs-snapshot + +DESCRIPTION="A tool to create identical machine images for multiple platforms" +HOMEPAGE="https://www.packer.io" + +EGO_PN="github.com/hashicorp/packer" +SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +DEPEND=">=dev-lang/go-1.12.0" + +DOCS=( src/${EGO_PN}/{README,CHANGELOG}.md ) + +src_compile() { + cd "src/${EGO_PN}" || die + GOPATH="${S}" GOCACHE="${T}/go-cache" go build \ + -v -work -o "${S}/${PN}" ./ || die +} + +src_install() { + dobin packer + + einstalldocs + + pushd "src/${EGO_PN}" || die + insinto /usr/share/zsh/site-functions + doins contrib/zsh-completion/_packer + popd || die +}