1 |
commit: 40aca6296a38052613439e2639e92d002b482cc9 |
2 |
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 1 09:29:18 2021 +0000 |
4 |
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 1 09:29:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40aca629 |
7 |
|
8 |
app-admin/exo: version bump to 1.48.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, 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.48.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest |
18 |
index 2c2c575ea7b4..625e69c44f0e 100644 |
19 |
--- a/app-admin/exo/Manifest |
20 |
+++ b/app-admin/exo/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST exo-1.47.2.tar.gz 5553730 BLAKE2B 2e5b6b67f148c35978ec0c81c80c839cff22168d0d509e009784555e6eb91e36d629126844714fd9c2b5011f9dc84c7d57236f59b473d079e651d5645984e5be SHA512 00f25b403d4aafd32a5fc1a8d46898b1c58b6a491b83f3f282e3b9d0742b54959e988aceda8262a7379f5ca683cab9dc3c3a547e7b9700ce0fa0f777d71a1935 |
23 |
+DIST exo-1.48.0.tar.gz 5560972 BLAKE2B 33b1dc2f10e0dfef75a8a5e0c73e39ad01301384f17fdef6c71a91c8131767a4d5287aea593918459e42dc187f526ec0bbfa920e44168d10031369991edf2ace SHA512 0317433e04c872cc93c0a44d0d2d838144176c8a9a783d7795cabc45e8a65da795aed0ec8c0da792067980e90c9012350036b1961ee982bed2205b6cd9edac0d |
24 |
|
25 |
diff --git a/app-admin/exo/exo-1.48.0.ebuild b/app-admin/exo/exo-1.48.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..49b1772f318b |
28 |
--- /dev/null |
29 |
+++ b/app-admin/exo/exo-1.48.0.ebuild |
30 |
@@ -0,0 +1,36 @@ |
31 |
+# Copyright 1999-2021 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 |
+} |