summaryrefslogtreecommitdiff
path: root/app-benchmarks/hey
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
commitde49812990871e1705b64051c35161d5e6400269 (patch)
tree5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /app-benchmarks/hey
parent536c3711867ec947c1738f2c4b96f22e4863322d (diff)
gentoo resync : 24.12.2018
Diffstat (limited to 'app-benchmarks/hey')
-rw-r--r--app-benchmarks/hey/Manifest3
-rw-r--r--app-benchmarks/hey/hey-0.1.1_p20181017.ebuild32
-rw-r--r--app-benchmarks/hey/metadata.xml10
3 files changed, 45 insertions, 0 deletions
diff --git a/app-benchmarks/hey/Manifest b/app-benchmarks/hey/Manifest
new file mode 100644
index 000000000000..643c5067cd30
--- /dev/null
+++ b/app-benchmarks/hey/Manifest
@@ -0,0 +1,3 @@
+DIST hey-0.1.1_p20181017.tar.gz 446212 BLAKE2B b8d55e4f7efb34634b81b5301617c84aea66cb1fdbe973d45317a309b845d4503331618688feeaef2bb9effa82f6d155b68b813a4b5b4f17149245cb7f15b2ec SHA512 ccaf4ca2025ce4cbe10cbeb5d7a43903d7e15fdc20ed9623795bd3c11b0df510c3b51749c5e63502fb0fd3153f18a7d1b65297b11631b5889f719d0619602604
+EBUILD hey-0.1.1_p20181017.ebuild 806 BLAKE2B 9f368bb57f6cf1eae82537c2ca344657829da386485093ef4541f5920a38789fb0dfc2b38c465c49ff1cfd0cdde6479d1f6816e8a05bfe69204b83251a516fe2 SHA512 7424c980cbd992f95da20b81546caa0190f1da4ce27bcd460edfc0832926f7651cfd05cf50bc747fad081b32373b7d8a33642096d1f6604da99f81f6e16dcb1e
+MISC metadata.xml 293 BLAKE2B 02d2186b0c437f4e4b8627c62859ab58035c8084a9150562f92a54374b55a091984a25573b2d7baf0ab21319556452a80f572b3c62d895c5cb9cd0bfa9763f2a SHA512 523be217cb99d6caa758df2bd2a13f8aec17c19e1e58053fc70d4d598bdff4292b1c98555c3e69a319687981bd128aec5961558e40c771f55e3082c5ed13ea75
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 000000000000..0be025d4eb3e
--- /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 000000000000..25b7d5f8d000
--- /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>zmedico@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rakyll/hey</remote-id>
+ </upstream>
+</pkgmetadata>