summaryrefslogtreecommitdiff
path: root/app-admin/hcloud
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/hcloud')
-rw-r--r--app-admin/hcloud/Manifest2
-rw-r--r--app-admin/hcloud/hcloud-1.42.0.ebuild33
2 files changed, 35 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest
index 640bdafd388e..c3be6bf944ab 100644
--- a/app-admin/hcloud/Manifest
+++ b/app-admin/hcloud/Manifest
@@ -1,5 +1,7 @@
DIST hcloud-1.37.0.tar.xz 1868892 BLAKE2B 40268017c28877a5d26cb752e28511de591ca8dac9ab834b8ad5d15005306910a80501659ed1f827ca7184f1399a054519360c3a27d4081d08346bca53978537 SHA512 c785851a2085511bfb9b257a7267f51b4c8bcc9d14f6b595d772712aeb99c1d9db99a481b211bf110ee5c0fd260cc5a98d3dc5445a68807d5abeb050d0e89b81
DIST hcloud-1.41.1.tar.xz 1869464 BLAKE2B 4ce755ae14bdfe5e90b673a31f3002ae812449593c3ba4fb08ec3ad0fe21cb2d57bf1dbe0f744d39b4844b165e49a86663a20bad1389d1468e052dbb6163deed SHA512 0e2236d0c4efabccca090866a87d7938d2eb39885b7901e3874c40e1ce672515376edc69471b411e862b1269ac538db380347738362bed1464064c4f6799f933
+DIST hcloud-1.42.0.tar.xz 1876444 BLAKE2B e7ed2e01a7c6bb106a5c46e21e26d8b6bdd7636b64c7b354674364c3db8c1776f09f199ea022e2f311e873490b737490ea22045aa00147c6066ff0a7fb96d563 SHA512 dab916666ec17b9675ba0a559170859779289c36739ac4c3d72445c87fb440df475e55e52ed628fd8d1a52421c6df4d47b0b51713e476753a66da74b3a7bf11c
EBUILD hcloud-1.37.0.ebuild 732 BLAKE2B d0128966e4c9444fdd91124e8513215e7f3373c49da216cd6f35268d435d8df8e1889b138c7c71759f4032dc437f31ff9a040eeada70e2a279e18275164b01d8 SHA512 05258150e4eb1ad133cddc7df6d651724746c2a9235497593b11ababb90d519cd1e21a906b853d7b564af3fd5751a049ecb016adcf63699f9d5015b8576cbcb7
EBUILD hcloud-1.41.1.ebuild 733 BLAKE2B b9d70bb1e60630a6d7b39e131912733b3d4bd6b7e409a8f5ff03e83eaf5f2c2d3a01c4d719780413aaffe3cc6e8e73ca0405863f1cb325879e8ccea9a2d65486 SHA512 ef80806bd3d096e8a3b78169bee3b68cd16f89efab6f89c38433c103f13532110fed5f9b0291308e0dbbc983b8ac448bdfa2cc5a5d2ce3a2902c3c95d06abffe
+EBUILD hcloud-1.42.0.ebuild 650 BLAKE2B 46ffa689c8572deb3847f3c6293d8c1dfe6b3ab0fd9a1cac1a6908e47e43b802ffc404a7c9805a30c50a365daf792f74521b2db432fca9053084cf86eaafece5 SHA512 13d967c8990803c7d12909fcd4398382fdf0e9c1d4b648e3445acb99b9ac11499d9afde554dab96fea01db575161ec3cf11a46b79ca53f2a46e01a875717f5a2
MISC metadata.xml 338 BLAKE2B 6ba2cbe509581ac35dabd93abe166f960d69d1f14336779848483386d28e22dd06e5d196061312827b7a945369f05a466417a1636b607e138515957a75db6f84 SHA512 cc69ce0ab7ba3a9af94ef1918738074cdd725bef2ff70d6c19e46d07bb9514d05ef6415c7ba5b372e7a98902a8440cdb9f7b14a848c3ff2f054863356971ddde
diff --git a/app-admin/hcloud/hcloud-1.42.0.ebuild b/app-admin/hcloud/hcloud-1.42.0.ebuild
new file mode 100644
index 000000000000..1525fc811206
--- /dev/null
+++ b/app-admin/hcloud/hcloud-1.42.0.ebuild
@@ -0,0 +1,33 @@
+# 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"
+
+IUSE=""
+
+src_compile() {
+ ego build -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/internal/version.Version=${PV}-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}
+}