From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1567333-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 16A1D158089
	for <garchives@archives.gentoo.org>; Thu,  2 Nov 2023 09:33:11 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5DDF02BC01C;
	Thu,  2 Nov 2023 09:33:10 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 25B602BC01C
	for <gentoo-commits@lists.gentoo.org>; Thu,  2 Nov 2023 09:33:10 +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 3FD7B335CE3
	for <gentoo-commits@lists.gentoo.org>; Thu,  2 Nov 2023 09:33:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C8D299C0
	for <gentoo-commits@lists.gentoo.org>; Thu,  2 Nov 2023 09:33:07 +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: <1698917576.4f8480bcfcaecd9512c5678e81cde8ec1ca858b9.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.39.0.ebuild
X-VCS-Directories: app-admin/hcloud/
X-VCS-Committer: ago
X-VCS-Committer-Name: Agostino Sarubbo
X-VCS-Revision: 4f8480bcfcaecd9512c5678e81cde8ec1ca858b9
X-VCS-Branch: master
Date: Thu,  2 Nov 2023 09:33:07 +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: 1f66acbf-347f-4006-ac8f-94b1f530bd6e
X-Archives-Hash: e376fca217eac189cf318aeacfc53fb6

commit:     4f8480bcfcaecd9512c5678e81cde8ec1ca858b9
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  2 09:32:46 2023 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Nov  2 09:32:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8480bc

app-admin/hcloud: version bump to 1.39.0

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

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

diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest
index 71ee7ffe42b9..0596ca5d4e1f 100644
--- a/app-admin/hcloud/Manifest
+++ b/app-admin/hcloud/Manifest
@@ -1,2 +1,3 @@
 DIST hcloud-1.37.0.tar.xz 1868892 BLAKE2B 40268017c28877a5d26cb752e28511de591ca8dac9ab834b8ad5d15005306910a80501659ed1f827ca7184f1399a054519360c3a27d4081d08346bca53978537 SHA512 c785851a2085511bfb9b257a7267f51b4c8bcc9d14f6b595d772712aeb99c1d9db99a481b211bf110ee5c0fd260cc5a98d3dc5445a68807d5abeb050d0e89b81
 DIST hcloud-1.38.2.tar.xz 1871052 BLAKE2B f40ec4f40b251e61139409905bd71270982f0dca2662c3a066057343681bb9859ab61520e7dacb3252a8501a88494b2293998647dbf92a7f4c83d3c08543dd57 SHA512 fbc25cab1350d236e2d1fd6afb86262c97e7e95b345c4606e274f48fa935a23d77220398d2c20f13145927e0ee5a2ec9065f2436034a08e873bd3222c6ae87f5
+DIST hcloud-1.39.0.tar.xz 1876424 BLAKE2B b312fc2489efa47bcb0e4e6b45fc70b56263eb051f9c633b3c7a3afe176b1fcd06092c21f41e2c41a1fa9c06abc1c781e7b215e39e17f6149d913055bfd50e28 SHA512 6388db74f4bce611efc0a8c4a21ec5c4711b6e3541f65f1d835928301fc43955d8aabec07b17cbaf0374854d6e58a097ac936ba8af59c3a22fbca834b03e2a0d

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