diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2020-11-27 08:00:20 +0100 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2020-11-27 08:00:20 +0100 |
commit | 0986abf69eb0126bd153b1e00636327f8d1acaf7 (patch) | |
tree | 6fcab819a5f0ad81ab524ab521d8a2cdef45d1c5 /app-admin | |
parent | net-analyzer/monitoring-plugins: stabilize 2.2-r4 on x86 (diff) | |
download | gentoo-0986abf69eb0126bd153b1e00636327f8d1acaf7.tar.gz gentoo-0986abf69eb0126bd153b1e00636327f8d1acaf7.tar.bz2 gentoo-0986abf69eb0126bd153b1e00636327f8d1acaf7.zip |
app-admin/exo: version bump to 1.21.0
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/exo/Manifest | 1 | ||||
-rw-r--r-- | app-admin/exo/exo-1.21.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index ee4bb36884ce..0a854017f1d7 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.20.2.tar.gz 4623465 BLAKE2B 07d19c95e06ec0bc43d5d70d332be50dcba623740ea60316640bfeffa6f6378f6d57bc474a8accc10e685d9c5816acc9fef140fc47999a93dd3f42d982adf282 SHA512 9618973b3038e6bdce7cc8a324715d0a95bd75eb4d2c96919370ea3840b0cdda315cd8e1d26f6d56505a984d2de8606d97783072286143359c0b271d151181dd +DIST exo-1.21.0.tar.gz 4625218 BLAKE2B f73c18f1de5a8e8063e66ec11352d9221268289d298bb6ecaa9cb625c00685b68d0f7760614df8cf783bb123bbdb52d3fd9d8c482933445bb089d6e9d493882c SHA512 0a2279ef368e13286082813ebbae38cd5c2e185e43e5d2b2fb851382be8b8a5c08512124638d987401d0e821042bafba50f955a672eec6ce0951f0149d2ec34a diff --git a/app-admin/exo/exo-1.21.0.ebuild b/app-admin/exo/exo-1.21.0.ebuild new file mode 100644 index 000000000000..0c2c8d861fe4 --- /dev/null +++ b/app-admin/exo/exo-1.21.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Command-line tool for everything at Exoscale: compute, storage, dns." +HOMEPAGE="https://github.com/exoscale/cli" +SRC_URI="https://github.com/exoscale/cli/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" +DEPEND="dev-lang/go:=" +RESTRICT="strip" +QA_FLAGS_IGNORED=".*" + +S="${WORKDIR}/cli-${PV}" + +src_compile() { + go build -mod vendor -o ${PN} || die "build failed" +} + +src_test() { + # run at least 'exo version' for test + ./exo version > /dev/null 2>&1 + if [[ $? -ne 0 ]] + then + die "Test failed" + fi +} + +src_install() { + dobin ${PN} +} |