diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2022-04-01 10:14:51 +0200 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2022-04-01 10:14:51 +0200 |
commit | 034a85f0e3ed08eb837c7b29de64a2474dcd4485 (patch) | |
tree | 6ce3a05c4bb131b3b5ac41fa7b6a6b6f18d3b954 /app-admin | |
parent | dev-python/ini2toml: Add test dep on dev-python/tomlkit (diff) | |
download | gentoo-034a85f0e3ed08eb837c7b29de64a2474dcd4485.tar.gz gentoo-034a85f0e3ed08eb837c7b29de64a2474dcd4485.tar.bz2 gentoo-034a85f0e3ed08eb837c7b29de64a2474dcd4485.zip |
app-admin/hcloud: version bump to 1.29.4
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/hcloud/Manifest | 1 | ||||
-rw-r--r-- | app-admin/hcloud/hcloud-1.29.4.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 5c99356d6415..879bcb509a07 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1 +1,2 @@ DIST hcloud-1.29.0.tar.xz 1499276 BLAKE2B 3ec9973fc3ecaf5ec476b2d165fc1663f4d6cd2c00c4c87efc72f3946d1d6028f9a2d20f80020203b1f8f2aa94512a1d02e05b54e9422f5b84826eb8bb552490 SHA512 b5b1e20785fc8a06954a753dbd6c5d91b2b557d0e64cb044ab55cbfb11f0fd7d0a2eb625a51e1216af86cad6f772a206d3b0ef443f256649dba38d199614d41d +DIST hcloud-1.29.4.tar.xz 1417068 BLAKE2B 88a26d771cd0b7b603bce7de8e8e299dceecf931b8fd7bfa1e734134200cb4f2c6d0598f8253024179ba3a4df87d182418f2ceb8b230af48f82cc6be9720ef6b SHA512 409de5fc334fa725c9b314cf9a327976da043af675b704c8ee4d1bb7e42d70607722891deb9ff2b5b1298b7a38d8ce4b0063a10d64c5d1fe2be03f4c8c794c25 diff --git a/app-admin/hcloud/hcloud-1.29.4.ebuild b/app-admin/hcloud/hcloud-1.29.4.ebuild new file mode 100644 index 000000000000..a6d3e9c50d12 --- /dev/null +++ b/app-admin/hcloud/hcloud-1.29.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 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:=" +RESTRICT="strip" +QA_FLAGS_IGNORED=".*" + +src_compile() { + go build -mod vendor -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/cli.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} +} |