commit: b173f796aa6b99f86205532b83d8170d7d952bed Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> AuthorDate: Mon Dec 22 13:41:45 2025 +0000 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> CommitDate: Mon Dec 22 13:41:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b173f796
app-admin/exo: add 1.88.0 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.88.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 38826acb8ff0..14320fd7d7f1 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.85.4.gh.tar.gz 11316210 BLAKE2B 9378b865329f86b9edea6803f2136db34b2313fe935acaa77550b9dda15ebfc35aafc55f772e3856b8b07b86cc685909c0d6d4774dcd0e9805e2c237fc964ee5 SHA512 aa7de86157939a9958c83ed30a9a81ba1416d77caddfe66172245de025291c9b3deb024546a32c294f8cee9706d6b4825910f3a7bb47d61917a58b17ab5bc175 +DIST exo-1.88.0.gh.tar.gz 11391385 BLAKE2B 165fe8ebef91d33aa108f26fb668ca28f7751350d52feaab644a1505a910c72e8d5f7c6355748bd2dbba2c877c79b6bec01d18aa813a31b40a17ac0e80da0cfd SHA512 28358e25be4d19bca459c5afa46c08669f4395e6e6a4faf44333f33aec29c0ae58aeb45f0672d3fad48777e5b262194b40818b63a9fed660392bcc8de6963bfd diff --git a/app-admin/exo/exo-1.88.0.ebuild b/app-admin/exo/exo-1.88.0.ebuild new file mode 100644 index 000000000000..42489962bbf7 --- /dev/null +++ b/app-admin/exo/exo-1.88.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +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}.gh.tar.gz" +S="${WORKDIR}/cli-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=">=dev-lang/go-1.16:=" +RESTRICT="strip" + +src_compile() { + ego build -mod vendor -o ${PN} -ldflags "-X main.version=${PVR}-gentoo -X main.commit=" +} + +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} +}
