diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2023-06-15 14:45:04 +0200 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2023-06-15 14:45:04 +0200 |
commit | 2bbc82cee45c74de7620a4f3e94bdcfcafa5a991 (patch) | |
tree | 052840a9e3d3d81d88c6c60d90f814520fa6aeef /app-admin/exo | |
parent | pypi.eclass: Avoid subshell for extglob setting (diff) | |
download | gentoo-2bbc82cee45c74de7620a4f3e94bdcfcafa5a991.tar.gz gentoo-2bbc82cee45c74de7620a4f3e94bdcfcafa5a991.tar.bz2 gentoo-2bbc82cee45c74de7620a4f3e94bdcfcafa5a991.zip |
app-admin/exo: version bump to 1.70.0
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin/exo')
-rw-r--r-- | app-admin/exo/Manifest | 1 | ||||
-rw-r--r-- | app-admin/exo/exo-1.70.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 2ff87e779bc3..342a46e6a2bf 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.69.0.gh.tar.gz 5679426 BLAKE2B 583a1bb405ec707b371c67f59240e7fc192b07c94698c86a0acb652bd946c817d581597b9dffe0d2276585e462cc67de840005e337c228d0fe779ce002c5e3b5 SHA512 79f8a54ff9baa09e2bfd3dd2cedfa605eec958838036c368394fd684f12eb805373fe44c5931a3c419bd829447736d94fdba3e14f71f3a4bbe9fc0e4e7c7cdad +DIST exo-1.70.0.gh.tar.gz 5878972 BLAKE2B c62f5fad1552bfce99d4a171d44783add090792d151d6339415fbb3015a1085be1c9025a4a874910ff60bd2f03a0d84fdf858598fb0cfa5745e101489117cd9a SHA512 19320be04f409e4424c1451919873499a90570d73aa04a6e3106c6271febf62e126ccad7cb1f2514ec5724bdf03a3794f2aff3789d95b0ee85998f3c5602f263 diff --git a/app-admin/exo/exo-1.70.0.ebuild b/app-admin/exo/exo-1.70.0.ebuild new file mode 100644 index 000000000000..aee98d607c89 --- /dev/null +++ b/app-admin/exo/exo-1.70.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-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} +} |