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 EDE88158013 for ; Fri, 15 Dec 2023 15:44:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 218FF2BC024; Fri, 15 Dec 2023 15:44:56 +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 pigeon.gentoo.org (Postfix) with ESMTPS id EFFE62BC024 for ; Fri, 15 Dec 2023 15:44: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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7F54335DEB for ; Fri, 15 Dec 2023 15:44:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 35BF3ACA for ; Fri, 15 Dec 2023 15:44:53 +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: <1702655086.6112c43a615949f2a9a4d217b54f2b09f1151fc3.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.41.0.ebuild X-VCS-Directories: app-admin/hcloud/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: 6112c43a615949f2a9a4d217b54f2b09f1151fc3 X-VCS-Branch: master Date: Fri, 15 Dec 2023 15:44:53 +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: 55fe8ecb-7184-478e-aab6-2ae7cb80a473 X-Archives-Hash: ac1a4507f8e0b06087098b4a3240f864 commit: 6112c43a615949f2a9a4d217b54f2b09f1151fc3 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Dec 15 15:44:46 2023 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Dec 15 15:44:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6112c43a app-admin/hcloud: version bump to 1.41.0 Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/hcloud/Manifest | 1 + app-admin/hcloud/hcloud-1.41.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 0bab16b91fca..706d44e9bb7a 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1,2 +1,3 @@ DIST hcloud-1.37.0.tar.xz 1868892 BLAKE2B 40268017c28877a5d26cb752e28511de591ca8dac9ab834b8ad5d15005306910a80501659ed1f827ca7184f1399a054519360c3a27d4081d08346bca53978537 SHA512 c785851a2085511bfb9b257a7267f51b4c8bcc9d14f6b595d772712aeb99c1d9db99a481b211bf110ee5c0fd260cc5a98d3dc5445a68807d5abeb050d0e89b81 DIST hcloud-1.40.0.tar.xz 1873336 BLAKE2B 4062aeb7596e3980d394443fc4e7c9761e32ad5940bab1dfc47203c1ed4a23a3cbc841589f73dd5c8a81240216a14d96d1032a6cc1fe8a30a57c1a41ed454ad2 SHA512 52f84dd39b1a299cb77084ab4f72bc23c2f63056fb752bfd58660593590058e5ffaa6cb59d7342bf497e7f65179389dc339a822f22aec8b25ffb25e99770f3a7 +DIST hcloud-1.41.0.tar.xz 1915204 BLAKE2B f7a28ef8ec991380e893200a6f9dbc01a43adbc88bbf1b546ead55e353254d8024d7f7d18cc40ca1d273b5a1f632f672258657066da0bd4ea9e2f70302c56954 SHA512 1bc0ab6d19db9d244c22b23055bd4f0c06264ddcdd5d8805aae99f3bf53045e1284426bed6229f47f6727b914f7eebc70ae5576d035b5c9e41839b46f1b4b363 diff --git a/app-admin/hcloud/hcloud-1.41.0.ebuild b/app-admin/hcloud/hcloud-1.41.0.ebuild new file mode 100644 index 000000000000..c7dcd8ef353e --- /dev/null +++ b/app-admin/hcloud/hcloud-1.41.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} +}