From eadceb85931ad5f9e58c1c3a706a58ba5e2d4208 Mon Sep 17 00:00:00 2001 From: Agostino Sarubbo Date: Wed, 31 Mar 2021 09:38:26 +0200 Subject: app-admin/hcloud: version bump to 1.22.0 - remove old Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Agostino Sarubbo --- app-admin/hcloud/Manifest | 2 +- app-admin/hcloud/hcloud-1.21.1.ebuild | 34 ---------------------------------- app-admin/hcloud/hcloud-1.22.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 app-admin/hcloud/hcloud-1.21.1.ebuild create mode 100644 app-admin/hcloud/hcloud-1.22.0.ebuild (limited to 'app-admin') diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 5b6e965fc8b2..f45845b41fd5 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1,2 +1,2 @@ DIST hcloud-1.20.0.tar.xz 790040 BLAKE2B ba0d62c8e817daadaa9eb891adb3f655a9ae33b05617449e26b09a3ba6b99a6b6f61df1cf29138a008a7ee58e45efdfe07c408af89efb1c2bd870d7340976bb8 SHA512 5dbb9060595e836ccde99984783954e894f74c098f911ae8c4cc1944d444fd28b6f722bb711d9b1ae245ddf3af8cca1939585ed778c8026fbf8c4201c2d15469 -DIST hcloud-1.21.1.tar.xz 823660 BLAKE2B 8d090db2b5fb7a133fb8d2a41baf72a69e47570fa5de8b75e10a7667b7397f44923f0d40a7b09e0235b1596d6b545e9081f0b357c0b50f048419d8abd5715648 SHA512 bebbe260b0aefa3f989e3b3886e19954d50eb9496e7a98b762b9449c423c7244476a25ec5b3198d8a5cec68e7574a7f2b82fa88de700e1c406ce402756d182fd +DIST hcloud-1.22.0.tar.xz 826148 BLAKE2B 1e1c35b0aa7f17e0a986ec4c859ae20dcf8b3e77547e648236cde995b5cd6ded63d3c56af9e884097896c8b52f1c3fcaec46b3947cf6ba9ce05337af091babdd SHA512 d10df05fe62d0680fa45e0e2afc6c2990890ff34e25c220fe5de73416bb21c732200e96d8c5822f704488c3df9333e19ada520b1861613aab6f946e2a238c560 diff --git a/app-admin/hcloud/hcloud-1.21.1.ebuild b/app-admin/hcloud/hcloud-1.21.1.ebuild deleted file mode 100644 index 77d54006fe99..000000000000 --- a/app-admin/hcloud/hcloud-1.21.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# 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} -} diff --git a/app-admin/hcloud/hcloud-1.22.0.ebuild b/app-admin/hcloud/hcloud-1.22.0.ebuild new file mode 100644 index 000000000000..77d54006fe99 --- /dev/null +++ b/app-admin/hcloud/hcloud-1.22.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} +} -- cgit v1.2.3-65-gdbad