diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2023-11-16 11:16:32 +0100 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2023-11-16 11:16:32 +0100 |
commit | 1178828fe5cacb42871d12668e32939c4fc637ef (patch) | |
tree | b87ba6b2c5f848fd62b16c380d16822d2a55b5a1 /app-admin/hcloud | |
parent | net-im/signal-desktop-bin: remove old version (diff) | |
download | gentoo-1178828fe5cacb42871d12668e32939c4fc637ef.tar.gz gentoo-1178828fe5cacb42871d12668e32939c4fc637ef.tar.bz2 gentoo-1178828fe5cacb42871d12668e32939c4fc637ef.zip |
app-admin/hcloud: version bump to 1.40.0
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.40.0.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 7a630c9cb77a..67d4b2b35c30 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.39.0.tar.xz 1876424 BLAKE2B b312fc2489efa47bcb0e4e6b45fc70b56263eb051f9c633b3c7a3afe176b1fcd06092c21f41e2c41a1fa9c06abc1c781e7b215e39e17f6149d913055bfd50e28 SHA512 6388db74f4bce611efc0a8c4a21ec5c4711b6e3541f65f1d835928301fc43955d8aabec07b17cbaf0374854d6e58a097ac936ba8af59c3a22fbca834b03e2a0d +DIST hcloud-1.40.0.tar.xz 1873336 BLAKE2B 4062aeb7596e3980d394443fc4e7c9761e32ad5940bab1dfc47203c1ed4a23a3cbc841589f73dd5c8a81240216a14d96d1032a6cc1fe8a30a57c1a41ed454ad2 SHA512 52f84dd39b1a299cb77084ab4f72bc23c2f63056fb752bfd58660593590058e5ffaa6cb59d7342bf497e7f65179389dc339a822f22aec8b25ffb25e99770f3a7 diff --git a/app-admin/hcloud/hcloud-1.40.0.ebuild b/app-admin/hcloud/hcloud-1.40.0.ebuild new file mode 100644 index 000000000000..c7dcd8ef353e --- /dev/null +++ b/app-admin/hcloud/hcloud-1.40.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} +} |