mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-benchmarks/k6: new package, add 1.4.2
Signed-off-by: Gabriel de Moura Dutra <hi@dutra.sh>
This commit is contained in:
2
app-benchmarks/k6/Manifest
Normal file
2
app-benchmarks/k6/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST k6-1.4.2-vendor.tar.xz 5519368 BLAKE2B 1ec08b5c9ad4d863630b2a15457088c7487a27d972487ee649f714092fe20b832c079cc222626d78116f8f1731c40bdd7ca593bb97275baa71a45318f7bc4f8e SHA512 9336861c102d39afe48f039aa7d6955de2cf57fd88e8e82e2b4c4ea1179b3702b0baf4d3f47d0619a49a02bd4b5fbff7ab37015b8cc87bfac0837b684d90ae69
|
||||
DIST k6-1.4.2.tar.gz 11378745 BLAKE2B c7a902f1e1590fd383420e5eb0a9a85ce2e4fa2dc1cb52bf66bd68d11299f5eb98e0e5928b25afbe8c0aeac7aabfa71735efe3030fcd55af55af8b4074d1b49c SHA512 1b39ca733137e8548776c40b02cfd27c9f053f0cf1ec625071cb205a6918be8272754bb8e6561f31c60533647370f07ea672cc0dd2e9912fce813b9adaaed0a2
|
||||
26
app-benchmarks/k6/k6-1.4.2.ebuild
Normal file
26
app-benchmarks/k6/k6-1.4.2.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Load testing tool"
|
||||
HOMEPAGE="https://github.com/grafana/k6"
|
||||
SRC_URI="https://github.com/grafana/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://github.com/gabrielmdutra/gentoo-depfiles/releases/download/${PN}-${PV}-vendor.tar.xz/${PN}-${PV}-vendor.tar.xz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# Tests requires network connection
|
||||
RESTRICT=test
|
||||
|
||||
src_compile() {
|
||||
ego build -v -x -o ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
||||
11
app-benchmarks/k6/metadata.xml
Normal file
11
app-benchmarks/k6/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hi@dutra.sh</email>
|
||||
<name>Gabriel M. Dutra</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">grafana/k6</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user