From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1EF79158083 for ; Mon, 2 Sep 2024 08:44:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 021BDE29B1; Mon, 2 Sep 2024 08:44:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E32C9E29B1 for ; Mon, 2 Sep 2024 08:44:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E95C534302D for ; Mon, 2 Sep 2024 08:44:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D03EBB4 for ; Mon, 2 Sep 2024 08:44:14 +0000 (UTC) From: "Agostino Sarubbo" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Agostino Sarubbo" Message-ID: <1725266638.ee4c951c75d643f30d7d282ad28b1c5e2c9485b2.ago@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/exo/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/exo/Manifest app-admin/exo/exo-1.79.0.ebuild X-VCS-Directories: app-admin/exo/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: ee4c951c75d643f30d7d282ad28b1c5e2c9485b2 X-VCS-Branch: master Date: Mon, 2 Sep 2024 08:44:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6a3f727c-16e5-4742-8b42-d0c36e8ceb97 X-Archives-Hash: 85da1c64bb1811f540c26bbccb67eb80 commit: ee4c951c75d643f30d7d282ad28b1c5e2c9485b2 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Sep 2 08:43:58 2024 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Sep 2 08:43:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee4c951c app-admin/exo: add 1.79.0 Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.79.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index d4da756c9c16..0a0cd670fe4a 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.78.5.gh.tar.gz 11128614 BLAKE2B 8d22212708b961a1f40028d19487b81a5208276a08b97d70553341af1fd9dbe9e483bfc09404671536d8b56ee0b8332470faa59a0d0636e0a861572a2647d5ee SHA512 1e007920ffbd5e9df7af2bd4d679cd7bf75712f5a506ab78d9a9d61ee5790e2e01840101e40382df4212667a6e05c5564ee20b640c883ea1ff45c37dbae7a3e1 +DIST exo-1.79.0.gh.tar.gz 11129715 BLAKE2B b3f529429d448cb01b921ed1a192dfab04b396be7a0cc62152d9789369550b8aa65c1477192752a8a0943fa8e5d51518226e76a149cecd81c688633208e7f13b SHA512 e67236dde1c485578eeec50d439e6dc967bac444c4b9b84c390c6ce3546d18c65cafa3dc9b12e2bd0ca32714ddc5d0a2398dd9bf75777d302558778994d12b68 diff --git a/app-admin/exo/exo-1.79.0.ebuild b/app-admin/exo/exo-1.79.0.ebuild new file mode 100644 index 000000000000..43fbacd8aa32 --- /dev/null +++ b/app-admin/exo/exo-1.79.0.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} +}