summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2023-03-17 11:54:19 +0100
committerAgostino Sarubbo <ago@gentoo.org>2023-03-17 11:54:19 +0100
commit813f7f656f7c6ed607019946c262ae3de25238ca (patch)
tree349d86a88a2d642919c9dd846e1749d5bff038d7 /app-admin
parentxfce-base/xfce4-settings: Remove old (diff)
downloadgentoo-813f7f656f7c6ed607019946c262ae3de25238ca.tar.gz
gentoo-813f7f656f7c6ed607019946c262ae3de25238ca.tar.bz2
gentoo-813f7f656f7c6ed607019946c262ae3de25238ca.zip
app-admin/exo: version bump to 1.66.0
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/exo/Manifest1
-rw-r--r--app-admin/exo/exo-1.66.0.ebuild36
2 files changed, 37 insertions, 0 deletions
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}
+}