Diff kyua-0.13-r3 with a kyua-0.14
/usr/portage/dev-util/kyua/kyua-0.14.ebuild 2025-02-03 17:39:32.914667227 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
1 |
# Copyright 2017-2025 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit flag-o-matic |
|
6 |
inherit autotools flag-o-matic |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Testing framework for infrastructure software" |
9 | 9 |
HOMEPAGE="https://github.com/freebsd/kyua" |
10 |
SRC_URI="https://github.com/freebsd/kyua/releases/download/${P}/${P}.tar.gz" |
|
10 |
SRC_URI="https://github.com/freebsd/kyua/archive/refs/tags/${P}.tar.gz" |
|
11 |
S="${WORKDIR}/${PN}-${P}" |
|
11 | 12 | |
12 | 13 |
LICENSE="BSD" |
13 | 14 |
SLOT="0" |
14 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" |
|
15 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
|
15 | 16 |
IUSE="test" |
16 | 17 |
RESTRICT="!test? ( test )" |
17 | 18 | |
18 | 19 |
RDEPEND=" |
19 | 20 |
dev-db/sqlite:3 |
20 |
dev-libs/atf |
|
21 |
dev-lua/lutok |
|
21 |
>=dev-lua/lutok-0.5 |
|
22 | 22 |
" |
23 | 23 |
DEPEND="${RDEPEND}" |
24 | 24 |
BDEPEND=" |
25 | 25 |
virtual/pkgconfig |
26 |
test? ( dev-libs/atf ) |
|
26 |
test? ( >=dev-libs/atf-0.22 ) |
|
27 | 27 |
" |
28 | 28 | |
29 |
src_prepare() { |
|
30 |
default |
|
31 |
eautoreconf |
|
32 |
} |
|
33 | ||
29 | 34 |
src_configure() { |
30 |
# Uses std::auto_ptr (deprecated in c++11, removed in c++17) |
|
31 |
append-cxxflags "-std=c++14" |
|
35 |
# bug #948053 |
|
36 |
filter-lto |
|
32 | 37 | |
33 | 38 |
# Skip coredump tests; they fail when sudo sets RLIMIT_CORE = 0. |
34 | 39 |
cat >"${T}/kyua.conf" <<-EOF || die |
... | ... | |
37 | 42 |
EOF |
38 | 43 |
local -x KYUA_CONFIG_FILE_FOR_CHECK="${T}/kyua.conf" |
39 | 44 | |
40 |
default |
|
45 |
econf $(use_enable test atf) |
|
41 | 46 |
} |
42 | 47 | |
43 | 48 |
src_install() { |
44 | 49 |
default |
45 |
rm -r "${ED}"/usr/tests || die |
|
50 |
rm -rf "${ED}"/usr/tests || die |
|
46 | 51 |
} |