summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2022-06-20 12:49:20 +0200
committerAgostino Sarubbo <ago@gentoo.org>2022-06-20 12:49:20 +0200
commitee4872671e7b9be8af0b5e7d15d187e3298e22f2 (patch)
treee0e933f19e3de8ec9842cfe41e2505ceef71c41f /app-admin
parentsci-libs/scotch: drop 6.1.0, 6.1.0-r1, 6.1.1 (diff)
downloadgentoo-ee4872671e7b9be8af0b5e7d15d187e3298e22f2.tar.gz
gentoo-ee4872671e7b9be8af0b5e7d15d187e3298e22f2.tar.bz2
gentoo-ee4872671e7b9be8af0b5e7d15d187e3298e22f2.zip
app-admin/exo: version bump to 1.57.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3 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.57.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index d4ff5537a8a7..1200406348e7 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
DIST exo-1.56.0.tar.gz 5602569 BLAKE2B 8bf3b9805d459ce01a7e54d4bfa215c031354992c1b632a78f1b7084497574bd0900ff02592e5cf788b58d06317d3ef03460bd971d3b37339d531bb5b5710a15 SHA512 a6747231f2dd1cdf3ade56d0d62013c2eeb2977c30db53879cf1deb3ca5a8be93bfd89288d7be75aaaa8e47c90946e0b31bc95c7a0fa4a924dbef87931b1bb1d
+DIST exo-1.57.0.tar.gz 5604952 BLAKE2B c994b5f8c80985abab21d640195b4c91c7434a28f04e14773402fcf028a2ff83d4d6cf4b0654ba3e4d2db2fb6a82e8cd047ca51ecfaad003aa5e8d8b4b746e33 SHA512 46e64257d865e4b2d6211e587a976ac8ce04de897884ed97b978356051d366820029df8547ad65d0b98bee422da15dbe48373079161e4c2157b58b439097a0ac
diff --git a/app-admin/exo/exo-1.57.0.ebuild b/app-admin/exo/exo-1.57.0.ebuild
new file mode 100644
index 000000000000..6149acedfa18
--- /dev/null
+++ b/app-admin/exo/exo-1.57.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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}.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} || 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}
+}