diff options
Diffstat (limited to 'dev-util/kyua')
-rw-r--r-- | dev-util/kyua/Manifest | 2 | ||||
-rw-r--r-- | dev-util/kyua/kyua-0.14.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-util/kyua/Manifest b/dev-util/kyua/Manifest index e6f205720d01..18095d2b8140 100644 --- a/dev-util/kyua/Manifest +++ b/dev-util/kyua/Manifest @@ -1,3 +1,5 @@ DIST kyua-0.13.tar.gz 663776 BLAKE2B 5bb6b2a7723567395baeace0b70085a631856ac98ddb304bb5300f26bc89a1a1add589486cd08f1569ca9c7534fd5071a62cdcbb519a10d59221df63c0aef932 SHA512 80ecf4fd888d4759122f3c1d1d5b06a19135e06f7bca1ef8458c7a5e78c1b6baff54969c863c93f11c40611ca256fc0334402531397b16788fb3ec701dd278ae +DIST kyua-0.14.tar.gz 522124 BLAKE2B b211b987c9526bbf486b9d1429c83432907015a39bb68322674e3650473b97b74b88839913571d6e5df6f2c6671913feb2a5e555c2d304c164c89cf292efbad4 SHA512 38f6b4c6bce4aea8f8b257b9799e585311e9f8cfe154a277f5b520ee29bc04cabdd0d531cdf9c09cc6ee2e0e470db498071210e23732d2f55e1ae551c71a2c06 EBUILD kyua-0.13-r3.ebuild 1018 BLAKE2B 6938df1543e4980587e8318a66f7f0b24ab43f6ee0c6548a5e30442c3cffe902d62692d37f88058fcb279fb2b283afb7137a7ee99691129a97e6789af783462e SHA512 23e97883313ce2b5271dc327a254eceffb5d32fbaaaebc55955523ce15891c6b98b8beeff8b5d76214e626062a4397172eed11f14373fac0376ba1181bcd3989 +EBUILD kyua-0.14.ebuild 1054 BLAKE2B 1dc4207157327bedb2305f80361478fa5fc4102a5e52b1836740d609f1f8774494914131916b017d2ac34d4a796890469d322c3fee7adc180a3b15ff79cebc0e SHA512 efdca900394c68374bc4514e586a425ce97430eb3f89b68c099dfe752ca26e7a1cbbf3d3be67edc30035000f8bd0e15230d18bdc90790ed95d0642683ff71415 MISC metadata.xml 324 BLAKE2B e27d408570c0daab7c3c233fda8011d556ea574026329fa277082e25218a45568e11f6401584e134b004cc51ecfdd57be1fb621d54788170c50cfba01257a05a SHA512 544f93c2f9e1a46a7a615ff724ecc7ff1f668f5c880f6a32b853fa9ff8f74161ac27ff52b0298d5465b71ba4ce598313a23551ab8d85d5f3217b98aed986f0a5 diff --git a/dev-util/kyua/kyua-0.14.ebuild b/dev-util/kyua/kyua-0.14.ebuild new file mode 100644 index 000000000000..6a1d218752d9 --- /dev/null +++ b/dev-util/kyua/kyua-0.14.ebuild @@ -0,0 +1,51 @@ +# Copyright 2017-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +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() { + # bug #948053 + filter-lto + + # 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 +} |