1 |
commit: 8ab149641f2b2bed15b2cc7603366180a0f48aa3 |
2 |
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 9 14:21:16 2020 +0000 |
4 |
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 9 14:21:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ab14964 |
7 |
|
8 |
app-admin/exo: version bump to 1.19.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> |
12 |
|
13 |
app-admin/exo/Manifest | 1 + |
14 |
app-admin/exo/exo-1.19.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 ac797edb64c..bf0c96185c4 100644 |
19 |
--- a/app-admin/exo/Manifest |
20 |
+++ b/app-admin/exo/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST exo-1.18.0.tar.gz 4625622 BLAKE2B 618aec5cec7a41f06963d728c627f043f08ba39695691154118261a6fb71bac93cdb07b039e74e05a464227dca4da66c17c4c319553894f2d46af6203a36a038 SHA512 862dd138a6b6cbf9471206a07cf4447df113a77f44523e72e89a1f87362086fa168ded51d43c32408946b8cf2d6cb9668ff29818494a2eb6d94b0ef7d3bf4420 |
23 |
+DIST exo-1.19.0.tar.gz 4624195 BLAKE2B 49b1e39ac7a9893620b9694d088a5d8681602c51f25288f9ace5ee7ea5f213626e9c5a3817f8e26a0608446c79e175db98a83bca270a9d6d6914f57ccc8e4478 SHA512 acd0b11b5f858288601f32254647e0d2d79f06a79b5b4fe7d6dc72b5f6040b5e52d88648d5eb574bbec7cb47e80358c368369d569255773048ee4e54f4d14dea |
24 |
|
25 |
diff --git a/app-admin/exo/exo-1.19.0.ebuild b/app-admin/exo/exo-1.19.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..0c2c8d861fe |
28 |
--- /dev/null |
29 |
+++ b/app-admin/exo/exo-1.19.0.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 |
+} |