diff options
Diffstat (limited to 'app-benchmarks/hey')
-rw-r--r-- | app-benchmarks/hey/Manifest | 1 | ||||
-rw-r--r-- | app-benchmarks/hey/hey-0.1.2.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/app-benchmarks/hey/Manifest b/app-benchmarks/hey/Manifest index 172bb7655bce..837a02f5ca15 100644 --- a/app-benchmarks/hey/Manifest +++ b/app-benchmarks/hey/Manifest @@ -1 +1,2 @@ DIST hey-0.1.1_p20181017.tar.gz 446212 BLAKE2B b8d55e4f7efb34634b81b5301617c84aea66cb1fdbe973d45317a309b845d4503331618688feeaef2bb9effa82f6d155b68b813a4b5b4f17149245cb7f15b2ec SHA512 ccaf4ca2025ce4cbe10cbeb5d7a43903d7e15fdc20ed9623795bd3c11b0df510c3b51749c5e63502fb0fd3153f18a7d1b65297b11631b5889f719d0619602604 +DIST hey-0.1.2.tar.gz 446073 BLAKE2B 5c5933f54f5895100ea0f5b08c84143d30fb02f1b2a5cf1209a41b271d18dbf41ce24bf35fdc9846d04173e620e584e1afd8f0b3e8e7a9cd8d6d8e2aa85fac67 SHA512 21b7b2ddee84c2dd144a7bca44ea2c24dcfe5a6e41f8ad388a1099ec42b83789748906c2d405b774aefbdffd5cb90e045219f6ee39a9837adef5b57c5f0b2e3a diff --git a/app-benchmarks/hey/hey-0.1.2.ebuild b/app-benchmarks/hey/hey-0.1.2.ebuild new file mode 100644 index 000000000000..639ee500ec44 --- /dev/null +++ b/app-benchmarks/hey/hey-0.1.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module + +DESCRIPTION="HTTP load generator, ApacheBench (ab) replacement, formerly known as rakyll/boom" +HOMEPAGE="https://github.com/rakyll/hey" +SRC_URI="https://github.com/rakyll/hey/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Apache-2.0 BSD" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="test" +IUSE="" +DEPEND="" +RDEPEND="" + +src_compile() { + export -n GOCACHE XDG_CACHE_HOME + go build -o ./bin/${PN} || die +} + +src_install() { + dobin ./bin/${PN} + dodoc README.md +} |