From 77cd1bc104672f19be29461121fb2fa1e6416520 Mon Sep 17 00:00:00 2001 From: Gabriel de Moura Dutra Date: Sun, 7 Dec 2025 00:21:01 -0300 Subject: [PATCH] app-benchmarks/k6: new package, add 1.4.2 Signed-off-by: Gabriel de Moura Dutra --- app-benchmarks/k6/Manifest | 2 ++ app-benchmarks/k6/k6-1.4.2.ebuild | 26 ++++++++++++++++++++++++++ app-benchmarks/k6/metadata.xml | 11 +++++++++++ 3 files changed, 39 insertions(+) create mode 100644 app-benchmarks/k6/Manifest create mode 100644 app-benchmarks/k6/k6-1.4.2.ebuild create mode 100644 app-benchmarks/k6/metadata.xml diff --git a/app-benchmarks/k6/Manifest b/app-benchmarks/k6/Manifest new file mode 100644 index 0000000000..19b7cb3bdd --- /dev/null +++ b/app-benchmarks/k6/Manifest @@ -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 diff --git a/app-benchmarks/k6/k6-1.4.2.ebuild b/app-benchmarks/k6/k6-1.4.2.ebuild new file mode 100644 index 0000000000..660714af03 --- /dev/null +++ b/app-benchmarks/k6/k6-1.4.2.ebuild @@ -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} +} diff --git a/app-benchmarks/k6/metadata.xml b/app-benchmarks/k6/metadata.xml new file mode 100644 index 0000000000..a9fd1c0fdf --- /dev/null +++ b/app-benchmarks/k6/metadata.xml @@ -0,0 +1,11 @@ + + + + + hi@dutra.sh + Gabriel M. Dutra + + + grafana/k6 + +