1 |
commit: a015d614f1a95d22b6fc37a59f7974aa7b1e4616 |
2 |
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 22 13:31:36 2020 +0000 |
4 |
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 22 13:31:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a015d614 |
7 |
|
8 |
app-admin/exo: version bump to 1.22.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> |
12 |
|
13 |
app-admin/exo/Manifest | 1 + |
14 |
app-admin/exo/exo-1.22.2.ebuild | 36 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest |
18 |
index 0858b2d5d91..113e1c02222 100644 |
19 |
--- a/app-admin/exo/Manifest |
20 |
+++ b/app-admin/exo/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST exo-1.22.0.tar.gz 4684873 BLAKE2B a143517a99fde17c237c25dcdd4b54570d6ce9760157d24c8f09c26851b5fb65c6ac56506179a008f32cc657cf40fb781eb304375e3f3422a5166e6b1c194164 SHA512 f68d1524c8a1dc44aca4ab1999ebbc93a980a58344c1b39c68eb54b4651d9471b310541c2d34a43e67ad956ed93e2d3ce89c3ebeb450b620c641907684572799 |
23 |
+DIST exo-1.22.2.tar.gz 4684092 BLAKE2B ee5ddab06438cbc7d177796917c97649fefa35630a0d8012da53042098b639f5bd580a676e30567981f55e7fc9a512069804b7c45fddb739ca54c4702cc09955 SHA512 325f9a902de424d197583bf921528bc08fc8336030f7d3d5fe4571ab26ffbdf42bf602331302124c3be1103bf3b645f05e6729752295d5ceaa3cf88f802cde99 |
24 |
|
25 |
diff --git a/app-admin/exo/exo-1.22.2.ebuild b/app-admin/exo/exo-1.22.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..0c2c8d861fe |
28 |
--- /dev/null |
29 |
+++ b/app-admin/exo/exo-1.22.2.ebuild |
30 |
@@ -0,0 +1,36 @@ |
31 |
+# Copyright 1999-2020 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 |
+} |