commit:     499513d20d637636efb7836b28f0a63960b7ad1c
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 13 13:46:04 2023 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Mar 13 13:46:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=499513d2

app-admin/exo: version bump to 1.65.0

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

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

diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index 884d63f82234..80abe0864ea1 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
 DIST exo-1.64.0.gh.tar.gz 5538941 BLAKE2B 
c3c88c9f735d26dcb12b4314148afcc826af341068b6afbb821ed4e826aed81f80ca5ef613a1e5ca3a817db752904684e3ddfee44ed3a517cdb316b7852de0fb
 SHA512 
8fb6bc3df187d9bf1ca58c9d27489426364b7eef3729c83e9b83c7977d09b4a2f4870ec78499656f926738a51bca7d698b1e3c65a65f791689db257a00482413
+DIST exo-1.65.0.gh.tar.gz 5540778 BLAKE2B 
904d43a70d3aa27bb6fafca685d5bf01a9d918e2141d25266561016a91fc4609aebb15d5aa5e8f3cc771d0faf8ad69eddad58a64861d09295ef95b738b458f84
 SHA512 
48c5f70e7390edbfa8603d4eb9f94dc7654e3f2c861aaf8a1d75e18a9a27c101a020ddd61d6ed9a67698cbc0a851b772c40d871f4b2c0dca9948ea2f6767efbe

diff --git a/app-admin/exo/exo-1.65.0.ebuild b/app-admin/exo/exo-1.65.0.ebuild
new file mode 100644
index 000000000000..8b7ec86e5d08
--- /dev/null
+++ b/app-admin/exo/exo-1.65.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 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:="
+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