From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1509918-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 283BA15ACFB for <garchives@archives.gentoo.org>; Fri, 21 Apr 2023 09:09:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67CDCE091B; Fri, 21 Apr 2023 09:09:44 +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 4C180E091B for <gentoo-commits@lists.gentoo.org>; Fri, 21 Apr 2023 09:09:44 +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 3FAE8341123 for <gentoo-commits@lists.gentoo.org>; Fri, 21 Apr 2023 09:09:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49EA9141 for <gentoo-commits@lists.gentoo.org>; Fri, 21 Apr 2023 09:09:41 +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: <1682068162.afdd6621b793d380493d64088345fa5c392f5151.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.33.1.ebuild X-VCS-Directories: app-admin/hcloud/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: afdd6621b793d380493d64088345fa5c392f5151 X-VCS-Branch: master Date: Fri, 21 Apr 2023 09:09:41 +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: fd491f4f-f4bb-45f7-bf2f-c67601efd584 X-Archives-Hash: 7426c62b50ac773e8459d02e6e3c24ba commit: afdd6621b793d380493d64088345fa5c392f5151 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> AuthorDate: Fri Apr 21 09:09:22 2023 +0000 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> CommitDate: Fri Apr 21 09:09:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afdd6621 app-admin/hcloud: version bump to 1.33.1 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> app-admin/hcloud/Manifest | 1 + app-admin/hcloud/hcloud-1.33.1.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 7b663c8f84d4..865851319c81 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1,2 +1,3 @@ DIST hcloud-1.31.1.tar.xz 1735560 BLAKE2B 66b2deaefbf61a72bf6a9e004c29d1198e5cfd40956e9936d5db27903aff5f8151c230da61b33ce4231885613d53ba5c96f99fb10df03fdcc241ec32fa465de5 SHA512 b61683ea54455be1db0ae196615642d0247e56ca51f3848847fba09124a45606aea2495f4408694acc5e819d9dc79ffdb2b9ce4e85aade7dea0335be94461066 DIST hcloud-1.33.0.tar.xz 1814888 BLAKE2B e34022a4586457026759835398ba5086f625b79c8a3cecdec1b6f3cbe0c5e40ef0e190d839504c587456fccb9d599f21c8421c3b5d91de18fa0208ed7f0a387b SHA512 9d4030ca56dd8e775032d13f7f9af6d6375d10026ced74657563a7a175aeafcc6d03e77d86277be73f63ba02f3c757c19e5bf9770a09533f0a7450295767a2c7 +DIST hcloud-1.33.1.tar.xz 1815372 BLAKE2B 06cdf9082a842f1103d9c446979f230ad6d2f59779321dee5a6fa1eddfb372ac7576cca411a4b296c1fda5f14b7e43c9debe6dc2542256d28a1fa7c64429ef77 SHA512 e0a09b347c9baf955a631d8ab04c7da4ea8add86006522a7551375bbf86f8b30a13d463dce12990c08ef606d2f536c5b632b4880288192cec1db9ee07416eeeb diff --git a/app-admin/hcloud/hcloud-1.33.1.ebuild b/app-admin/hcloud/hcloud-1.33.1.ebuild new file mode 100644 index 000000000000..c9186ddd8470 --- /dev/null +++ b/app-admin/hcloud/hcloud-1.33.1.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:=" +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} +}