summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2023-07-05 16:56:08 +0200
committerAgostino Sarubbo <ago@gentoo.org>2023-07-05 16:56:08 +0200
commitf260f6d7df9e5ab4f0d5e9aada7ab93d561a9a3f (patch)
treeeda390c3b127580bf32f626ac59c55e22704a26b /app-admin/exo
parentnet-misc/xmrig: add 6.20.0 (diff)
downloadgentoo-f260f6d7df9e5ab4f0d5e9aada7ab93d561a9a3f.tar.gz
gentoo-f260f6d7df9e5ab4f0d5e9aada7ab93d561a9a3f.tar.bz2
gentoo-f260f6d7df9e5ab4f0d5e9aada7ab93d561a9a3f.zip
app-admin/exo: version bump to 1.71.0
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin/exo')
-rw-r--r--app-admin/exo/Manifest1
-rw-r--r--app-admin/exo/exo-1.71.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index 758fafdda362..d53dc067f77a 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
DIST exo-1.70.0.gh.tar.gz 5878972 BLAKE2B c62f5fad1552bfce99d4a171d44783add090792d151d6339415fbb3015a1085be1c9025a4a874910ff60bd2f03a0d84fdf858598fb0cfa5745e101489117cd9a SHA512 19320be04f409e4424c1451919873499a90570d73aa04a6e3106c6271febf62e126ccad7cb1f2514ec5724bdf03a3794f2aff3789d95b0ee85998f3c5602f263
+DIST exo-1.71.0.gh.tar.gz 5884112 BLAKE2B fdd1dcd4d2a7fa32ac65af6ae45a3d5abc7b6650a16578f1b693d3ed56335342ee171c22609db981463a7d5c428a42a8dc960707261bd667d56d35cd18aa4c4c SHA512 43b79bd287bb6fb0bd2d15b0b54b835b203587b67b4f17efaf1b193e2daa78884d252d57d434ad16fd881f20217762393771c9821ca88e9d494fead1da3cf0b2
diff --git a/app-admin/exo/exo-1.71.0.ebuild b/app-admin/exo/exo-1.71.0.ebuild
new file mode 100644
index 000000000000..aee98d607c89
--- /dev/null
+++ b/app-admin/exo/exo-1.71.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-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}
+}