mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/exo: add 1.93.0
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST exo-1.92.0.gh.tar.gz 6554701 BLAKE2B 88b2abb611a2222e2ff4620ffac9a0f791034cb3a4a67e8991f63b2e7c87ec21b44461d2bec4c87bacef7695a5e05fd851d14d02be453ce37e83fb2d5db7b5a8 SHA512 7cf59a7783a76f8e2efc070bca27dbdff966bc062fe3e7e527b8c2a74e51a48abfdc63279f539b5ea5a830d3d5cc1cac0cb43c2e6f3790faa99e286bd896e400
|
||||
DIST exo-1.93.0.gh.tar.gz 6555160 BLAKE2B aa2ed462bc4152a933e1eed27c55c271e7ca46f609da7a318ac19af225e0de3dd37b3951bbfddbc3c1cbff6fe09a75a35fad5eb0a2c21f2803d436570974ff88 SHA512 7a4a16bc366564e15ce549f694c3551d84a9dc76c476ecabe9799d67238ceb32aaf64b4435d83c206f77b35bd6dd5bc83d90d42838a319cb5da090847bee68cd
|
||||
|
||||
35
app-admin/exo/exo-1.93.0.ebuild
Normal file
35
app-admin/exo/exo-1.93.0.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2026 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}
|
||||
}
|
||||
Reference in New Issue
Block a user