Skip to content

Commit

Permalink
app-admin/exo: version bump to 1.50.0
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Agostino Sarubbo <[email protected]>
  • Loading branch information
asarubbo committed Mar 4, 2022
1 parent 7986015 commit 4b59fc2
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-admin/exo/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST exo-1.49.3.tar.gz 5565174 BLAKE2B bb21f29570016f9777d95f9dd92f6e1bd5eff237fb132a81f0f91b79f765461c9c123b62b983d6f2e7af64a475723c46be97a3ac646f7c5a89fc3aca4f972ef3 SHA512 be865bf423caeee8c479382bf579f18d7279b6ea16a97c800cca0ee56fa2bc584d4c4523ff4f70b6a097dbf9c9cce99764d2c95f662b14753f2cd131e043033b
DIST exo-1.50.0.tar.gz 5590761 BLAKE2B f8874ff1b8736af03dfe65b8e20aba7883b2096323ee1a57d5bb07787229791752f259a3bf4315b2470324b7983420b6fc1c3a2a59bb3c6760fc9a9380f9be50 SHA512 ab2f113bb45795cb56daa42a238cabde89bc6d5f09fe28385077e15ae6b4b5c5992346487d5d8ae944c2e08c70589abaa4c20dad1efc6b5e6a5c77165d1bbdd0
36 changes: 36 additions & 0 deletions app-admin/exo/exo-1.50.0.ebuild
Original file line number Diff line number Diff line change
@@ -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}
}

0 comments on commit 4b59fc2

Please sign in to comment.