commit:     597b8a157c81e2b44dd66491e4b9af669e4b80e4
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 12 01:16:10 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Dec 12 01:21:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=597b8a15

app-benchmarks/hey: new package

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-benchmarks/hey/Manifest                   |  1 +
 app-benchmarks/hey/hey-0.1.1_p20181017.ebuild | 32 +++++++++++++++++++++++++++
 app-benchmarks/hey/metadata.xml               | 10 +++++++++
 3 files changed, 43 insertions(+)

diff --git a/app-benchmarks/hey/Manifest b/app-benchmarks/hey/Manifest
new file mode 100644
index 00000000000..172bb7655bc
--- /dev/null
+++ b/app-benchmarks/hey/Manifest
@@ -0,0 +1 @@
+DIST hey-0.1.1_p20181017.tar.gz 446212 BLAKE2B 
b8d55e4f7efb34634b81b5301617c84aea66cb1fdbe973d45317a309b845d4503331618688feeaef2bb9effa82f6d155b68b813a4b5b4f17149245cb7f15b2ec
 SHA512 
ccaf4ca2025ce4cbe10cbeb5d7a43903d7e15fdc20ed9623795bd3c11b0df510c3b51749c5e63502fb0fd3153f18a7d1b65297b11631b5889f719d0619602604

diff --git a/app-benchmarks/hey/hey-0.1.1_p20181017.ebuild 
b/app-benchmarks/hey/hey-0.1.1_p20181017.ebuild
new file mode 100644
index 00000000000..0be025d4eb3
--- /dev/null
+++ b/app-benchmarks/hey/hey-0.1.1_p20181017.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_SRC="github.com/rakyll/hey"
+EGO_PN=${EGO_SRC}/...
+EGIT_COMMIT="01803349acd49d756dafa2cb6ac5b5bfc141fc3b"
+
+inherit golang-build golang-vcs-snapshot
+
+DESCRIPTION="HTTP load generator, ApacheBench (ab) replacement, formerly known 
as rakyll/boom"
+HOMEPAGE="https://github.com/rakyll/hey";
+SRC_URI="https://${EGO_SRC}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test"
+IUSE=""
+DEPEND=""
+RDEPEND=""
+S=${WORKDIR}/${P}/src/${EGO_SRC}
+
+src_compile() {
+       GOPATH="${WORKDIR}/${P}" GOBIN="${WORKDIR}/${P}/bin" \
+               go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
+}
+
+src_install() {
+       dobin "${WORKDIR}/${P}/bin"/*
+       dodoc README.md
+}

diff --git a/app-benchmarks/hey/metadata.xml b/app-benchmarks/hey/metadata.xml
new file mode 100644
index 00000000000..25b7d5f8d00
--- /dev/null
+++ b/app-benchmarks/hey/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>zmed...@gentoo.org</email>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">rakyll/hey</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to