From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1195533-garchives=archives.gentoo.org@lists.gentoo.org> 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 22088138359 for <garchives@archives.gentoo.org>; Tue, 11 Aug 2020 13:48:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4BA23E086C; Tue, 11 Aug 2020 13:48:29 +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 1E730E086C for <gentoo-commits@lists.gentoo.org>; Tue, 11 Aug 2020 13:48:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3490534F01A for <gentoo-commits@lists.gentoo.org>; Tue, 11 Aug 2020 13:48:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E347F274 for <gentoo-commits@lists.gentoo.org>; Tue, 11 Aug 2020 13:48:26 +0000 (UTC) From: "Agostino Sarubbo" <ago@gentoo.org> 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" <ago@gentoo.org> Message-ID: <1597153705.44b23dd06331a8bbdf51dc6ffdbc7e3e115e49b7.ago@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/hcloud/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/hcloud/Manifest app-admin/hcloud/hcloud-1.18.0.ebuild X-VCS-Directories: app-admin/hcloud/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: 44b23dd06331a8bbdf51dc6ffdbc7e3e115e49b7 X-VCS-Branch: master Date: Tue, 11 Aug 2020 13:48:26 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 993fe4e8-58d5-4b57-bcaa-9a54db21125f X-Archives-Hash: 29e6d7b5c218b07b5318d5e1f88615c3 commit: 44b23dd06331a8bbdf51dc6ffdbc7e3e115e49b7 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> AuthorDate: Tue Aug 11 13:48:21 2020 +0000 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> CommitDate: Tue Aug 11 13:48:25 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44b23dd0 app-admin/hcloud: version bump to 1.18.0 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> app-admin/hcloud/Manifest | 1 + app-admin/hcloud/hcloud-1.18.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 147c63543ca..6eb544dbd2d 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1 +1,2 @@ DIST hcloud-1.17.0.tar.xz 687880 BLAKE2B c83530946dd04afc59d45a2bbb12b6a4034dfe5b8c3826e4e78f29e88891672c21e896fd9d24394ce943f9b6574928ae144a564abde3fec8a243cc5fc87e8bdb SHA512 5025357392e9b7661876f059a416e6d6f9eea89e16a9abaacaeb72506aaa5d4d6a193e266d23f01cd0f5d32048f66a3f6e22a1c9c042c2e3183a1e164da2ccc6 +DIST hcloud-1.18.0.tar.xz 691988 BLAKE2B 1d0d6cac56cefa9023796f259fce238952766e038568d843259845d8ebeb040b75dab9dc18908003fba1a10fc76fd45936e46db50536e26dd90a47354feba34a SHA512 39b09b5b79f1e8715fbc17c8576e51955b7729032385fd1aed3f171c56d041d0576dc99662fc9e222f5fe1837a4fddbd57cd406d98fd38a5b9eb116d2a83af3a diff --git a/app-admin/hcloud/hcloud-1.18.0.ebuild b/app-admin/hcloud/hcloud-1.18.0.ebuild new file mode 100644 index 00000000000..bdb4bb4366e --- /dev/null +++ b/app-admin/hcloud/hcloud-1.18.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A command-line interface for Hetzner Cloud" +HOMEPAGE="https://github.com/hetznercloud/cli" +SRC_URI="https://dev.gentoo.org/~ago/distfiles/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" +DEPEND="dev-lang/go:=" +RESTRICT="strip" +QA_FLAGS_IGNORED=".*" + +src_compile() { + go build -mod vendor -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${PV}-gentoo" ./cmd/${PN} || die "build failed" +} + +src_test() { + # For upstream a simple test is run 'hcloud version' + ./hcloud version + if [[ $? -ne 0 ]] + then + die "Test failed" + fi +} + +src_install() { + dobin ${PN} +}