commit:     b725860250d49be380ea1e8d18bb5e08fd2dc0af
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 15 08:43:24 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Nov 15 08:43:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7258602

app-admin/exo: version bump to 1.47.1

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

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

diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index 538fb1e62dc2..566cfffb256c 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
 DIST exo-1.47.0.tar.gz 5552584 BLAKE2B 
3b6a776fdc3d227babab4a0d0679fc2a9eaef3f506d86becbe3af69d4652a0a09bf9e75730a3b9e26db38c94340e0aece5a3fd387a4952a1b429e3dde0e0e95c
 SHA512 
55487ac2a269da3672b7d5fb3b5f885ffe88b1eb79cb105565d669e16a45b3877780099cdce3033f16ee7ba6fadf4ad72a6b087d2522523b67aecbff4a7bf8cd
+DIST exo-1.47.1.tar.gz 5554646 BLAKE2B 
609e64a380145160ee849c9338f87db2e1f0866006e1bf0e567447035b39660872b173bfa38c0d101ceb990dacbabb7d5e3364bef37d363be8f0028fa0465741
 SHA512 
b4806ff23e00ba35bb284add105f2e8c38ea3006a195976447b87c57c8680076a7b5414c4ac12fe301da28bf32c6ae6d05ba3e9aad2995cb216997e90ba67133

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