summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2021-12-10 10:38:30 +0100
committerAgostino Sarubbo <ago@gentoo.org>2021-12-10 10:38:30 +0100
commit99fd2d87084d4334b8fb8d7a7cb3ea18e2da13c9 (patch)
tree016827f8a0ee7bc9e46d1ddc26e537e0154b8658 /app-admin/exo
parentsys-devel/bmake: drop 20211001 (diff)
downloadgentoo-99fd2d87084d4334b8fb8d7a7cb3ea18e2da13c9.tar.gz
gentoo-99fd2d87084d4334b8fb8d7a7cb3ea18e2da13c9.tar.bz2
gentoo-99fd2d87084d4334b8fb8d7a7cb3ea18e2da13c9.zip
app-admin/exo: version bump to 1.49.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3 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.49.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index fac31c69392a..e71440ac4d12 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
DIST exo-1.48.0.tar.gz 5560972 BLAKE2B 33b1dc2f10e0dfef75a8a5e0c73e39ad01301384f17fdef6c71a91c8131767a4d5287aea593918459e42dc187f526ec0bbfa920e44168d10031369991edf2ace SHA512 0317433e04c872cc93c0a44d0d2d838144176c8a9a783d7795cabc45e8a65da795aed0ec8c0da792067980e90c9012350036b1961ee982bed2205b6cd9edac0d
+DIST exo-1.49.0.tar.gz 5561287 BLAKE2B a438eaab7b2ed5b9bf719a45ad939fff4e39a9dea9e2a455ceb8fc1348cdd7838c6645435fb6b140cc8421751eca0257cac51d6a075d0ed8f4ec98d148628fd4 SHA512 6bff56f732866771a63eff6633160bfc0ea254a9bd79d2ebcb8c6398ea6d77359cd4d0a18fcdf2d329b7bd1b6791479672d2fab2816aa611f1bfa6ad9b9b99f5
diff --git a/app-admin/exo/exo-1.49.0.ebuild b/app-admin/exo/exo-1.49.0.ebuild
new file mode 100644
index 000000000000..49b1772f318b
--- /dev/null
+++ b/app-admin/exo/exo-1.49.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 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}
+}