commit:     6c31a4f07416ed4ee22e6bf729bcb7bc3aaf097e
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 28 15:46:50 2024 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Mar 28 15:46:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c31a4f0

app-admin/exo: version bump to 1.76.2

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

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

diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index 142df76c673a..10ac897ccf3c 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
 DIST exo-1.76.0.gh.tar.gz 10892774 BLAKE2B 
836aeb6442e9d30d26d9e4e817de42b01d54e739ec77f90ff683d9a2e33830593ae5c0b828267b52f87b451e8ff7b1a207fa60c89c5443adef3e2efb5f6321ab
 SHA512 
861ac2b2a2bbeb7d0b3cc829d2399be1f57b500656a178692b1d73ff78cdaa784c87c775061eedaf28eace68754935b855c4e927133b298b01f3bf79fa4b6675
+DIST exo-1.76.2.gh.tar.gz 10901510 BLAKE2B 
4563eda367563077f50aa19bc65a477c3e7466ddff2e29953ff141bad24200beb742bf0106f1392365f1980dc4ac8e0c5a6ea21fc0190df13bace95f8eb0ee14
 SHA512 
a498f29dc6e563bd1e59bf69998d460ef623d681131a8fc7e64c906f154da2847f8b1593d7f6800afdc55d818adea86beafbdb3643e3965aed5fa546989fa4ad

diff --git a/app-admin/exo/exo-1.76.2.ebuild b/app-admin/exo/exo-1.76.2.ebuild
new file mode 100644
index 000000000000..832c2c26b861
--- /dev/null
+++ b/app-admin/exo/exo-1.76.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE=""
+DEPEND=">=dev-lang/go-1.16:="
+RESTRICT="strip"
+QA_FLAGS_IGNORED=".*"
+
+S="${WORKDIR}/cli-${PV}"
+
+src_compile() {
+       go build -mod vendor -o ${PN} -ldflags "-X main.version=${PVR}-gentoo 
-X main.commit=" || 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}
+}

Reply via email to