diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2023-01-14 07:40:31 +0100 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2023-01-14 07:40:31 +0100 |
commit | e6011d13c6f25ef30a5440725da7c23864e57b87 (patch) | |
tree | f384372aa015754c63937809d55c2f490ea70a2d /app-admin/exo | |
parent | net-im/discord-bin: add myself as a maintainer (diff) | |
download | gentoo-e6011d13c6f25ef30a5440725da7c23864e57b87.tar.gz gentoo-e6011d13c6f25ef30a5440725da7c23864e57b87.tar.bz2 gentoo-e6011d13c6f25ef30a5440725da7c23864e57b87.zip |
app-admin/exo: version bump to 1.64.0
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin/exo')
-rw-r--r-- | app-admin/exo/Manifest | 1 | ||||
-rw-r--r-- | app-admin/exo/exo-1.64.0.ebuild | 36 |
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} +} |