commit:     6af79f7016fa3096e9ad222e1e8fca6b3972d802
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  2 08:54:37 2025 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Jun  2 08:54:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af79f70

app-admin/exo: add 1.84.1

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 app-admin/exo/Manifest          |  1 +
 app-admin/exo/exo-1.84.1.ebuild | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index 1f19721ee3b2..a860c87a1926 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
 DIST exo-1.84.0.gh.tar.gz 11308701 BLAKE2B 
a9a5b8cb8ef6415985aa698d1abf3bf305442ccb4f9968fb3deff310f7781531eb9ffbd794d6e6f1cf8e90a35919efdd85fb926e6648f620d78f4d8245d3e4d5
 SHA512 
4218f63a90d32c4bd0c6a37089ed06a6a7bae455c0d8dfd35a8af5b4a27991d4ba12c6889ea0abec18ff058492038b66534d66cc309b13010babfae905e70655
+DIST exo-1.84.1.gh.tar.gz 11310617 BLAKE2B 
327294f5828f8b94bccd543926c2bb87f1a6b286efd16b579133ed63ceca09280d88c7d7dd3f3330174ebfa817696acb9c628d6cee2ba83d79466c28870e467b
 SHA512 
1ec64fabb0b53b6094d6e74a14ba38fc3e8a1771defbbe5d175342123de31a0bb88e13914e04153ca5a60493085b206fd6069887fd937c2188390317372e86c8

diff --git a/app-admin/exo/exo-1.84.1.ebuild b/app-admin/exo/exo-1.84.1.ebuild
new file mode 100644
index 000000000000..42489962bbf7
--- /dev/null
+++ b/app-admin/exo/exo-1.84.1.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}
+}

Reply via email to