1 |
commit: f06a3bb600ab7734f63a50e1040b4ae8de619ff6 |
2 |
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 07:15:03 2022 +0000 |
4 |
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 07:15:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06a3bb6 |
7 |
|
8 |
app-admin/exo: version bump to 1.53.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, 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.53.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 0a94e8d86f1c..a60cd34412b3 100644 |
19 |
--- a/app-admin/exo/Manifest |
20 |
+++ b/app-admin/exo/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST exo-1.52.1.tar.gz 5594576 BLAKE2B c8cd5011014b9eee899afe7cdd1d45708be221d33772c858c5fb4d62ece0ecec3cdef0aa106c9ce2b0604cb9735cc17674f65274f88becb6c6f7eaaf2643d29f SHA512 25612b8dfd1ce55a1860f75357977ca8cccd0b24860eb091a203c84895c449b59ee5788e6a9e71168cf1927d3d6584cd5f379a3e32565215dcc1ea7210d38714 |
23 |
+DIST exo-1.53.0.tar.gz 5597243 BLAKE2B ed9536a3e62b8344aef4d5a3edb3948615b96360bd302c90c16ba366eeb50a869200de39de45f3fbd6a1a3dfff7e42622720dffcbb91cb9c0cdf402f6eac8a2d SHA512 471c7024cdddb7734218fc942bb38593de759d408c859c135672d7bbf870c554dabb6eaf216ca20616e0b2d4eea487731f2142b39fda7daea5104f077bce99a1 |
24 |
|
25 |
diff --git a/app-admin/exo/exo-1.53.0.ebuild b/app-admin/exo/exo-1.53.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..6149acedfa18 |
28 |
--- /dev/null |
29 |
+++ b/app-admin/exo/exo-1.53.0.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 |
+} |