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: Tue, 08 Nov 2022 09:56:59
Message-Id: 1667901399.9d24e05a30512ac1c403fad95e1233a6f19e1b0b.ago@gentoo
1 commit: 9d24e05a30512ac1c403fad95e1233a6f19e1b0b
2 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 8 09:56:39 2022 +0000
4 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 8 09:56:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d24e05a
7
8 app-admin/exo: version bump to 1.60.0
9
10 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
11
12 app-admin/exo/Manifest | 1 +
13 app-admin/exo/exo-1.60.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
17 index a5442946f0ea..f29f5fc78472 100644
18 --- a/app-admin/exo/Manifest
19 +++ b/app-admin/exo/Manifest
20 @@ -1 +1,2 @@
21 DIST exo-1.59.3.tar.gz 5505533 BLAKE2B a49e7118f9c8b201a3baeeeb8735ada48bb541cd8be266bee9fc0e59825db00559869a29087bd20a711db5b3d1c91b6437119c1b5a49d9080044fef48b9ba836 SHA512 50146ad59c495235da44be5d7043ca45cba782b1a0a84e6f1ad3b85e1064c52e50d8696622d689a6e1b5f0e70b1f91e2a34aa5c9ba77a9b59e6552acb511282e
22 +DIST exo-1.60.0.tar.gz 5506221 BLAKE2B 5b3f424e8572f33b5571582de7c2154edd8d52c9225947623b83bcf6d93dd32529785602aa89184c0083c1a2c7c5a7541ba847d5e6849c53033bebcb210fa3f6 SHA512 18041184e14b5f353477331f9f4fe83834f73e5996ba8124b109518dcaaf3d36b8e8727a011603c4a5e7836f9d4d7380041665317598d470f0456dfb87f2e284
23
24 diff --git a/app-admin/exo/exo-1.60.0.ebuild b/app-admin/exo/exo-1.60.0.ebuild
25 new file mode 100644
26 index 000000000000..6149acedfa18
27 --- /dev/null
28 +++ b/app-admin/exo/exo-1.60.0.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DESCRIPTION="Command-line tool for everything at Exoscale: compute, storage, dns"
36 +HOMEPAGE="https://github.com/exoscale/cli"
37 +SRC_URI="https://github.com/exoscale/cli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
38 +
39 +LICENSE="Apache-2.0"
40 +SLOT="0"
41 +KEYWORDS="~amd64"
42 +
43 +IUSE=""
44 +DEPEND="dev-lang/go:="
45 +RESTRICT="strip"
46 +QA_FLAGS_IGNORED=".*"
47 +
48 +S="${WORKDIR}/cli-${PV}"
49 +
50 +src_compile() {
51 + go build -mod vendor -o ${PN} || die "build failed"
52 +}
53 +
54 +src_test() {
55 + # run at least 'exo version' for test
56 + ./exo version > /dev/null 2>&1
57 + if [[ $? -ne 0 ]]
58 + then
59 + die "Test failed"
60 + fi
61 +}
62 +
63 +src_install() {
64 + dobin ${PN}
65 +}