diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2022-06-14 11:48:47 +0200 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2022-06-14 11:48:47 +0200 |
commit | 9af08f6c56f478f6aa4aa569d948206dd6d023d3 (patch) | |
tree | e4aeb3a3868f056396e1daac5c91fce15bfe32f3 /app-admin/exo | |
parent | www-client/microsoft-edge: remove old (diff) | |
download | gentoo-9af08f6c56f478f6aa4aa569d948206dd6d023d3.tar.gz gentoo-9af08f6c56f478f6aa4aa569d948206dd6d023d3.tar.bz2 gentoo-9af08f6c56f478f6aa4aa569d948206dd6d023d3.zip |
app-admin/exo: version bump to 1.56.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin/exo')
-rw-r--r-- | app-admin/exo/Manifest | 1 | ||||
-rw-r--r-- | app-admin/exo/exo-1.56.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index e370c87db8e9..ca6cd78748eb 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.54.0.tar.gz 5596697 BLAKE2B 2cfc0b9eb8775d16311b8d6a2745bb8a59ec52e15f9006732a272cc949faa919d03f86e7031d18d7cd7fc95f71a7092f54f9bfddd827642ff99f2705f7c66af0 SHA512 5a49d13cf7e96980cb0077da199497e0d0a0b4dc4697327466b272f7e65d4e9bcc37dfd5368df8733eac70a5ae494c5890b4f08e625573bdae92300cf0ff5ca3 +DIST exo-1.56.0.tar.gz 5602569 BLAKE2B 8bf3b9805d459ce01a7e54d4bfa215c031354992c1b632a78f1b7084497574bd0900ff02592e5cf788b58d06317d3ef03460bd971d3b37339d531bb5b5710a15 SHA512 a6747231f2dd1cdf3ade56d0d62013c2eeb2977c30db53879cf1deb3ca5a8be93bfd89288d7be75aaaa8e47c90946e0b31bc95c7a0fa4a924dbef87931b1bb1d diff --git a/app-admin/exo/exo-1.56.0.ebuild b/app-admin/exo/exo-1.56.0.ebuild new file mode 100644 index 000000000000..6149acedfa18 --- /dev/null +++ b/app-admin/exo/exo-1.56.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 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} +} |