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 EB7E3138334 for ; Sat, 2 Mar 2019 17:39:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC1B6E087F; Sat, 2 Mar 2019 17:39:50 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 BE910E087F for ; Sat, 2 Mar 2019 17:39:50 +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 84B1B335D06 for ; Sat, 2 Mar 2019 17:39:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A728B546 for ; Sat, 2 Mar 2019 17:39:47 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1551548367.67ad008d693e49f1bdc38d40e7e0880de87d98b7.mrueg@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.3.0.ebuild X-VCS-Directories: dev-util/promu/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 67ad008d693e49f1bdc38d40e7e0880de87d98b7 X-VCS-Branch: master Date: Sat, 2 Mar 2019 17:39:47 +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: 9b91c217-2e74-48cf-93ed-16a85db8e9e3 X-Archives-Hash: 38040d235e499b0988aa6ed371f1cd60 commit: 67ad008d693e49f1bdc38d40e7e0880de87d98b7 Author: Manuel Rüger gentoo org> AuthorDate: Sat Mar 2 17:39:27 2019 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Sat Mar 2 17:39:27 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67ad008d dev-util/promu: Version bump to 0.3.0 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> dev-util/promu/Manifest | 1 + dev-util/promu/promu-0.3.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-util/promu/Manifest b/dev-util/promu/Manifest index 0b0d47242d6..66d840ecb4a 100644 --- a/dev-util/promu/Manifest +++ b/dev-util/promu/Manifest @@ -1 +1,2 @@ DIST promu-0.2.0.tar.gz 1072026 BLAKE2B 2b68d992b37421d6b9a08cc9a9134f9ae52643d4c2844c8e1f6f6724f015582c99a8724ab6b8d1ee69437c660e3b972af85949e3221d8d8c709fd8c1a45e1256 SHA512 4da4716a9d4fb96b6016c9bd452fed0403721ab15f95e6955db2ab6e8e482f3bbb35cb4c1c94f690af9520729a93c100015ee48cb69627e129004ae0b15257ae +DIST promu-0.3.0.tar.gz 366019 BLAKE2B 0e6e93bb573da0ef20947b72989d8a68a7d6d1490efc802acaee58c9f546e9b46162054172d445e4dcb5cbc33c152529f006edf3acc594b92927df0ab489f86a SHA512 543cb514fcab9700bc45cb1b4a9f056720af4acf8ed949e03445c2f4e52d89f6fb8eda3ee538bc92feb2dc06db31026bebad9bf6c86a6e37a0be294d17e4b518 diff --git a/dev-util/promu/promu-0.3.0.ebuild b/dev-util/promu/promu-0.3.0.ebuild new file mode 100644 index 00000000000..ea822459f7d --- /dev/null +++ b/dev-util/promu/promu-0.3.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/prometheus/promu" +EGIT_COMMIT="295a70a7f580b886572861b19545b28accfd4491" +SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Prometheus Utility Tool" +HOMEPAGE="https://github.com/prometheus/promu" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +DEPEND=">=dev-lang/go-1.11" + +src_prepare() { + default + sed -i -e "s/{{.Revision}}/${EGIT_COMMIT}/" src/${EGO_PN}/.promu.yml || die +} + +src_compile() { + pushd src/${EGO_PN} || die + GO111MODULES=on GOCACHE="${T}/go-cache" GOPATH="${S}" go install -v github.com/prometheus/promu || die + popd || die +} + +src_install() { + dobin bin/* + dodoc -r src/${EGO_PN}/{doc,{README,CONTRIBUTING}.md} +}