commit: 46ed9e5acbc772f224bbab706b48db4cd5d3f4e4 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> AuthorDate: Mon Oct 28 15:09:36 2024 +0000 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> CommitDate: Mon Oct 28 15:09:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ed9e5a
app-admin/exo: add 1.80.0 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.80.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 8e4b5506ddc1..f648da0221ec 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.79.1.gh.tar.gz 11133670 BLAKE2B ffaf536258b48604655a4b35b66b85a723161bc00be14b4637e955dde3dd557bf23e748729b27c6b4d4a44d38ecf43b00fa3c432f7116a926dbc064f9e25e861 SHA512 39bb0b3ed254fb26a08e1968728091c63806d3022cb97686600c5856e3afea3094662ce31e503037b2333cd6ad2a4e5bcbb697f63fe71fd5adac327c325090a2 +DIST exo-1.80.0.gh.tar.gz 11144829 BLAKE2B 9ce60c9039129d651e3da9d707e5c4b34e751d46e928778fbf9b884fb5ba366dda1ff10f748a0c8c5e0461c7a0229b5cb6ee497a383820c68859a93c1d76f555 SHA512 e2dbf97704e5ee5e38b70216f0ea071446e29573ff16d34f75bfd4e51eb3d9c65b761d8d1299a750c5906043b2a09d463ca811da1816b7fe74382aaf942ccdb9 diff --git a/app-admin/exo/exo-1.80.0.ebuild b/app-admin/exo/exo-1.80.0.ebuild new file mode 100644 index 000000000000..43fbacd8aa32 --- /dev/null +++ b/app-admin/exo/exo-1.80.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +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" +S="${WORKDIR}/cli-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=">=dev-lang/go-1.16:=" +RESTRICT="strip" + +src_compile() { + ego build -mod vendor -o ${PN} -ldflags "-X main.version=${PVR}-gentoo -X main.commit=" +} + +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} +}
