diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2021-08-05 12:41:40 +0200 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2021-08-05 12:41:40 +0200 |
commit | 10a5d27c7b916385d97bae89db863c15287758b8 (patch) | |
tree | 879673b92c718e79bd3f8a7dfd175c441dee4288 /app-admin | |
parent | app-admin/exo: version bump to 1.38.0 - remove old. (diff) | |
download | gentoo-10a5d27c7b916385d97bae89db863c15287758b8.tar.gz gentoo-10a5d27c7b916385d97bae89db863c15287758b8.tar.bz2 gentoo-10a5d27c7b916385d97bae89db863c15287758b8.zip |
app-admin/hcloud: version bump to 1.26.0
Package-Manager: Portage-3.0.20, Repoman-3.0.2
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.26.0.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 0998faad011b..1c9f37b14b4d 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1 +1,2 @@ DIST hcloud-1.25.1.tar.xz 1164932 BLAKE2B 21d3a0def3684a25c0cb629320f5617c93090d33cc95e66c42355c01afaf3189f8da858028220350bc1f1f53992b289ea75b56196d94ae41323602c4e8fee1a8 SHA512 aba79869553b19f6a117dc4d9f31935582e9ad89d12d9fd8f70087064383b76324483c78890ddb5965f98f2ca783ca46a17dee97b21716a1ff916647c1267a67 +DIST hcloud-1.26.0.tar.xz 1165084 BLAKE2B bad49430708ecd34b5c7734c0693e00d7bd3bd98a0c4fc2c4a9c9e8059afd44d5fd696072d1f0d64c7e0dc8bcdc05554437fc63c1dd7e8c2e1dd8f540a7c836b SHA512 87cca87cf88589871a175c1fa2d5d21b44b450fe8e6b190e57342082601aa44b6d5a5919696278214e0a32a89ed8b88e066b00263e72383a2f92a7cd434762aa diff --git a/app-admin/hcloud/hcloud-1.26.0.ebuild b/app-admin/hcloud/hcloud-1.26.0.ebuild new file mode 100644 index 000000000000..77d54006fe99 --- /dev/null +++ b/app-admin/hcloud/hcloud-1.26.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 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} +} |