diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2022-05-04 15:29:16 +0200 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2022-05-04 15:29:16 +0200 |
commit | 7e3c0f21e6ea5b3458808e6ca4d5355d191cfe6d (patch) | |
tree | d6eee23d456297b0e8762ef5707aff097a8fe1a2 /app-admin/exo | |
parent | sys-libs/libblockdev: x86 stable wrt bug #842042 (diff) | |
download | gentoo-7e3c0f21e6ea5b3458808e6ca4d5355d191cfe6d.tar.gz gentoo-7e3c0f21e6ea5b3458808e6ca4d5355d191cfe6d.tar.bz2 gentoo-7e3c0f21e6ea5b3458808e6ca4d5355d191cfe6d.zip |
app-admin/exo: version bump to 1.54.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.54.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 0a8f1276fb12..21d0d3915d5b 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.53.0.tar.gz 5597243 BLAKE2B ed9536a3e62b8344aef4d5a3edb3948615b96360bd302c90c16ba366eeb50a869200de39de45f3fbd6a1a3dfff7e42622720dffcbb91cb9c0cdf402f6eac8a2d SHA512 471c7024cdddb7734218fc942bb38593de759d408c859c135672d7bbf870c554dabb6eaf216ca20616e0b2d4eea487731f2142b39fda7daea5104f077bce99a1 +DIST exo-1.54.0.tar.gz 5596697 BLAKE2B 2cfc0b9eb8775d16311b8d6a2745bb8a59ec52e15f9006732a272cc949faa919d03f86e7031d18d7cd7fc95f71a7092f54f9bfddd827642ff99f2705f7c66af0 SHA512 5a49d13cf7e96980cb0077da199497e0d0a0b4dc4697327466b272f7e65d4e9bcc37dfd5368df8733eac70a5ae494c5890b4f08e625573bdae92300cf0ff5ca3 diff --git a/app-admin/exo/exo-1.54.0.ebuild b/app-admin/exo/exo-1.54.0.ebuild new file mode 100644 index 000000000000..6149acedfa18 --- /dev/null +++ b/app-admin/exo/exo-1.54.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} +} |