commit: fc10ec11276d7b34fe89b90a1a3d018cb6d9b120 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> AuthorDate: Mon Aug 10 07:06:41 2020 +0000 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> CommitDate: Mon Aug 10 07:06:41 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc10ec11
app-admin/exo: version bump to 1.16.0 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.16.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 8d3fd6b42f1..ca224e3340b 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.15.0.tar.gz 4267440 BLAKE2B 5b5f38df929c538528084ecae8ae73f2c2486b2a3ad45c7c4ba55021680912490c90d820c72ac1e858caf023382b2de3a573a6e7f096b3b84abf3da237a3bca0 SHA512 d42887a24de2385acc7e66daab0c51b413304fd96589755874716702747aaea74ea0f080e334f2a4ebcf8b6c6699257f6e36e5ddf9acf9c7aca2693555edbfb2 +DIST exo-1.16.0.tar.gz 4245980 BLAKE2B 3215d001b6c0864e2798e34976e6c7c67c9e4457729a149280721d7cc00c648c273fc2bfd03d6678aad1ac7217d0d3a22dd6c53fcf7822c19410bb556a5d41f9 SHA512 ce75261e09f906030a2fbe7aae2f9aaa2bf631db0f6c8876f9e7baba6622026d2d127a6935fa5dfb9c1bffb4953eb0a7149c345a4eb9b9423e52047588442e74 diff --git a/app-admin/exo/exo-1.16.0.ebuild b/app-admin/exo/exo-1.16.0.ebuild new file mode 100644 index 00000000000..0c2c8d861fe --- /dev/null +++ b/app-admin/exo/exo-1.16.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 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} +}
