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 21F62158010 for ; Wed, 1 Feb 2023 09:11:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C1CFE0E06; Wed, 1 Feb 2023 09:11:14 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 416B4E0E06 for ; Wed, 1 Feb 2023 09:11: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 6569433BE6B for ; Wed, 1 Feb 2023 09:11:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01ED0531 for ; Wed, 1 Feb 2023 09:11: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: <1675242606.743eadacf04f2a4db71a67ab49c3a7d0cdb3aadc.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.64.0-r1.ebuild X-VCS-Directories: app-admin/exo/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: 743eadacf04f2a4db71a67ab49c3a7d0cdb3aadc X-VCS-Branch: master Date: Wed, 1 Feb 2023 09:11: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: 01944fa7-4d81-4144-9088-5759f0ec0ec3 X-Archives-Hash: 4a8737b9027854e1ef34b82b7b569999 commit: 743eadacf04f2a4db71a67ab49c3a7d0cdb3aadc Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Feb 1 09:10:06 2023 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Feb 1 09:10:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=743eadac app-admin/exo: EAPI 8 - use .gh for tarball - set version Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.64.0-r1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 7e78205564d1..8738af5596c2 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ +DIST exo-1.64.0.gh.tar.gz 5538941 BLAKE2B c3c88c9f735d26dcb12b4314148afcc826af341068b6afbb821ed4e826aed81f80ca5ef613a1e5ca3a817db752904684e3ddfee44ed3a517cdb316b7852de0fb SHA512 8fb6bc3df187d9bf1ca58c9d27489426364b7eef3729c83e9b83c7977d09b4a2f4870ec78499656f926738a51bca7d698b1e3c65a65f791689db257a00482413 DIST exo-1.64.0.tar.gz 5538941 BLAKE2B c3c88c9f735d26dcb12b4314148afcc826af341068b6afbb821ed4e826aed81f80ca5ef613a1e5ca3a817db752904684e3ddfee44ed3a517cdb316b7852de0fb SHA512 8fb6bc3df187d9bf1ca58c9d27489426364b7eef3729c83e9b83c7977d09b4a2f4870ec78499656f926738a51bca7d698b1e3c65a65f791689db257a00482413 diff --git a/app-admin/exo/exo-1.64.0-r1.ebuild b/app-admin/exo/exo-1.64.0-r1.ebuild new file mode 100644 index 000000000000..8b7ec86e5d08 --- /dev/null +++ b/app-admin/exo/exo-1.64.0-r1.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} +}