diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2023-10-13 11:18:29 +0200 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2023-10-13 11:18:29 +0200 |
commit | 5206833dd6f311e1b18c3fc2c74c12834989283f (patch) | |
tree | f63d45afe588b96e79273a3141f2f2b48021321f /app-admin/hcloud | |
parent | gnome-extra/nemo-fileroller: Stabilize 5.8.0 x86, #914901 (diff) | |
download | gentoo-5206833dd6f311e1b18c3fc2c74c12834989283f.tar.gz gentoo-5206833dd6f311e1b18c3fc2c74c12834989283f.tar.bz2 gentoo-5206833dd6f311e1b18c3fc2c74c12834989283f.zip |
app-admin/hcloud: version bump to 1.38.2
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.38.2.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 692d92593dd3..71ee7ffe42b9 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1 +1,2 @@ DIST hcloud-1.37.0.tar.xz 1868892 BLAKE2B 40268017c28877a5d26cb752e28511de591ca8dac9ab834b8ad5d15005306910a80501659ed1f827ca7184f1399a054519360c3a27d4081d08346bca53978537 SHA512 c785851a2085511bfb9b257a7267f51b4c8bcc9d14f6b595d772712aeb99c1d9db99a481b211bf110ee5c0fd260cc5a98d3dc5445a68807d5abeb050d0e89b81 +DIST hcloud-1.38.2.tar.xz 1871052 BLAKE2B f40ec4f40b251e61139409905bd71270982f0dca2662c3a066057343681bb9859ab61520e7dacb3252a8501a88494b2293998647dbf92a7f4c83d3c08543dd57 SHA512 fbc25cab1350d236e2d1fd6afb86262c97e7e95b345c4606e274f48fa935a23d77220398d2c20f13145927e0ee5a2ec9065f2436034a08e873bd3222c6ae87f5 diff --git a/app-admin/hcloud/hcloud-1.38.2.ebuild b/app-admin/hcloud/hcloud-1.38.2.ebuild new file mode 100644 index 000000000000..c7dcd8ef353e --- /dev/null +++ b/app-admin/hcloud/hcloud-1.38.2.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} +} |