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 06DB815800A for ; Mon, 28 Aug 2023 12:09:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49D452BC08C; Mon, 28 Aug 2023 12:09:55 +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 2C0DC2BC08C for ; Mon, 28 Aug 2023 12:09:55 +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 3E9FF33BEF1 for ; Mon, 28 Aug 2023 12:09:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC10D1093 for ; Mon, 28 Aug 2023 12:09:52 +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: <1693224582.ff35d2c45a87c7defea027afadee6ea80f63e2e4.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.37.0.ebuild X-VCS-Directories: app-admin/hcloud/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: ff35d2c45a87c7defea027afadee6ea80f63e2e4 X-VCS-Branch: master Date: Mon, 28 Aug 2023 12:09:52 +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: c9a04ebf-b42c-4eba-9558-8f778bc0e64f X-Archives-Hash: f79aa448e68f2ea3d71d5764fbcb470d commit: ff35d2c45a87c7defea027afadee6ea80f63e2e4 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Aug 28 12:09:42 2023 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Aug 28 12:09:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff35d2c4 app-admin/hcloud: version bump to 1.37.0 Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/hcloud/Manifest | 1 + app-admin/hcloud/hcloud-1.37.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 6440fefeba6c..23a689def611 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1 +1,2 @@ DIST hcloud-1.36.0.tar.xz 1819508 BLAKE2B 98666a7f27f91c75bda6a62c944824dc419312590e29839bb826d3e21bdc41bdc89902522148e42c4211bf154517f4e825fac77ae0de41a3c1e0c69bce50c2f3 SHA512 3981182acd9e971b06c68b932be204fbca31e8b8651bbd0ace04926d9435cafd8da907cc13af4e13adf768ab11b0403cb35384cb42e8b93e299bd48413f8defe +DIST hcloud-1.37.0.tar.xz 1868892 BLAKE2B 40268017c28877a5d26cb752e28511de591ca8dac9ab834b8ad5d15005306910a80501659ed1f827ca7184f1399a054519360c3a27d4081d08346bca53978537 SHA512 c785851a2085511bfb9b257a7267f51b4c8bcc9d14f6b595d772712aeb99c1d9db99a481b211bf110ee5c0fd260cc5a98d3dc5445a68807d5abeb050d0e89b81 diff --git a/app-admin/hcloud/hcloud-1.37.0.ebuild b/app-admin/hcloud/hcloud-1.37.0.ebuild new file mode 100644 index 000000000000..c7dcd8ef353e --- /dev/null +++ b/app-admin/hcloud/hcloud-1.37.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} +}