From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 81AF71580E0 for ; Mon, 02 Jun 2025 08:52:36 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6A458343077 for ; Mon, 02 Jun 2025 08:52:36 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5C33D11027C; Mon, 02 Jun 2025 08:52:35 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 4DD2B11027C for ; Mon, 02 Jun 2025 08:52:35 +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 035E1343077 for ; Mon, 02 Jun 2025 08:52:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6727F24B9 for ; Mon, 02 Jun 2025 08:52:33 +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: <1748854342.df9568c293ee4b3e182c9434a60447798d32bb42.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.51.0.ebuild X-VCS-Directories: app-admin/hcloud/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: df9568c293ee4b3e182c9434a60447798d32bb42 X-VCS-Branch: master Date: Mon, 02 Jun 2025 08:52:33 +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: 8f7872dd-7a7d-404f-b93a-0215cadda3c1 X-Archives-Hash: d6d9645dcdf963f3c530598db9ca58e6 commit: df9568c293ee4b3e182c9434a60447798d32bb42 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Jun 2 08:52:22 2025 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Jun 2 08:52:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df9568c2 app-admin/hcloud: add 1.51.0 Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/hcloud/Manifest | 1 + app-admin/hcloud/hcloud-1.51.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 761aaa84747f..7221984d00d5 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1 +1,2 @@ DIST hcloud-1.50.0.tar.xz 2420496 BLAKE2B 19132156f835bb8369d2c46659455343ab908ed1b775accd07df8eeb189b08e90ef030bcbcd52d2cc0d0f61b548e97ffb64671e26b6502283d857a8db26decbe SHA512 081b5f133944a7fc282943dbb59ac00d35ead0456cbf8da63c1e7a4d4cafb638eabc1a1e29915e90952c63931a0c8f270b9d36ed81ae900f06c38e9bac1e68b7 +DIST hcloud-1.51.0.tar.xz 2654224 BLAKE2B 02c6ff3ceb2dc6bb88625ff2f69552c6c0cc48e124829432b111219a80bd76780d67bcde3935e58157fa3970318c980159fb6abdcffeb941dfafb6da2423dd8c SHA512 ecb9d0fcb1945f030f5499ca48d2a4fc06e7917de1298a14812425789b1258bbe1d126fa08fc82e2af378b79923dd9571b8468aa142618dfad57e9320dacb422 diff --git a/app-admin/hcloud/hcloud-1.51.0.ebuild b/app-admin/hcloud/hcloud-1.51.0.ebuild new file mode 100644 index 000000000000..a41551010d80 --- /dev/null +++ b/app-admin/hcloud/hcloud-1.51.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 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() { + ./hcloud version + if [[ $? -ne 0 ]] + then + die "hcloud version test failed" + fi + + # Avoid error like: + # -buildmode=pie not supported when -race is enabled on linux/amd64 + GOFLAGS=${GOFLAGS//-buildmode=pie} + ego test -coverpkg=./... -coverprofile=coverage.txt -v -race ./... +} + +src_install() { + dobin ${PN} +}