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 67D1C158008 for ; Thu, 15 Jun 2023 12:45:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8206BE08E0; Thu, 15 Jun 2023 12:45:26 +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 64B86E08E0 for ; Thu, 15 Jun 2023 12:45:26 +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 2467C33CEF2 for ; Thu, 15 Jun 2023 12:45:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D7C4A66 for ; Thu, 15 Jun 2023 12:45:23 +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: <1686833104.2bbc82cee45c74de7620a4f3e94bdcfcafa5a991.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.70.0.ebuild X-VCS-Directories: app-admin/exo/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: 2bbc82cee45c74de7620a4f3e94bdcfcafa5a991 X-VCS-Branch: master Date: Thu, 15 Jun 2023 12:45:23 +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: 1f13113d-6b1f-46ff-ae1c-751b36663b27 X-Archives-Hash: 3033204e7025918e78f1efb99c48ff9b commit: 2bbc82cee45c74de7620a4f3e94bdcfcafa5a991 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Jun 15 12:45:04 2023 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Jun 15 12:45:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bbc82ce app-admin/exo: version bump to 1.70.0 Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/exo/Manifest | 1 + app-admin/exo/exo-1.70.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index 2ff87e779bc3..342a46e6a2bf 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.69.0.gh.tar.gz 5679426 BLAKE2B 583a1bb405ec707b371c67f59240e7fc192b07c94698c86a0acb652bd946c817d581597b9dffe0d2276585e462cc67de840005e337c228d0fe779ce002c5e3b5 SHA512 79f8a54ff9baa09e2bfd3dd2cedfa605eec958838036c368394fd684f12eb805373fe44c5931a3c419bd829447736d94fdba3e14f71f3a4bbe9fc0e4e7c7cdad +DIST exo-1.70.0.gh.tar.gz 5878972 BLAKE2B c62f5fad1552bfce99d4a171d44783add090792d151d6339415fbb3015a1085be1c9025a4a874910ff60bd2f03a0d84fdf858598fb0cfa5745e101489117cd9a SHA512 19320be04f409e4424c1451919873499a90570d73aa04a6e3106c6271febf62e126ccad7cb1f2514ec5724bdf03a3794f2aff3789d95b0ee85998f3c5602f263 diff --git a/app-admin/exo/exo-1.70.0.ebuild b/app-admin/exo/exo-1.70.0.ebuild new file mode 100644 index 000000000000..aee98d607c89 --- /dev/null +++ b/app-admin/exo/exo-1.70.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-1.16:=" +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} +}