commit:     5078a54e5a64547dc083a025f8df624b760d52b2
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 10:11:55 2024 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon May 13 10:11:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5078a54e

app-admin/exo: add 1.78.1

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

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

diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index f02d614700b3..5b3c6b0880a4 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
 DIST exo-1.77.2.gh.tar.gz 11091512 BLAKE2B 
879dd3b8d6ce388efd52434dc5f26091360cb115c227dd47f5ece69ba3884b69715bdd2d503ce6145a7a368f19a19d822b16054f446fe70d7583041d494f14db
 SHA512 
7ca505b5f1dc974baab13b5b0ff650aafc5261b2b601f17e35a9f37198ec4d6a9179163f67da360a56d50f1bf2d5d233ef5c1836143a5a306d336a93df95f249
+DIST exo-1.78.1.gh.tar.gz 11082424 BLAKE2B 
35a822a44f95e36e6e1ec47f08d8087e387a5614e57f4cf19a87bddf0bf0d796892644b79553da271c72a2c98cf3865aeec73803730872706f3769fed5176daf
 SHA512 
84f32d19ccaae606f488609eb0f26c3b2195299e5a5714f9d472082297f50323da110b80c53a6f993bf92dd6b6aeb9e3452067525e568630dc41db283731ca79

diff --git a/app-admin/exo/exo-1.78.1.ebuild b/app-admin/exo/exo-1.78.1.ebuild
new file mode 100644
index 000000000000..43fbacd8aa32
--- /dev/null
+++ b/app-admin/exo/exo-1.78.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2024 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