Skip to content

Commit

Permalink
app-admin/exo: version bump to 1.56.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 Jun 14, 2022
1 parent c66fca4 commit 9af08f6
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.54.0.tar.gz 5596697 BLAKE2B 2cfc0b9eb8775d16311b8d6a2745bb8a59ec52e15f9006732a272cc949faa919d03f86e7031d18d7cd7fc95f71a7092f54f9bfddd827642ff99f2705f7c66af0 SHA512 5a49d13cf7e96980cb0077da199497e0d0a0b4dc4697327466b272f7e65d4e9bcc37dfd5368df8733eac70a5ae494c5890b4f08e625573bdae92300cf0ff5ca3
DIST exo-1.56.0.tar.gz 5602569 BLAKE2B 8bf3b9805d459ce01a7e54d4bfa215c031354992c1b632a78f1b7084497574bd0900ff02592e5cf788b58d06317d3ef03460bd971d3b37339d531bb5b5710a15 SHA512 a6747231f2dd1cdf3ade56d0d62013c2eeb2977c30db53879cf1deb3ca5a8be93bfd89288d7be75aaaa8e47c90946e0b31bc95c7a0fa4a924dbef87931b1bb1d
36 changes: 36 additions & 0 deletions app-admin/exo/exo-1.56.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 9af08f6

Please sign in to comment.