From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1690162-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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7307F158042 for <garchives@archives.gentoo.org>; Fri, 15 Nov 2024 15:25:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EED3E0ABF; Fri, 15 Nov 2024 15:25:28 +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 76750E0ABF for <gentoo-commits@lists.gentoo.org>; Fri, 15 Nov 2024 15:25:28 +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 B2551335C03 for <gentoo-commits@lists.gentoo.org>; Fri, 15 Nov 2024 15:25:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 13EBB18C4 for <gentoo-commits@lists.gentoo.org>; Fri, 15 Nov 2024 15:25:26 +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: <1731684303.ee96a2ad426f449d4c1d6e3e495228ab9ec5c371.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.49.0.ebuild X-VCS-Directories: app-admin/hcloud/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: ee96a2ad426f449d4c1d6e3e495228ab9ec5c371 X-VCS-Branch: master Date: Fri, 15 Nov 2024 15:25:26 +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: a0665ec2-b786-47f6-9310-7ddcab222cae X-Archives-Hash: f6f3f9a0b596094ae77a3ec2398cdb02 commit: ee96a2ad426f449d4c1d6e3e495228ab9ec5c371 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> AuthorDate: Fri Nov 15 15:25:03 2024 +0000 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> CommitDate: Fri Nov 15 15:25:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee96a2ad app-admin/hcloud: add 1.49.0 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> app-admin/hcloud/Manifest | 1 + app-admin/hcloud/hcloud-1.49.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 27878eea75b3..fe33993e4d5a 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1,2 +1,3 @@ DIST hcloud-1.47.0.tar.xz 2199764 BLAKE2B 02c06449ab62904b3f21ddaadc6182a965488e72f453b8d03d73b4be8a585ae42a7f1db4012588b8983e77cb181fa1aeff1a778205fc23731bc12565cdea1d7b SHA512 ca5999ef59a3b11e589a6c199f87ff2487b1384dfb6244adf286b84ee7de9dc6cbc4879dc72b6a5196c0f067efa7d3202110471debc4fe020114bf97ea10f9c8 DIST hcloud-1.48.0.tar.xz 2365360 BLAKE2B d5c50ba117c20f93ffca713142e622ca6069cbcd591553344d32baedf0d522688851bddb524c8976d9a08fe5ea81fecc10c24f2c88e5610ea26a86036159b4e0 SHA512 f3e119e2a4016489df1cb5116ff21608fb8188671c625596bfbd7342a51f70e26f9a79f059dd1919bac2a3d1aadcff94166ef7ee8640fd0df3e13ccb770b3fa2 +DIST hcloud-1.49.0.tar.xz 2400804 BLAKE2B 50752dd18c20a0ad5783157d2b51514375d3c14ab945188208043709af1f74109e2adc0d31cbb0cd2b6078f4e2ad22940f81bfb538a4cd4acb93a9c069ee18b9 SHA512 4f26f70d9e90e2cabdbca7d0bebc545117c9b684bf03c263dc2bfca66bd8d2088afdc47ecbb9f835a6ab30700aea75dcb27998d71afd18f803205239dcfb50c4 diff --git a/app-admin/hcloud/hcloud-1.49.0.ebuild b/app-admin/hcloud/hcloud-1.49.0.ebuild new file mode 100644 index 000000000000..49cedeae2460 --- /dev/null +++ b/app-admin/hcloud/hcloud-1.49.0.ebuild @@ -0,0 +1,35 @@ +# 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() { + ./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} +}