summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2024-07-19 14:28:08 +0200
committerAgostino Sarubbo <ago@gentoo.org>2024-07-19 14:28:08 +0200
commita270221490c6a17975a6757665db0b19da68d6ca (patch)
tree6e17889a2270b0cbf52142c41eb3b6611b517c5a /app-admin
parentapp-i18n/rime-data: Stabilize 1.0.20240624 ALLARCHES, #936300 (diff)
downloadgentoo-a270221490c6a17975a6757665db0b19da68d6ca.tar.gz
gentoo-a270221490c6a17975a6757665db0b19da68d6ca.tar.bz2
gentoo-a270221490c6a17975a6757665db0b19da68d6ca.zip
app-admin/hcloud: add 1.45.0
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/hcloud/Manifest1
-rw-r--r--app-admin/hcloud/hcloud-1.45.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest
index cd7083374280..c8e085248f06 100644
--- a/app-admin/hcloud/Manifest
+++ b/app-admin/hcloud/Manifest
@@ -1,2 +1,3 @@
DIST hcloud-1.43.1.tar.xz 1889004 BLAKE2B 563cde962cf1fd180bbef60127b714419c09da198afeb4923f8fc1cd48850131b3b91de243de43e269497f36d14757a1e71941d30dfbee98baebb533f20e6cdd SHA512 c8fa46e9d3e2c73cc2d86e597bebf6e1dbf28b7145dbc272c403607807251ac27eee14b9ad267fdf2aa730da16ce52be4d2b0d94653612b4f375f1779c95d90b
DIST hcloud-1.44.2.tar.xz 2191648 BLAKE2B 9dfc41251e16cfa60a5358677fd80d83af5e978e3692c5b0d52cfc047561388de717ed0689f58b2ccfe6f17fd2e44cc73fbccedb1f6be790323d72da39f9c963 SHA512 a9cae3c6f372078f477ac9814921185caffc2dc04a3b7befed23f7e48355aec85f7c91feaac1d5317f288b1cab2b6c0680c4c9a11066d3b5bb10b43670cee88a
+DIST hcloud-1.45.0.tar.xz 2192004 BLAKE2B f572f44e007b640f48cef06b165c77a7f90ad7ba4f96d6141e665c79a70267668c4c985ee5bba0c6faa73fc3b035f363aeab0d59a17707c48a4e1e9a8681387f SHA512 ff3584643d63cc4f64d902c29cc205629f1a4a71e1b27e714158948edfc63e0686436f8d77917156de6f829fceaad42def6f376b067723e3b25eb1b3137cd6e1
diff --git a/app-admin/hcloud/hcloud-1.45.0.ebuild b/app-admin/hcloud/hcloud-1.45.0.ebuild
new file mode 100644
index 000000000000..c4449b25b091
--- /dev/null
+++ b/app-admin/hcloud/hcloud-1.45.0.ebuild
@@ -0,0 +1,31 @@
+# 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() {
+ # For upstream a simple test is run 'hcloud version'
+ ./hcloud version
+ if [[ $? -ne 0 ]]
+ then
+ die "Test failed"
+ fi
+}
+
+src_install() {
+ dobin ${PN}
+}