From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1309892-garchives=archives.gentoo.org@lists.gentoo.org>
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 962EB139368
	for <garchives@archives.gentoo.org>; Thu,  5 Aug 2021 10:41:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id BC774E086C;
	Thu,  5 Aug 2021 10:41:45 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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 A1074E086C
	for <gentoo-commits@lists.gentoo.org>; Thu,  5 Aug 2021 10:41:45 +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 35A06342CCD
	for <gentoo-commits@lists.gentoo.org>; Thu,  5 Aug 2021 10:41:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A7F3C737
	for <gentoo-commits@lists.gentoo.org>; Thu,  5 Aug 2021 10:41:42 +0000 (UTC)
From: "Agostino Sarubbo" <ago@gentoo.org>
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" <ago@gentoo.org>
Message-ID: <1628160100.10a5d27c7b916385d97bae89db863c15287758b8.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.26.0.ebuild
X-VCS-Directories: app-admin/hcloud/
X-VCS-Committer: ago
X-VCS-Committer-Name: Agostino Sarubbo
X-VCS-Revision: 10a5d27c7b916385d97bae89db863c15287758b8
X-VCS-Branch: master
Date: Thu,  5 Aug 2021 10:41:42 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d5a24d83-4b20-4ac1-918a-3d6e4ac1a322
X-Archives-Hash: 09f25da6b664080a2dc64b02df4ea15e

commit:     10a5d27c7b916385d97bae89db863c15287758b8
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  5 10:41:40 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Aug  5 10:41:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10a5d27c

app-admin/hcloud: version bump to 1.26.0

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 app-admin/hcloud/Manifest             |  1 +
 app-admin/hcloud/hcloud-1.26.0.ebuild | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest
index 0998faad011..1c9f37b14b4 100644
--- a/app-admin/hcloud/Manifest
+++ b/app-admin/hcloud/Manifest
@@ -1 +1,2 @@
 DIST hcloud-1.25.1.tar.xz 1164932 BLAKE2B 21d3a0def3684a25c0cb629320f5617c93090d33cc95e66c42355c01afaf3189f8da858028220350bc1f1f53992b289ea75b56196d94ae41323602c4e8fee1a8 SHA512 aba79869553b19f6a117dc4d9f31935582e9ad89d12d9fd8f70087064383b76324483c78890ddb5965f98f2ca783ca46a17dee97b21716a1ff916647c1267a67
+DIST hcloud-1.26.0.tar.xz 1165084 BLAKE2B bad49430708ecd34b5c7734c0693e00d7bd3bd98a0c4fc2c4a9c9e8059afd44d5fd696072d1f0d64c7e0dc8bcdc05554437fc63c1dd7e8c2e1dd8f540a7c836b SHA512 87cca87cf88589871a175c1fa2d5d21b44b450fe8e6b190e57342082601aa44b6d5a5919696278214e0a32a89ed8b88e066b00263e72383a2f92a7cd434762aa

diff --git a/app-admin/hcloud/hcloud-1.26.0.ebuild b/app-admin/hcloud/hcloud-1.26.0.ebuild
new file mode 100644
index 00000000000..77d54006fe9
--- /dev/null
+++ b/app-admin/hcloud/hcloud-1.26.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}
+}