commit:     e7b2df20db3eeb4e55013327a405078731161284
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 05:05:00 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Jan 12 05:12:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b2df20

dev-util/kyua: add 0.14

Closes: https://bugs.gentoo.org/947929
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-util/kyua/Manifest         |  1 +
 dev-util/kyua/kyua-0.14.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-util/kyua/Manifest b/dev-util/kyua/Manifest
index c4aa44b8733f..58291e254294 100644
--- a/dev-util/kyua/Manifest
+++ b/dev-util/kyua/Manifest
@@ -1 +1,2 @@
 DIST kyua-0.13.tar.gz 663776 BLAKE2B 
5bb6b2a7723567395baeace0b70085a631856ac98ddb304bb5300f26bc89a1a1add589486cd08f1569ca9c7534fd5071a62cdcbb519a10d59221df63c0aef932
 SHA512 
80ecf4fd888d4759122f3c1d1d5b06a19135e06f7bca1ef8458c7a5e78c1b6baff54969c863c93f11c40611ca256fc0334402531397b16788fb3ec701dd278ae
+DIST kyua-0.14.tar.gz 522124 BLAKE2B 
b211b987c9526bbf486b9d1429c83432907015a39bb68322674e3650473b97b74b88839913571d6e5df6f2c6671913feb2a5e555c2d304c164c89cf292efbad4
 SHA512 
38f6b4c6bce4aea8f8b257b9799e585311e9f8cfe154a277f5b520ee29bc04cabdd0d531cdf9c09cc6ee2e0e470db498071210e23732d2f55e1ae551c71a2c06

diff --git a/dev-util/kyua/kyua-0.14.ebuild b/dev-util/kyua/kyua-0.14.ebuild
new file mode 100644
index 000000000000..feca4c10e157
--- /dev/null
+++ b/dev-util/kyua/kyua-0.14.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2017-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Testing framework for infrastructure software"
+HOMEPAGE="https://github.com/freebsd/kyua";
+SRC_URI="https://github.com/freebsd/kyua/archive/refs/tags/${P}.tar.gz";
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-db/sqlite:3
+       >=dev-lua/lutok-0.5
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       virtual/pkgconfig
+       test? ( >=dev-libs/atf-0.22 )
+"
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       # Skip coredump tests; they fail when sudo sets RLIMIT_CORE = 0.
+       cat >"${T}/kyua.conf" <<-EOF || die
+       syntax(2)
+       test_suites.kyua.run_coredump_tests = "false"
+       EOF
+       local -x KYUA_CONFIG_FILE_FOR_CHECK="${T}/kyua.conf"
+
+       econf $(use_enable test atf)
+}
+
+src_install() {
+       default
+       rm -rf "${ED}"/usr/tests || die
+}

Reply via email to