diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2021-12-01 10:29:18 +0100 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2021-12-01 10:29:18 +0100 |
commit | 40aca6296a38052613439e2639e92d002b482cc9 (patch) | |
tree | 1afbf5d30732e53eb70473b9d0deef45f8d2a3d0 /app-admin | |
parent | app-misc/delay: keyword for ~arm64 (diff) | |
download | gentoo-40aca6296a38052613439e2639e92d002b482cc9.tar.gz gentoo-40aca6296a38052613439e2639e92d002b482cc9.tar.bz2 gentoo-40aca6296a38052613439e2639e92d002b482cc9.zip |
app-admin/exo: version bump to 1.48.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3
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.48.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 2c2c575ea7b4..625e69c44f0e 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.47.2.tar.gz 5553730 BLAKE2B 2e5b6b67f148c35978ec0c81c80c839cff22168d0d509e009784555e6eb91e36d629126844714fd9c2b5011f9dc84c7d57236f59b473d079e651d5645984e5be SHA512 00f25b403d4aafd32a5fc1a8d46898b1c58b6a491b83f3f282e3b9d0742b54959e988aceda8262a7379f5ca683cab9dc3c3a547e7b9700ce0fa0f777d71a1935 +DIST exo-1.48.0.tar.gz 5560972 BLAKE2B 33b1dc2f10e0dfef75a8a5e0c73e39ad01301384f17fdef6c71a91c8131767a4d5287aea593918459e42dc187f526ec0bbfa920e44168d10031369991edf2ace SHA512 0317433e04c872cc93c0a44d0d2d838144176c8a9a783d7795cabc45e8a65da795aed0ec8c0da792067980e90c9012350036b1961ee982bed2205b6cd9edac0d diff --git a/app-admin/exo/exo-1.48.0.ebuild b/app-admin/exo/exo-1.48.0.ebuild new file mode 100644 index 000000000000..49b1772f318b --- /dev/null +++ b/app-admin/exo/exo-1.48.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 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} +} |