summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2023-07-26 15:19:46 +0200
committerAgostino Sarubbo <ago@gentoo.org>2023-07-26 15:19:46 +0200
commit8d282e594080dade8ba30ca8ffa6a8c0c0d49d87 (patch)
treeae6f85f15e60ad06626b7ebdbe6fa7f9f7a14dfc /app-admin
parentdev-util/idea-community: drop 2023.1.4 (diff)
downloadgentoo-8d282e594080dade8ba30ca8ffa6a8c0c0d49d87.tar.gz
gentoo-8d282e594080dade8ba30ca8ffa6a8c0c0d49d87.tar.bz2
gentoo-8d282e594080dade8ba30ca8ffa6a8c0c0d49d87.zip
app-admin/exo: version bump to 1.71.2
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.71.2.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index 3d4cf82a770a..1d3009283754 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
DIST exo-1.71.0.gh.tar.gz 5884112 BLAKE2B fdd1dcd4d2a7fa32ac65af6ae45a3d5abc7b6650a16578f1b693d3ed56335342ee171c22609db981463a7d5c428a42a8dc960707261bd667d56d35cd18aa4c4c SHA512 43b79bd287bb6fb0bd2d15b0b54b835b203587b67b4f17efaf1b193e2daa78884d252d57d434ad16fd881f20217762393771c9821ca88e9d494fead1da3cf0b2
+DIST exo-1.71.2.gh.tar.gz 5882010 BLAKE2B 11411544ae41b63f5236ae0710a4991edac2ab8a358752c409006818f3beee8d834f2270d9416a79fc3b90a6e9286f783f6c1a5dea18fc89ac8fa32fd909fcdb SHA512 58ed35125e7b0d86b43370f5361031a2229031766d5960b8620cd36314b006952ac3ca1f33e9548d0fdd6fbf5bc1a3ae3291ef712ad610bf4eb7e32273d9bc10
diff --git a/app-admin/exo/exo-1.71.2.ebuild b/app-admin/exo/exo-1.71.2.ebuild
new file mode 100644
index 000000000000..aee98d607c89
--- /dev/null
+++ b/app-admin/exo/exo-1.71.2.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}
+}