commit:     9d24e05a30512ac1c403fad95e1233a6f19e1b0b
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  8 09:56:39 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Nov  8 09:56:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d24e05a

app-admin/exo: version bump to 1.60.0

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

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

diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index a5442946f0ea..f29f5fc78472 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
 DIST exo-1.59.3.tar.gz 5505533 BLAKE2B 
a49e7118f9c8b201a3baeeeb8735ada48bb541cd8be266bee9fc0e59825db00559869a29087bd20a711db5b3d1c91b6437119c1b5a49d9080044fef48b9ba836
 SHA512 
50146ad59c495235da44be5d7043ca45cba782b1a0a84e6f1ad3b85e1064c52e50d8696622d689a6e1b5f0e70b1f91e2a34aa5c9ba77a9b59e6552acb511282e
+DIST exo-1.60.0.tar.gz 5506221 BLAKE2B 
5b3f424e8572f33b5571582de7c2154edd8d52c9225947623b83bcf6d93dd32529785602aa89184c0083c1a2c7c5a7541ba847d5e6849c53033bebcb210fa3f6
 SHA512 
18041184e14b5f353477331f9f4fe83834f73e5996ba8124b109518dcaaf3d36b8e8727a011603c4a5e7836f9d4d7380041665317598d470f0456dfb87f2e284

diff --git a/app-admin/exo/exo-1.60.0.ebuild b/app-admin/exo/exo-1.60.0.ebuild
new file mode 100644
index 000000000000..6149acedfa18
--- /dev/null
+++ b/app-admin/exo/exo-1.60.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 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}
+}

Reply via email to