Skip to content

Commit

Permalink
dev-util/promu: Update snapshot
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
mrueg committed Jun 12, 2017
1 parent 57cf07a commit f47d5b0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-util/promu/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST promu-0.1.0_p20161031.tar.gz 393908 SHA256 eab458c5f03dd45405ef56b1e333bd95fdd379d6a3010af1a2a0fc9db2d49159 SHA512 75bb77f91bb4ee2817e0481e13e0ac0c4abe4ab899608a455fac99e9939f63eedd17e42271c1ac76f2d475fb5aaa066dd24d5229b3e74571eec67dd448c7a487 WHIRLPOOL 67988a4980c908650001f423a3683486520a1b1d61389bdc2c423b90d3c097fad7066e8e0096b4d85ce0d1edc83c6813a5c94414a1b9c2cc4edecfe05b61316c
DIST promu-0.1.0_p20170130.tar.gz 393885 SHA256 a8807488ff74bb6ad9653ffa91accdbbf11382dfa8e5ca511f086f7a52f785fa SHA512 fd12a1f96ab55bfd669e912b68902e9340726da6f70d95159f055006bbbbe8e0cc14e9878b4dda3f473f9521918d6033d98e713b4d18d66dae03b1fa25828a80 WHIRLPOOL 21543bb1e9706bfdbe11c07dbb5fefcd0dbb7626baf7a59bb128d3f4ee58a1d71ff0b402ad1b7dc832dc8acb461578c680e0fb4a6f99cc834678575076076851
DIST promu-0.1.0_p20170607.tar.gz 399675 SHA256 e2995015d66c25e431284e24623a3ecb5813fdaf45cd31231d1ba5a9a500e1a0 SHA512 38c5230b8a301675b55ea80c2ab461be51d560d96511c8ce4ac101434e484dca0a90ccacb06b3bb9057d151fac407adc443833032ddd226416a1fd5af788edaf WHIRLPOOL d2779d629d1b04ca9ccc78711a591a19ef1beede1ac6708e45f3a0d0fd2bcf309858d7aaeba739c6ce17cf12bd5edc6612a123dee2a41d4796685c0b188e599d
29 changes: 29 additions & 0 deletions dev-util/promu/promu-0.1.0_p20170607.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 1999-2017 Gentoo Foundation
# 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="85ceabc50a0f1c0072304f694333062836c9f640"
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"

DESCRIPTION="Prometheus Utility Tool"
HOMEPAGE="https://github.com/prometheus/promu"
SRC_URI="${ARCHIVE_URI}"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""

src_compile() {
LDFLAGS="-X github.com/prometheus/vendor/github.com/prometheus/common/version.Version=$(cat src/${EGO_PN}/VERSION)
-X github.com/prometheus/vendor/github.com/prometheus/common/version.Revision=${EGIT_COMMIT:0:7}
-extldflags \"-static\""
GOPATH="${S}" go build -ldflags "${LDFLAGS}" -o bin/promu src/${EGO_PN}/main.go || die
}

src_install() {
dobin bin/*
dodoc -r src/${EGO_PN}/{doc,{README,CONTRIBUTING}.md}
}

0 comments on commit f47d5b0

Please sign in to comment.