summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/exo/Manifest1
-rw-r--r--app-admin/exo/exo-1.64.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest
index b05a50b19897..fe672b5053c3 100644
--- a/app-admin/exo/Manifest
+++ b/app-admin/exo/Manifest
@@ -1 +1,2 @@
DIST exo-1.61.0.tar.gz 5536720 BLAKE2B 3828a20d61d8e8c0c37cba4cc2846372ae1174ea1bdb6e99a30f6e526f304cc967dbf1d71be793bda0f666f174d54e694c159d0e2963a83f2b904e70f701eb44 SHA512 eba7b29de67782e560c3d23bbe0008980bd7ac4de1485ec885cf9563d122ff784dad4b55a94d3000064258eb5000041bcf6ed71f10383b212684e1c0bb292b84
+DIST exo-1.64.0.tar.gz 5538941 BLAKE2B c3c88c9f735d26dcb12b4314148afcc826af341068b6afbb821ed4e826aed81f80ca5ef613a1e5ca3a817db752904684e3ddfee44ed3a517cdb316b7852de0fb SHA512 8fb6bc3df187d9bf1ca58c9d27489426364b7eef3729c83e9b83c7977d09b4a2f4870ec78499656f926738a51bca7d698b1e3c65a65f791689db257a00482413
diff --git a/app-admin/exo/exo-1.64.0.ebuild b/app-admin/exo/exo-1.64.0.ebuild
new file mode 100644
index 000000000000..654ea598efb9
--- /dev/null
+++ b/app-admin/exo/exo-1.64.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE=""
+DEPEND="dev-lang/go:="
+RESTRICT="strip"
+QA_FLAGS_IGNORED=".*"
+
+S="${WORKDIR}/cli-${PV}"
+
+src_compile() {
+ go build -mod vendor -o ${PN} || die "build failed"
+}
+
+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}
+}