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.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 D994715802E for ; Mon, 24 Jun 2024 12:47:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8E78E2A1A; Mon, 24 Jun 2024 12:47:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD05AE2A1A for ; Mon, 24 Jun 2024 12:47:21 +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 CB361342F94 for ; Mon, 24 Jun 2024 12:47:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6DEB154E for ; Mon, 24 Jun 2024 12:47:18 +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: <1719233223.6f70ef5e8ecfcba2800f9278fc02bdea5c1c83ef.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.44.0.ebuild X-VCS-Directories: app-admin/hcloud/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: 6f70ef5e8ecfcba2800f9278fc02bdea5c1c83ef X-VCS-Branch: master Date: Mon, 24 Jun 2024 12:47:18 +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: b41e384f-7280-4136-bc37-1592a07696d4 X-Archives-Hash: 35c2d7f99386779c5a2bbc1fbf7ebca8 commit: 6f70ef5e8ecfcba2800f9278fc02bdea5c1c83ef Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Jun 24 12:47:03 2024 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Jun 24 12:47:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f70ef5e app-admin/hcloud: add 1.44.0 Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/hcloud/Manifest | 1 + app-admin/hcloud/hcloud-1.44.0.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index e7bd44ada36e..834f17f3fe8c 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1 +1,2 @@ DIST hcloud-1.43.1.tar.xz 1889004 BLAKE2B 563cde962cf1fd180bbef60127b714419c09da198afeb4923f8fc1cd48850131b3b91de243de43e269497f36d14757a1e71941d30dfbee98baebb533f20e6cdd SHA512 c8fa46e9d3e2c73cc2d86e597bebf6e1dbf28b7145dbc272c403607807251ac27eee14b9ad267fdf2aa730da16ce52be4d2b0d94653612b4f375f1779c95d90b +DIST hcloud-1.44.0.tar.xz 2198712 BLAKE2B 120960528a1ef82993acd6ce791dd2f7a47968ab933f896e0d19df2d85b1453d3a4c7cbf6482aa0f051a6bcdd90a1ce34d7ff22ae10162c09b96b7afac9387bd SHA512 7fc6a4c531f991fc96decc79aa869bd875167a741630e86801bdc538877d372183f8ee34e2e4d683230f556573df01ab6f87f30cde6a43ffe70da1437bcfcd2d diff --git a/app-admin/hcloud/hcloud-1.44.0.ebuild b/app-admin/hcloud/hcloud-1.44.0.ebuild new file mode 100644 index 000000000000..c4449b25b091 --- /dev/null +++ b/app-admin/hcloud/hcloud-1.44.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +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" + +src_compile() { + ego build -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/internal/version.versionPrerelease=gentoo" ./cmd/${PN} +} + +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} +}