mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
app-admin/exo: remove old
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST exo-1.93.0.gh.tar.gz 6555160 BLAKE2B aa2ed462bc4152a933e1eed27c55c271e7ca46f609da7a318ac19af225e0de3dd37b3951bbfddbc3c1cbff6fe09a75a35fad5eb0a2c21f2803d436570974ff88 SHA512 7a4a16bc366564e15ce549f694c3551d84a9dc76c476ecabe9799d67238ceb32aaf64b4435d83c206f77b35bd6dd5bc83d90d42838a319cb5da090847bee68cd
|
||||
DIST exo-1.94.0.gh.tar.gz 6584910 BLAKE2B c83ea0dad203fefec973ed9f009bbf7cbc4650e0f1fe66fd4461ed263dd3bad07e6e0f91fad3e4887140de014ce12cfe723c3e42dd956941158643f4e01ecf6d SHA512 f5ee47be0de9465b4a1f8a8efee7cdf0d9cbc503ff408afbd494339cb0703dfe340c4a43e8517fa0adcb044d0451f06df48fa5511cb1f8379797b97d15f6586e
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# 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