mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
app-admin/exo: add 1.83.0
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST exo-1.81.0.gh.tar.gz 11143610 BLAKE2B aa4830b4e799705cff11ad99bcc8bb422f488772d688bd132bc746d50293e9446e799920149582b29f14910a3167b58de4d3f0f5dc042369f4e8b66757fc43a3 SHA512 8f1dbda8439852d4e92cb6668097a69cf8581fec5bb115a859428b8825483df61872180ef389faa115eb1986eb25932cececeae85bfcbddca2e617135534a481
|
||||
DIST exo-1.83.0.gh.tar.gz 11153045 BLAKE2B 350703877a47bb979c266b4c15787e522570949951f5aad2db1ae1b7d750bf97d6f51b86590a1b2c2c3b19e5da8b54ba13fc42fb4a0557a96ca0ca973388897c SHA512 28248f29163ea21b3d815fd57afcacccef1383311d2175fb7e908e41238527215d490c651f0ed9593d1f1303df88d6ae36eb5b8bf76d4db90027ee2469483c23
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2025 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