mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -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.88.0.gh.tar.gz 11391385 BLAKE2B 165fe8ebef91d33aa108f26fb668ca28f7751350d52feaab644a1505a910c72e8d5f7c6355748bd2dbba2c877c79b6bec01d18aa813a31b40a17ac0e80da0cfd SHA512 28358e25be4d19bca459c5afa46c08669f4395e6e6a4faf44333f33aec29c0ae58aeb45f0672d3fad48777e5b262194b40818b63a9fed660392bcc8de6963bfd
|
||||
DIST exo-1.90.0.gh.tar.gz 6549115 BLAKE2B 1d0eb9d3dd599c5062035ce65f7d8e1b994d6c5689fe88b113cbc5a744ca1dca2a40cc90db0dce3c37ffd57599f8714db3276660a87884119693e9a0f250a766 SHA512 6ff3cb8bee185bac670d5dba5b9dd700f09fe067c61e519404d0888e969649f91e870306f72e9e614ddc48b6c3fa6147167a9b8d5a083e493e085965d1a3ae3e
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# 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