From 5dd2884d3e7fa4bb62305a96650685fa670ddc5f Mon Sep 17 00:00:00 2001 From: Agostino Sarubbo Date: Mon, 22 Apr 2024 15:25:46 +0200 Subject: app-admin/exo: version bump to 1.77.1 Signed-off-by: Agostino Sarubbo --- app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.77.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 app-admin/exo/exo-1.77.1.ebuild (limited to 'app-admin') diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index a981a07711e3..3fd23115f3e3 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.76.2.gh.tar.gz 10901510 BLAKE2B 4563eda367563077f50aa19bc65a477c3e7466ddff2e29953ff141bad24200beb742bf0106f1392365f1980dc4ac8e0c5a6ea21fc0190df13bace95f8eb0ee14 SHA512 a498f29dc6e563bd1e59bf69998d460ef623d681131a8fc7e64c906f154da2847f8b1593d7f6800afdc55d818adea86beafbdb3643e3965aed5fa546989fa4ad +DIST exo-1.77.1.gh.tar.gz 11091028 BLAKE2B 0aa0f82cff7e3807bd5237fc9c8f77583eb98c8b10a6c49a529c19f95017e60a752478e093f072f5e7b52b2f9b7386a60786f40938d43f0cef996d77fa969c38 SHA512 815b82761947eaf39b8336eb7f24b5db16b8fb5904b4234cbf20d1b1cec058182079b04f5eca9020475b60f3c9e93410e58e2bf1eafa30f341b9962c542437e4 diff --git a/app-admin/exo/exo-1.77.1.ebuild b/app-admin/exo/exo-1.77.1.ebuild new file mode 100644 index 000000000000..832c2c26b861 --- /dev/null +++ b/app-admin/exo/exo-1.77.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 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-1.16:=" +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} +} -- cgit v1.2.3-65-gdbad