summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2023-11-02 10:32:46 +0100
committerAgostino Sarubbo <ago@gentoo.org>2023-11-02 10:32:56 +0100
commit4f8480bcfcaecd9512c5678e81cde8ec1ca858b9 (patch)
tree052efca9d599ad4991ad12397a9f892cca36003a /app-admin
parentapp-editors/emacs: Stabilize 29.1-r5 x86, #916676 (diff)
downloadgentoo-4f8480bcfcaecd9512c5678e81cde8ec1ca858b9.tar.gz
gentoo-4f8480bcfcaecd9512c5678e81cde8ec1ca858b9.tar.bz2
gentoo-4f8480bcfcaecd9512c5678e81cde8ec1ca858b9.zip
app-admin/hcloud: version bump to 1.39.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.39.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest
index 71ee7ffe42b9..0596ca5d4e1f 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.38.2.tar.xz 1871052 BLAKE2B f40ec4f40b251e61139409905bd71270982f0dca2662c3a066057343681bb9859ab61520e7dacb3252a8501a88494b2293998647dbf92a7f4c83d3c08543dd57 SHA512 fbc25cab1350d236e2d1fd6afb86262c97e7e95b345c4606e274f48fa935a23d77220398d2c20f13145927e0ee5a2ec9065f2436034a08e873bd3222c6ae87f5
+DIST hcloud-1.39.0.tar.xz 1876424 BLAKE2B b312fc2489efa47bcb0e4e6b45fc70b56263eb051f9c633b3c7a3afe176b1fcd06092c21f41e2c41a1fa9c06abc1c781e7b215e39e17f6149d913055bfd50e28 SHA512 6388db74f4bce611efc0a8c4a21ec5c4711b6e3541f65f1d835928301fc43955d8aabec07b17cbaf0374854d6e58a097ac936ba8af59c3a22fbca834b03e2a0d
diff --git a/app-admin/hcloud/hcloud-1.39.0.ebuild b/app-admin/hcloud/hcloud-1.39.0.ebuild
new file mode 100644
index 000000000000..c7dcd8ef353e
--- /dev/null
+++ b/app-admin/hcloud/hcloud-1.39.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}
+}