diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2021-12-12 14:48:27 +0100 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2021-12-12 14:48:33 +0100 |
commit | 1f70ab7f39563cf4bc8c59d5cd6c7fe7b413ef90 (patch) | |
tree | 498c546994e7a219c3a919727cfe8e3291a16b7a /app-admin | |
parent | dev-python/nose: remove unused patch(es) (diff) | |
download | gentoo-1f70ab7f39563cf4bc8c59d5cd6c7fe7b413ef90.tar.gz gentoo-1f70ab7f39563cf4bc8c59d5cd6c7fe7b413ef90.tar.bz2 gentoo-1f70ab7f39563cf4bc8c59d5cd6c7fe7b413ef90.zip |
app-admin/exo: version bump to 1.49.1
Package-Manager: Portage-3.0.28, 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.49.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 28cac21f7e38..abdff646b111 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.49.0.tar.gz 5561287 BLAKE2B a438eaab7b2ed5b9bf719a45ad939fff4e39a9dea9e2a455ceb8fc1348cdd7838c6645435fb6b140cc8421751eca0257cac51d6a075d0ed8f4ec98d148628fd4 SHA512 6bff56f732866771a63eff6633160bfc0ea254a9bd79d2ebcb8c6398ea6d77359cd4d0a18fcdf2d329b7bd1b6791479672d2fab2816aa611f1bfa6ad9b9b99f5 +DIST exo-1.49.1.tar.gz 5560772 BLAKE2B 79856f48cada0edb0b36ce95993ed1abfb193efd0bf484fd2ea538bc0b9da84406564d4f7b7896a1f6d1ee09606a0baa2efc1fa417b7935ff4762c536229bd7c SHA512 f52e39c51d97cf4026f0788aa8d15f19251a41fa210c6728bc79d022c9fe64346fd4bae35c8c7fbde2227285fc1abf949d785c7cef451f975d3dd61e5830f854 diff --git a/app-admin/exo/exo-1.49.1.ebuild b/app-admin/exo/exo-1.49.1.ebuild new file mode 100644 index 000000000000..49b1772f318b --- /dev/null +++ b/app-admin/exo/exo-1.49.1.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} +} |