diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2022-03-04 09:50:53 +0100 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2022-03-04 09:50:53 +0100 |
commit | 4b59fc2b8e80c23a9b1d12146ec8a23886e76061 (patch) | |
tree | 60de074117b92fdcab06a8454e57ec6536e85ebf /app-admin | |
parent | sys-kernel/pf-sources: add 5.16-pf5 (diff) | |
download | gentoo-4b59fc2b8e80c23a9b1d12146ec8a23886e76061.tar.gz gentoo-4b59fc2b8e80c23a9b1d12146ec8a23886e76061.tar.bz2 gentoo-4b59fc2b8e80c23a9b1d12146ec8a23886e76061.zip |
app-admin/exo: version bump to 1.50.0
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/exo/Manifest | 1 | ||||
-rw-r--r-- | app-admin/exo/exo-1.50.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 9a604028e98b..af7025de06a1 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.49.3.tar.gz 5565174 BLAKE2B bb21f29570016f9777d95f9dd92f6e1bd5eff237fb132a81f0f91b79f765461c9c123b62b983d6f2e7af64a475723c46be97a3ac646f7c5a89fc3aca4f972ef3 SHA512 be865bf423caeee8c479382bf579f18d7279b6ea16a97c800cca0ee56fa2bc584d4c4523ff4f70b6a097dbf9c9cce99764d2c95f662b14753f2cd131e043033b +DIST exo-1.50.0.tar.gz 5590761 BLAKE2B f8874ff1b8736af03dfe65b8e20aba7883b2096323ee1a57d5bb07787229791752f259a3bf4315b2470324b7983420b6fc1c3a2a59bb3c6760fc9a9380f9be50 SHA512 ab2f113bb45795cb56daa42a238cabde89bc6d5f09fe28385077e15ae6b4b5c5992346487d5d8ae944c2e08c70589abaa4c20dad1efc6b5e6a5c77165d1bbdd0 diff --git a/app-admin/exo/exo-1.50.0.ebuild b/app-admin/exo/exo-1.50.0.ebuild new file mode 100644 index 000000000000..6149acedfa18 --- /dev/null +++ b/app-admin/exo/exo-1.50.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Command-line tool for everything at Exoscale: compute, storage, dns" +HOMEPAGE="https://github.com/exoscale/cli" +SRC_URI="https://github.com/exoscale/cli/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" +DEPEND="dev-lang/go:=" +RESTRICT="strip" +QA_FLAGS_IGNORED=".*" + +S="${WORKDIR}/cli-${PV}" + +src_compile() { + go build -mod vendor -o ${PN} || die "build failed" +} + +src_test() { + # run at least 'exo version' for test + ./exo version > /dev/null 2>&1 + if [[ $? -ne 0 ]] + then + die "Test failed" + fi +} + +src_install() { + dobin ${PN} +} |