summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2024-07-29 16:30:28 +0200
committerAgostino Sarubbo <ago@gentoo.org>2024-07-29 16:30:28 +0200
commit4ef463d650da2680e463bbe5dd3da34cfe97dbda (patch)
tree2cc468e8ff7ffcc2f8141e6195d4392fc7cb3dc4 /app-admin/exo
parentwww-apps/sonarr-bin: drop 4.0.8.1929 (diff)
downloadgentoo-4ef463d650da2680e463bbe5dd3da34cfe97dbda.tar.gz
gentoo-4ef463d650da2680e463bbe5dd3da34cfe97dbda.tar.bz2
gentoo-4ef463d650da2680e463bbe5dd3da34cfe97dbda.zip
app-admin/exo: add 1.78.5
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin/exo')
-rw-r--r--app-admin/exo/Manifest1
-rw-r--r--app-admin/exo/exo-1.78.5.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index b8336f9302ca..388b05a2cb5d 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
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
diff --git a/app-admin/exo/exo-1.78.5.ebuild b/app-admin/exo/exo-1.78.5.ebuild
new file mode 100644
index 000000000000..43fbacd8aa32
--- /dev/null
+++ b/app-admin/exo/exo-1.78.5.ebuild
@@ -0,0 +1,35 @@
+# 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}
+}