Gentoo Archives: gentoo-commits

From: Agostino Sarubbo <ago@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/exo/
Date: Mon, 21 Feb 2022 13:21:01
Message-Id: 1645449652.73a354d64846bf96ee8a3d6f142ef3f40e4babf1.ago@gentoo
1 commit: 73a354d64846bf96ee8a3d6f142ef3f40e4babf1
2 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 21 13:20:52 2022 +0000
4 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 21 13:20:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73a354d6
7
8 app-admin/exo: version bump to 1.49.3
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
12
13 app-admin/exo/Manifest | 1 +
14 app-admin/exo/exo-1.49.3.ebuild | 36 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 37 insertions(+)
16
17 diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
18 index c1d034ebbb4c..b9132d4d9e68 100644
19 --- a/app-admin/exo/Manifest
20 +++ b/app-admin/exo/Manifest
21 @@ -1 +1,2 @@
22 DIST exo-1.49.2.tar.gz 5560650 BLAKE2B 1fe332c26f39c792aa1c49f324ebd898d8481edc846356968adfeba6ccf807e5d4d169be6ed68f990adbb8f9f833fc68dae8236a8b0ea2c75ca7750517ba5530 SHA512 57a4c0f6b077526ee165cf0b8a7d38a0dbede3a10d5b78ec938c8e3fdd60623fda5ba4d795def5ef81d7d917910ab21999c8c8d4c9ef49a07508375d50eb6d4f
23 +DIST exo-1.49.3.tar.gz 5565174 BLAKE2B bb21f29570016f9777d95f9dd92f6e1bd5eff237fb132a81f0f91b79f765461c9c123b62b983d6f2e7af64a475723c46be97a3ac646f7c5a89fc3aca4f972ef3 SHA512 be865bf423caeee8c479382bf579f18d7279b6ea16a97c800cca0ee56fa2bc584d4c4523ff4f70b6a097dbf9c9cce99764d2c95f662b14753f2cd131e043033b
24
25 diff --git a/app-admin/exo/exo-1.49.3.ebuild b/app-admin/exo/exo-1.49.3.ebuild
26 new file mode 100644
27 index 000000000000..6149acedfa18
28 --- /dev/null
29 +++ b/app-admin/exo/exo-1.49.3.ebuild
30 @@ -0,0 +1,36 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DESCRIPTION="Command-line tool for everything at Exoscale: compute, storage, dns"
37 +HOMEPAGE="https://github.com/exoscale/cli"
38 +SRC_URI="https://github.com/exoscale/cli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
39 +
40 +LICENSE="Apache-2.0"
41 +SLOT="0"
42 +KEYWORDS="~amd64"
43 +
44 +IUSE=""
45 +DEPEND="dev-lang/go:="
46 +RESTRICT="strip"
47 +QA_FLAGS_IGNORED=".*"
48 +
49 +S="${WORKDIR}/cli-${PV}"
50 +
51 +src_compile() {
52 + go build -mod vendor -o ${PN} || die "build failed"
53 +}
54 +
55 +src_test() {
56 + # run at least 'exo version' for test
57 + ./exo version > /dev/null 2>&1
58 + if [[ $? -ne 0 ]]
59 + then
60 + die "Test failed"
61 + fi
62 +}
63 +
64 +src_install() {
65 + dobin ${PN}
66 +}