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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 374BA1382C5 for ; Wed, 9 Dec 2020 09:46:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85C78E0907; Wed, 9 Dec 2020 09:46:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6AB03E0907 for ; Wed, 9 Dec 2020 09:46:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A772340DB7 for ; Wed, 9 Dec 2020 09:46:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BD5D46C for ; Wed, 9 Dec 2020 09:46:56 +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: <1607507212.0b146dcf231be9c67e3948be2288edb5422f0e59.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.22.0.ebuild X-VCS-Directories: app-admin/exo/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: 0b146dcf231be9c67e3948be2288edb5422f0e59 X-VCS-Branch: master Date: Wed, 9 Dec 2020 09:46:56 +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: bb42976e-5276-4335-9d60-a60f47d5e3ca X-Archives-Hash: 8888bd7c43a8008625f3d300791a3840 commit: 0b146dcf231be9c67e3948be2288edb5422f0e59 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Dec 9 09:46:52 2020 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Dec 9 09:46:52 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b146dcf app-admin/exo: version bump to 1.22.0 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.22.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index e4cb272dd5f..b2961318388 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.21.0.tar.gz 4625218 BLAKE2B f73c18f1de5a8e8063e66ec11352d9221268289d298bb6ecaa9cb625c00685b68d0f7760614df8cf783bb123bbdb52d3fd9d8c482933445bb089d6e9d493882c SHA512 0a2279ef368e13286082813ebbae38cd5c2e185e43e5d2b2fb851382be8b8a5c08512124638d987401d0e821042bafba50f955a672eec6ce0951f0149d2ec34a +DIST exo-1.22.0.tar.gz 4684873 BLAKE2B a143517a99fde17c237c25dcdd4b54570d6ce9760157d24c8f09c26851b5fb65c6ac56506179a008f32cc657cf40fb781eb304375e3f3422a5166e6b1c194164 SHA512 f68d1524c8a1dc44aca4ab1999ebbc93a980a58344c1b39c68eb54b4651d9471b310541c2d34a43e67ad956ed93e2d3ce89c3ebeb450b620c641907684572799 diff --git a/app-admin/exo/exo-1.22.0.ebuild b/app-admin/exo/exo-1.22.0.ebuild new file mode 100644 index 00000000000..0c2c8d861fe --- /dev/null +++ b/app-admin/exo/exo-1.22.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 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} +}