From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1519234-garchives=archives.gentoo.org@lists.gentoo.org>
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 4C6D415806E
	for <garchives@archives.gentoo.org>; Wed, 17 May 2023 11:07:16 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8BBDEE088F;
	Wed, 17 May 2023 11:07:15 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 652D6E0855
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 May 2023 11:07:15 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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 A6BD4335DA3
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 May 2023 11:07:14 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4143B8B7
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 May 2023 11:07:13 +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: <1684321614.9807aad68470b5f371edafb0a41aec93197a45d4.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.34.0.ebuild
X-VCS-Directories: app-admin/hcloud/
X-VCS-Committer: ago
X-VCS-Committer-Name: Agostino Sarubbo
X-VCS-Revision: 9807aad68470b5f371edafb0a41aec93197a45d4
X-VCS-Branch: master
Date: Wed, 17 May 2023 11:07:13 +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: cfe305a1-9a9c-445e-b908-cb82013f1b95
X-Archives-Hash: f5c3c01d74c2a26dc9b2ac9a616b8e18

commit:     9807aad68470b5f371edafb0a41aec93197a45d4
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 11:06:54 2023 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed May 17 11:06:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9807aad6

app-admin/hcloud: version bump to 1.34.0

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

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

diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest
index cc815660bdf1..d9506e731df3 100644
--- a/app-admin/hcloud/Manifest
+++ b/app-admin/hcloud/Manifest
@@ -1,2 +1,3 @@
 DIST hcloud-1.31.1.tar.xz 1735560 BLAKE2B 66b2deaefbf61a72bf6a9e004c29d1198e5cfd40956e9936d5db27903aff5f8151c230da61b33ce4231885613d53ba5c96f99fb10df03fdcc241ec32fa465de5 SHA512 b61683ea54455be1db0ae196615642d0247e56ca51f3848847fba09124a45606aea2495f4408694acc5e819d9dc79ffdb2b9ce4e85aade7dea0335be94461066
 DIST hcloud-1.33.2.tar.xz 1812292 BLAKE2B bc5483ab900c22635f9ecff39d358a5440547ded505caa8b7449d14e9bcdc74b5b0034a72681ec42d5d660e59d2b46e450665c59241c7cd8a2df5e57956e6e09 SHA512 e6ebdc37ad12387101f3e42b605a17669bc90d02cd55e6d419aec22d47cd2dfcc42ca349c37d6730a5fd56f3d236337fcdc1c7bdf93ff956bbc6a86fb9d142e5
+DIST hcloud-1.34.0.tar.xz 1814084 BLAKE2B 3a747fee3a245f5b5f94d340b23df4c6c6b41e8a7bf5f356f3f7369dcefc308df575ba3b216010db478e629588ccfdc41b0666b2f5c7ae10753b294188619feb SHA512 6e0898de97218ae48eaf46ab6d8c1beabb1fdc627e9f3c512cec80e81d773842768c2f57df02d2222994142748f301a43ebe05b79d3f1a080261bba92d1a9ad2

diff --git a/app-admin/hcloud/hcloud-1.34.0.ebuild b/app-admin/hcloud/hcloud-1.34.0.ebuild
new file mode 100644
index 000000000000..c7dcd8ef353e
--- /dev/null
+++ b/app-admin/hcloud/hcloud-1.34.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 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-1.18:="
+RESTRICT="strip"
+QA_FLAGS_IGNORED=".*"
+
+src_compile() {
+	go build -mod vendor -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/internal/version.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}
+}