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 02B8A1382C5 for ; Mon, 11 Jan 2021 23:05:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D19AE09EE; Mon, 11 Jan 2021 23:05:07 +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 01F6FE09EE for ; Mon, 11 Jan 2021 23:05:05 +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 D2D12340D4A for ; Mon, 11 Jan 2021 23:05:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7382FB8 for ; Mon, 11 Jan 2021 23:05:03 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1610406291.1120a551e58da6d1e376244a8de51a13a90df4b6.williamh@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.7.0.ebuild X-VCS-Directories: dev-util/promu/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 1120a551e58da6d1e376244a8de51a13a90df4b6 X-VCS-Branch: master Date: Mon, 11 Jan 2021 23:05:03 +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: 59e547a9-3bc8-4602-b6af-267381d9c7cb X-Archives-Hash: a9119ff5bf428181f590bf2630116591 commit: 1120a551e58da6d1e376244a8de51a13a90df4b6 Author: William Hubbs gentoo org> AuthorDate: Mon Jan 11 23:04:34 2021 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Jan 11 23:04:51 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1120a551 dev-util/promu: 0.7.0 bump Signed-off-by: William Hubbs gentoo.org> dev-util/promu/Manifest | 1 + dev-util/promu/promu-0.7.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-util/promu/Manifest b/dev-util/promu/Manifest index 584bf41293f..acca90b9239 100644 --- a/dev-util/promu/Manifest +++ b/dev-util/promu/Manifest @@ -1,2 +1,3 @@ DIST promu-0.5.0.tar.gz 643970 BLAKE2B b61e8421b5e68f3cd0ec125faadf64c7491f54cfe03de9d6497cb627e5d548b58fafe735c76a5a86a55489aea56dffb6e02d52acd1ca977ea32ec974f34475ac SHA512 b895c0b5b5a33bd0c2372e8c1c698b8548b1b7086849161ffa99bf9718f4b7f3a57bcf218681d84e4cc5ef31ef39df7e6c59345a84441369ec3ec402999ac4de DIST promu-0.6.1.tar.gz 1704561 BLAKE2B 40947a8a2cd470456db2c47f1208ef7dc009b102fbc0c2a749f99271881ae6f4009d616d977f504a60795e7844271350e5e44423e12bb8633e441dd3ade45b24 SHA512 58983905a0da911f2142e2cf89b241320abfdbe62568378355786f606b3e319322722c25d3fc7b7bd127dc916df9f79684ba3f28455a59b5ee73f7c455fba351 +DIST promu-0.7.0.tar.gz 1706673 BLAKE2B 52dea1bef127dc20fa67b2efee750d9a22c8847fd48ea73b3d03eb0f95f2690977f8082bc71f27215a68c5277d8219ccd4ff93d8af7966fdf9df7286e4f45d03 SHA512 9f332e55c944de1ff87e86b696eb99f24dc1f5350a180ae62e403a798bd6e496d9fe71e18c07a2c870509fae4d6b3ded2274b1b986614f1abe9f74e3ed8e2a60 diff --git a/dev-util/promu/promu-0.7.0.ebuild b/dev-util/promu/promu-0.7.0.ebuild new file mode 100644 index 00000000000..dc79b2ea8df --- /dev/null +++ b/dev-util/promu/promu-0.7.0.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=b17dc4f71c810678db907367b392a3e7a14c4038 + +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 ~arm64 ~x86" +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} +}