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.78.4.gh.tar.gz 11118919 BLAKE2B cae6863c14d54363973491cb08a628abe24043ad8ae81aaf712c0b3ddf6c2037aca0f9b9e6a8323695558011999a0022fd151dcfb7df38409d0dfead58b9b7b8 SHA512 334ac58e899c40faed197cc11ae234ee3f8226bf51feb7bb552169710ffecababe469994d6096f5367edb424d5ccd0ac6521ff8fd83c521b9397196dd72d4cf6
|
||||
DIST exo-1.78.5.gh.tar.gz 11128614 BLAKE2B 8d22212708b961a1f40028d19487b81a5208276a08b97d70553341af1fd9dbe9e483bfc09404671536d8b56ee0b8332470faa59a0d0636e0a861572a2647d5ee SHA512 1e007920ffbd5e9df7af2bd4d679cd7bf75712f5a506ab78d9a9d61ee5790e2e01840101e40382df4212667a6e05c5564ee20b640c883ea1ff45c37dbae7a3e1
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2024 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