diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2023-04-15 15:30:22 +0200 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2023-04-15 15:30:22 +0200 |
commit | 0eef30ed1365563ca333ded4466b02b25694370f (patch) | |
tree | e43769343aac1bde2060612ebe82a0364832f08a /app-admin/hcloud | |
parent | net-dns/openresolv: add 3.13.0 (diff) | |
download | gentoo-0eef30ed1365563ca333ded4466b02b25694370f.tar.gz gentoo-0eef30ed1365563ca333ded4466b02b25694370f.tar.bz2 gentoo-0eef30ed1365563ca333ded4466b02b25694370f.zip |
app-admin/hcloud: version bump to 1.33.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.33.0.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index c81d6a92b34a..b03f8bfc0dee 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1,2 +1,3 @@ DIST hcloud-1.31.1.tar.xz 1735560 BLAKE2B 66b2deaefbf61a72bf6a9e004c29d1198e5cfd40956e9936d5db27903aff5f8151c230da61b33ce4231885613d53ba5c96f99fb10df03fdcc241ec32fa465de5 SHA512 b61683ea54455be1db0ae196615642d0247e56ca51f3848847fba09124a45606aea2495f4408694acc5e819d9dc79ffdb2b9ce4e85aade7dea0335be94461066 DIST hcloud-1.32.0.tar.xz 1812752 BLAKE2B b49ee516d2560918f39f657d38b37d2ea4c1136b2c3a12648f48d91f1b5977f9f25c99a70a271d0f21a6ffd9d92efba9e089ec58ca39be3ef3db50138094a5a7 SHA512 7ef3ede11c08fc4b5241f797c2c64963c57c46c281e532e7b760d13d4abe7d5d032accf5fcece24e145ad14e0ccf0be3471b6d1a7100c8631ad447aebcebd9d3 +DIST hcloud-1.33.0.tar.xz 1814888 BLAKE2B e34022a4586457026759835398ba5086f625b79c8a3cecdec1b6f3cbe0c5e40ef0e190d839504c587456fccb9d599f21c8421c3b5d91de18fa0208ed7f0a387b SHA512 9d4030ca56dd8e775032d13f7f9af6d6375d10026ced74657563a7a175aeafcc6d03e77d86277be73f63ba02f3c757c19e5bf9770a09533f0a7450295767a2c7 diff --git a/app-admin/hcloud/hcloud-1.33.0.ebuild b/app-admin/hcloud/hcloud-1.33.0.ebuild new file mode 100644 index 000000000000..c9186ddd8470 --- /dev/null +++ b/app-admin/hcloud/hcloud-1.33.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:=" +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} +} |