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 477B21382C5 for ; Tue, 16 Mar 2021 11:01:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D3DBE07F1; Tue, 16 Mar 2021 11:01:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 857DEE07F1 for ; Tue, 16 Mar 2021 11:01:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 15F3A335CDF for ; Tue, 16 Mar 2021 11:01:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8AE3C590 for ; Tue, 16 Mar 2021 11:00:59 +0000 (UTC) From: "Agostino Sarubbo" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Agostino Sarubbo" Message-ID: <1615892454.f55d5b3b480f6945846d68a4d077a4e17532440c.ago@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/hcloud/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/hcloud/Manifest app-admin/hcloud/hcloud-1.21.0.ebuild X-VCS-Directories: app-admin/hcloud/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: f55d5b3b480f6945846d68a4d077a4e17532440c X-VCS-Branch: master Date: Tue, 16 Mar 2021 11:00:59 +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: 6321635b-ad72-4de0-ae51-72434576ec0d X-Archives-Hash: 467a1c12dd5439830f03039500f816f2 commit: f55d5b3b480f6945846d68a4d077a4e17532440c Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Mar 16 11:00:54 2021 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Mar 16 11:00:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55d5b3b app-admin/hcloud: version bump to 1.21.0 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/hcloud/Manifest | 1 + app-admin/hcloud/hcloud-1.21.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index e88a924acae..b305c1888a9 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1 +1,2 @@ DIST hcloud-1.20.0.tar.xz 790040 BLAKE2B ba0d62c8e817daadaa9eb891adb3f655a9ae33b05617449e26b09a3ba6b99a6b6f61df1cf29138a008a7ee58e45efdfe07c408af89efb1c2bd870d7340976bb8 SHA512 5dbb9060595e836ccde99984783954e894f74c098f911ae8c4cc1944d444fd28b6f722bb711d9b1ae245ddf3af8cca1939585ed778c8026fbf8c4201c2d15469 +DIST hcloud-1.21.0.tar.xz 823556 BLAKE2B 8a37c7854d6c74f58a8f9dd021674a19f1cc968901e109dadf2e1b7621c3dd4981b07939334b293419d42fc8d1b1a1ff04b962a40b0ae8bf2518a0f7cccd7c68 SHA512 3186839ed95f355f67bdf7169dfa0b10852c8e2e3dc0f2a30e712072cd06cc69a40b038cfa214a47d33e39707d00a81f781aae7f51773cdaca96bcc0b80b1dec diff --git a/app-admin/hcloud/hcloud-1.21.0.ebuild b/app-admin/hcloud/hcloud-1.21.0.ebuild new file mode 100644 index 00000000000..77d54006fe9 --- /dev/null +++ b/app-admin/hcloud/hcloud-1.21.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A command-line interface for Hetzner Cloud" +HOMEPAGE="https://github.com/hetznercloud/cli" +SRC_URI="https://dev.gentoo.org/~ago/distfiles/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" +DEPEND="dev-lang/go:=" +RESTRICT="strip" +QA_FLAGS_IGNORED=".*" + +src_compile() { + go build -mod vendor -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${PV}-gentoo" ./cmd/${PN} || die "build failed" +} + +src_test() { + # For upstream a simple test is run 'hcloud version' + ./hcloud version + if [[ $? -ne 0 ]] + then + die "Test failed" + fi +} + +src_install() { + dobin ${PN} +}