commit:     b88c2049f3b25a45295654dcb2bc0a94dabaa005
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 21 21:47:01 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Dec 21 21:47:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88c2049

app-admin/exo: version bump to 1.49.2

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 app-admin/exo/Manifest          |  1 +
 app-admin/exo/exo-1.49.2.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index 9232d09acf9d..90a074b01aac 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
 DIST exo-1.49.1.tar.gz 5560772 BLAKE2B 
79856f48cada0edb0b36ce95993ed1abfb193efd0bf484fd2ea538bc0b9da84406564d4f7b7896a1f6d1ee09606a0baa2efc1fa417b7935ff4762c536229bd7c
 SHA512 
f52e39c51d97cf4026f0788aa8d15f19251a41fa210c6728bc79d022c9fe64346fd4bae35c8c7fbde2227285fc1abf949d785c7cef451f975d3dd61e5830f854
+DIST exo-1.49.2.tar.gz 5560650 BLAKE2B 
1fe332c26f39c792aa1c49f324ebd898d8481edc846356968adfeba6ccf807e5d4d169be6ed68f990adbb8f9f833fc68dae8236a8b0ea2c75ca7750517ba5530
 SHA512 
57a4c0f6b077526ee165cf0b8a7d38a0dbede3a10d5b78ec938c8e3fdd60623fda5ba4d795def5ef81d7d917910ab21999c8c8d4c9ef49a07508375d50eb6d4f

diff --git a/app-admin/exo/exo-1.49.2.ebuild b/app-admin/exo/exo-1.49.2.ebuild
new file mode 100644
index 000000000000..49b1772f318b
--- /dev/null
+++ b/app-admin/exo/exo-1.49.2.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}
+}

Reply via email to