1 |
commit: 315aa0c533593e799c001d56f2d29c4afd2d1917 |
2 |
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 25 15:01:14 2021 +0000 |
4 |
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 25 15:01:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315aa0c5 |
7 |
|
8 |
app-admin/exo: version bump to 1.47.2 |
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.47.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 4a615f801d4c..78dfe1389666 100644 |
19 |
--- a/app-admin/exo/Manifest |
20 |
+++ b/app-admin/exo/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST exo-1.47.1.tar.gz 5554646 BLAKE2B 609e64a380145160ee849c9338f87db2e1f0866006e1bf0e567447035b39660872b173bfa38c0d101ceb990dacbabb7d5e3364bef37d363be8f0028fa0465741 SHA512 b4806ff23e00ba35bb284add105f2e8c38ea3006a195976447b87c57c8680076a7b5414c4ac12fe301da28bf32c6ae6d05ba3e9aad2995cb216997e90ba67133 |
23 |
+DIST exo-1.47.2.tar.gz 5553730 BLAKE2B 2e5b6b67f148c35978ec0c81c80c839cff22168d0d509e009784555e6eb91e36d629126844714fd9c2b5011f9dc84c7d57236f59b473d079e651d5645984e5be SHA512 00f25b403d4aafd32a5fc1a8d46898b1c58b6a491b83f3f282e3b9d0742b54959e988aceda8262a7379f5ca683cab9dc3c3a547e7b9700ce0fa0f777d71a1935 |
24 |
|
25 |
diff --git a/app-admin/exo/exo-1.47.2.ebuild b/app-admin/exo/exo-1.47.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..49b1772f318b |
28 |
--- /dev/null |
29 |
+++ b/app-admin/exo/exo-1.47.2.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 |
+} |