From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1562389-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) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id BA7CA158089
	for <garchives@archives.gentoo.org>; Fri, 13 Oct 2023 09:18:43 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 054A92BC016;
	Fri, 13 Oct 2023 09:18:43 +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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D756F2BC016
	for <gentoo-commits@lists.gentoo.org>; Fri, 13 Oct 2023 09:18:42 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B94BD335C29
	for <gentoo-commits@lists.gentoo.org>; Fri, 13 Oct 2023 09:18:41 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 13BD1ED7
	for <gentoo-commits@lists.gentoo.org>; Fri, 13 Oct 2023 09:18:40 +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: <1697188709.5206833dd6f311e1b18c3fc2c74c12834989283f.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.38.2.ebuild
X-VCS-Directories: app-admin/hcloud/
X-VCS-Committer: ago
X-VCS-Committer-Name: Agostino Sarubbo
X-VCS-Revision: 5206833dd6f311e1b18c3fc2c74c12834989283f
X-VCS-Branch: master
Date: Fri, 13 Oct 2023 09:18:40 +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: e7c6bbc1-1e96-4e77-8e50-a561c937e4a6
X-Archives-Hash: 6ac8afe23645d9e7242035dbb00d0411

commit:     5206833dd6f311e1b18c3fc2c74c12834989283f
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 13 09:18:29 2023 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Oct 13 09:18:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5206833d

app-admin/hcloud: version bump to 1.38.2

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

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

diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest
index 692d92593dd3..71ee7ffe42b9 100644
--- a/app-admin/hcloud/Manifest
+++ b/app-admin/hcloud/Manifest
@@ -1 +1,2 @@
 DIST hcloud-1.37.0.tar.xz 1868892 BLAKE2B 40268017c28877a5d26cb752e28511de591ca8dac9ab834b8ad5d15005306910a80501659ed1f827ca7184f1399a054519360c3a27d4081d08346bca53978537 SHA512 c785851a2085511bfb9b257a7267f51b4c8bcc9d14f6b595d772712aeb99c1d9db99a481b211bf110ee5c0fd260cc5a98d3dc5445a68807d5abeb050d0e89b81
+DIST hcloud-1.38.2.tar.xz 1871052 BLAKE2B f40ec4f40b251e61139409905bd71270982f0dca2662c3a066057343681bb9859ab61520e7dacb3252a8501a88494b2293998647dbf92a7f4c83d3c08543dd57 SHA512 fbc25cab1350d236e2d1fd6afb86262c97e7e95b345c4606e274f48fa935a23d77220398d2c20f13145927e0ee5a2ec9065f2436034a08e873bd3222c6ae87f5

diff --git a/app-admin/hcloud/hcloud-1.38.2.ebuild b/app-admin/hcloud/hcloud-1.38.2.ebuild
new file mode 100644
index 000000000000..c7dcd8ef353e
--- /dev/null
+++ b/app-admin/hcloud/hcloud-1.38.2.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}
+}