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 E30B4138359 for ; Sat, 24 Oct 2020 22:45:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17593E0919; Sat, 24 Oct 2020 22:45:37 +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 EDCD2E0919 for ; Sat, 24 Oct 2020 22:45:36 +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 B934333DDA5 for ; Sat, 24 Oct 2020 22:45:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3290B396 for ; Sat, 24 Oct 2020 22:45:34 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1603579499.4c4dde4e370a2ea31f9365ac6d9b9fc489bcd0ee.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/promu/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/promu/Manifest dev-util/promu/promu-0.6.1.ebuild X-VCS-Directories: dev-util/promu/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 4c4dde4e370a2ea31f9365ac6d9b9fc489bcd0ee X-VCS-Branch: master Date: Sat, 24 Oct 2020 22:45:34 +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: e3b8c689-54a7-47cb-9514-b3ceae2c8037 X-Archives-Hash: 31e94027b534027d27284837c91ad5d8 commit: 4c4dde4e370a2ea31f9365ac6d9b9fc489bcd0ee Author: Jonathan Davies protonmail com> AuthorDate: Fri Oct 23 20:09:21 2020 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Oct 24 22:44:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c4dde4e dev-util/promu: Version updated to 0.6.1. Signed-off-by: Jonathan Davies protonmail.com> Signed-off-by: Zac Medico gentoo.org> dev-util/promu/Manifest | 1 + dev-util/promu/promu-0.6.1.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-util/promu/Manifest b/dev-util/promu/Manifest index b17a577e1cd..584bf41293f 100644 --- a/dev-util/promu/Manifest +++ b/dev-util/promu/Manifest @@ -1 +1,2 @@ DIST promu-0.5.0.tar.gz 643970 BLAKE2B b61e8421b5e68f3cd0ec125faadf64c7491f54cfe03de9d6497cb627e5d548b58fafe735c76a5a86a55489aea56dffb6e02d52acd1ca977ea32ec974f34475ac SHA512 b895c0b5b5a33bd0c2372e8c1c698b8548b1b7086849161ffa99bf9718f4b7f3a57bcf218681d84e4cc5ef31ef39df7e6c59345a84441369ec3ec402999ac4de +DIST promu-0.6.1.tar.gz 1704561 BLAKE2B 40947a8a2cd470456db2c47f1208ef7dc009b102fbc0c2a749f99271881ae6f4009d616d977f504a60795e7844271350e5e44423e12bb8633e441dd3ade45b24 SHA512 58983905a0da911f2142e2cf89b241320abfdbe62568378355786f606b3e319322722c25d3fc7b7bd127dc916df9f79684ba3f28455a59b5ee73f7c455fba351 diff --git a/dev-util/promu/promu-0.6.1.ebuild b/dev-util/promu/promu-0.6.1.ebuild new file mode 100644 index 00000000000..db82f31450c --- /dev/null +++ b/dev-util/promu/promu-0.6.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +EGIT_COMMIT="d3d03a28b678b6e3af03a86d1998bfc051a9d896" + +DESCRIPTION="Prometheus Utility Tool" +HOMEPAGE="https://github.com/prometheus/promu" +SRC_URI="https://github.com/prometheus/promu/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm" +IUSE="" + +RESTRICT+=" test" + +src_prepare() { + default + sed -i -e "s/{{.Revision}}/${EGIT_COMMIT}/" .promu.yml || die +} + +src_compile() { + go build -mod=vendor . || die "compile failed" +} + +src_install() { + dobin ${PN} + dodoc -r {doc,{README,CONTRIBUTING}.md} +}