commit: bc5f7d6f77ff76cb01e99aa54e8be5ffaec73ac3 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> AuthorDate: Fri Apr 21 09:03:18 2023 +0000 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> CommitDate: Fri Apr 21 09:03:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc5f7d6f
app-admin/exo: version bump to 1.67.0 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.67.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 1ac14f2c1641..8a3ee51347b6 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.66.0.gh.tar.gz 5543430 BLAKE2B 26b52cfb118219fa4ee1203cf96c5cbe321eaee86ddbca31ecc9ceb287744b08cbeed659dbb54f8ffa4deadcb03fdea810c24dea11dd1cbbb3f1d1aa3220669e SHA512 3886f2e73d8a6ae41cbbdeb390c4f3036537249d61507cf7e397feeb588bfa70498a49e379933bffe16ef5b7df2018f1b5e975717adb8c65efb8c077a411d15d +DIST exo-1.67.0.gh.tar.gz 5547755 BLAKE2B 34d72dda795ee79513bbeb84ec26ae23805e108256eec39ff78e0b92dee67902762ae112229b307d3ce1f61e978977505ae7a96c87a71bbd4c0b154be4b7612c SHA512 2fcc2248b9ffdfead1eb5ed84560bd9f28bf5a16d5b00b7106a16b91571176689e3de37c8d89580ac73e12191843eba01a22d93c752070a7912acd37412c437f diff --git a/app-admin/exo/exo-1.67.0.ebuild b/app-admin/exo/exo-1.67.0.ebuild new file mode 100644 index 000000000000..8b7ec86e5d08 --- /dev/null +++ b/app-admin/exo/exo-1.67.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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}.gh.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} -ldflags "-X main.version=${PVR}-gentoo -X main.commit=" || 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} +}