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 44C7715ACFC for ; Fri, 5 May 2023 07:32:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85B81E09C4; Fri, 5 May 2023 07:32:14 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C70EE09C4 for ; Fri, 5 May 2023 07:32:14 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5187034112F for ; Fri, 5 May 2023 07:32:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC69B8E4 for ; Fri, 5 May 2023 07:32:11 +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: <1683271921.12fa640add66c40ca6a75befedfebb91e6ec15fd.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.68.0.ebuild X-VCS-Directories: app-admin/exo/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: 12fa640add66c40ca6a75befedfebb91e6ec15fd X-VCS-Branch: master Date: Fri, 5 May 2023 07:32:11 +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: bd0e6ef2-5b39-4019-a47e-3119b967dc69 X-Archives-Hash: 9b3ad50faed14f57e12ac7c3851fcbaa commit: 12fa640add66c40ca6a75befedfebb91e6ec15fd Author: Agostino Sarubbo gentoo org> AuthorDate: Fri May 5 07:31:51 2023 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Fri May 5 07:32:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12fa640a app-admin/exo: version bump to 1.68.0 Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.68.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index c8b90bc326a0..c28d8dbd6839 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.67.0.gh.tar.gz 5547755 BLAKE2B 34d72dda795ee79513bbeb84ec26ae23805e108256eec39ff78e0b92dee67902762ae112229b307d3ce1f61e978977505ae7a96c87a71bbd4c0b154be4b7612c SHA512 2fcc2248b9ffdfead1eb5ed84560bd9f28bf5a16d5b00b7106a16b91571176689e3de37c8d89580ac73e12191843eba01a22d93c752070a7912acd37412c437f +DIST exo-1.68.0.gh.tar.gz 5673687 BLAKE2B 7e1b8a03d902e21052dbbdc0e1fb7bc0316061d021fb0dae901fcefcd3cf5560113c3ac068353de9039c8b672fb75e483a3be886702920431cf1cb040c4ad38e SHA512 01663f651348cbb43d5c382b57904792bfa1b954dbe7c8661084c95133828372c643c52db8b66f36a8b791330c80f922a324b359b6b920fcccec41e85e1b1e1b diff --git a/app-admin/exo/exo-1.68.0.ebuild b/app-admin/exo/exo-1.68.0.ebuild new file mode 100644 index 000000000000..8b7ec86e5d08 --- /dev/null +++ b/app-admin/exo/exo-1.68.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +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} -ldflags "-X main.version=${PVR}-gentoo -X main.commit=" || 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} +}