commit:     813f7f656f7c6ed607019946c262ae3de25238ca
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 10:54:19 2023 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 10:54:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=813f7f65

app-admin/exo: version bump to 1.66.0

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

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

diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index 2443cc0bd8b3..f5608765b6ad 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
 DIST exo-1.65.0.gh.tar.gz 5540778 BLAKE2B 
904d43a70d3aa27bb6fafca685d5bf01a9d918e2141d25266561016a91fc4609aebb15d5aa5e8f3cc771d0faf8ad69eddad58a64861d09295ef95b738b458f84
 SHA512 
48c5f70e7390edbfa8603d4eb9f94dc7654e3f2c861aaf8a1d75e18a9a27c101a020ddd61d6ed9a67698cbc0a851b772c40d871f4b2c0dca9948ea2f6767efbe
+DIST exo-1.66.0.gh.tar.gz 5543430 BLAKE2B 
26b52cfb118219fa4ee1203cf96c5cbe321eaee86ddbca31ecc9ceb287744b08cbeed659dbb54f8ffa4deadcb03fdea810c24dea11dd1cbbb3f1d1aa3220669e
 SHA512 
3886f2e73d8a6ae41cbbdeb390c4f3036537249d61507cf7e397feeb588bfa70498a49e379933bffe16ef5b7df2018f1b5e975717adb8c65efb8c077a411d15d

diff --git a/app-admin/exo/exo-1.66.0.ebuild b/app-admin/exo/exo-1.66.0.ebuild
new file mode 100644
index 000000000000..8b7ec86e5d08
--- /dev/null
+++ b/app-admin/exo/exo-1.66.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