diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2024-04-22 15:07:06 +0200 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2024-04-22 15:07:06 +0200 |
commit | 4f5dd215a1d4d00473b0422c123e6c196c561eea (patch) | |
tree | cb61821a8d540ab2c3ffdd18c7cacdbcf7841039 /app-admin/hcloud | |
parent | dev-python/imageio: Bump to 2.34.1 (diff) | |
download | gentoo-4f5dd215a1d4d00473b0422c123e6c196c561eea.tar.gz gentoo-4f5dd215a1d4d00473b0422c123e6c196c561eea.tar.bz2 gentoo-4f5dd215a1d4d00473b0422c123e6c196c561eea.zip |
app-admin/hcloud: version bump to 1.43.1
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin/hcloud')
-rw-r--r-- | app-admin/hcloud/Manifest | 1 | ||||
-rw-r--r-- | app-admin/hcloud/hcloud-1.43.1.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index b4908211a38b..21c78ac3e0f0 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1,2 +1,3 @@ DIST hcloud-1.42.0.tar.xz 1876444 BLAKE2B e7ed2e01a7c6bb106a5c46e21e26d8b6bdd7636b64c7b354674364c3db8c1776f09f199ea022e2f311e873490b737490ea22045aa00147c6066ff0a7fb96d563 SHA512 dab916666ec17b9675ba0a559170859779289c36739ac4c3d72445c87fb440df475e55e52ed628fd8d1a52421c6df4d47b0b51713e476753a66da74b3a7bf11c DIST hcloud-1.43.0.tar.xz 1887388 BLAKE2B 2c2c931e51ab8a801b0548f2599b7162e46171412633e03af597d6750d210af3c19fb88da91d2890bf11fa642a0844646d51eb8b3d02d8f1f74db37a0cd56500 SHA512 4ee2d53de6c03676355f8f30edf97e3a0f2d4902f18dd9fb2498d23eb09428188809a2eb081c3c84c9ba595039de15bb7589ba6c8c1387cea3a76110a45332b1 +DIST hcloud-1.43.1.tar.xz 1889004 BLAKE2B 563cde962cf1fd180bbef60127b714419c09da198afeb4923f8fc1cd48850131b3b91de243de43e269497f36d14757a1e71941d30dfbee98baebb533f20e6cdd SHA512 c8fa46e9d3e2c73cc2d86e597bebf6e1dbf28b7145dbc272c403607807251ac27eee14b9ad267fdf2aa730da16ce52be4d2b0d94653612b4f375f1779c95d90b diff --git a/app-admin/hcloud/hcloud-1.43.1.ebuild b/app-admin/hcloud/hcloud-1.43.1.ebuild new file mode 100644 index 000000000000..3b520d19ac0d --- /dev/null +++ b/app-admin/hcloud/hcloud-1.43.1.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.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} +} |