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 EBDC5158064 for ; Mon, 13 May 2024 10:12:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01F00E2A8B; Mon, 13 May 2024 10:12:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 D82FEE2A8B for ; Mon, 13 May 2024 10:12:11 +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 7594A33DD21 for ; Mon, 13 May 2024 10:12:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 845691A28 for ; Mon, 13 May 2024 10:12:08 +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: <1715595115.5078a54e5a64547dc083a025f8df624b760d52b2.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.78.1.ebuild X-VCS-Directories: app-admin/exo/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: 5078a54e5a64547dc083a025f8df624b760d52b2 X-VCS-Branch: master Date: Mon, 13 May 2024 10:12:08 +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: 47e99273-f893-46ba-beb7-a341b7997830 X-Archives-Hash: e43c81970969180a6eacd4c2c56897be commit: 5078a54e5a64547dc083a025f8df624b760d52b2 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon May 13 10:11:55 2024 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Mon May 13 10:11:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5078a54e app-admin/exo: add 1.78.1 Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.78.1.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index f02d614700b3..5b3c6b0880a4 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.77.2.gh.tar.gz 11091512 BLAKE2B 879dd3b8d6ce388efd52434dc5f26091360cb115c227dd47f5ece69ba3884b69715bdd2d503ce6145a7a368f19a19d822b16054f446fe70d7583041d494f14db SHA512 7ca505b5f1dc974baab13b5b0ff650aafc5261b2b601f17e35a9f37198ec4d6a9179163f67da360a56d50f1bf2d5d233ef5c1836143a5a306d336a93df95f249 +DIST exo-1.78.1.gh.tar.gz 11082424 BLAKE2B 35a822a44f95e36e6e1ec47f08d8087e387a5614e57f4cf19a87bddf0bf0d796892644b79553da271c72a2c98cf3865aeec73803730872706f3769fed5176daf SHA512 84f32d19ccaae606f488609eb0f26c3b2195299e5a5714f9d472082297f50323da110b80c53a6f993bf92dd6b6aeb9e3452067525e568630dc41db283731ca79 diff --git a/app-admin/exo/exo-1.78.1.ebuild b/app-admin/exo/exo-1.78.1.ebuild new file mode 100644 index 000000000000..43fbacd8aa32 --- /dev/null +++ b/app-admin/exo/exo-1.78.1.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} +}