commit: 2e73d23dd75000d36bf4d3165751238346bd90ab Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> AuthorDate: Tue Sep 6 12:36:21 2022 +0000 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> CommitDate: Tue Sep 6 12:36:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e73d23d
app-admin/exo: version bump to 1.59.1 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.59.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 8f06b20eaa0f..3c39dcbf7085 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.59.0.tar.gz 5614442 BLAKE2B 89e7d50e33b7883b697c168d31e376f240873f416045e00fc7918335b9fff497c809b4a6f9301e6f5e633586f59694e73b50a92fea1c16475df379fab9ee7abb SHA512 06789bbb845a06f0c2b185471989f4fffcaba8350c1d6b5b6398fe0dfbb6a2c2729aee8b464328ed95ba0b028de7c238a6343a132d40c57c0c9a7ed06695d4fe +DIST exo-1.59.1.tar.gz 5613767 BLAKE2B 4de26b6fc25d8ad9aec7c956716d557e8ee57fe19fa4aa286482d928d85a7b3c1ebef75ecc73ce747769d9cbd600a8e59d98eafad246a2451ced0969f9b3067b SHA512 c9364ef68fd93454fbc38df2ddcc7ffcc1bffd188411a3f1f5096e15b9684b4f680872d9fa40bd8208532ec8a14656bbebaaff04511330c9db67229d961eac07 diff --git a/app-admin/exo/exo-1.59.1.ebuild b/app-admin/exo/exo-1.59.1.ebuild new file mode 100644 index 000000000000..6149acedfa18 --- /dev/null +++ b/app-admin/exo/exo-1.59.1.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} +}
