Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/ark/
Date: Thu, 25 Nov 2021 13:26:02
Message-Id: 1637846736.f035ccfa49897a9287736e3078da24c0faf20e48.asturm@gentoo
1 commit: f035ccfa49897a9287736e3078da24c0faf20e48
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 25 13:13:56 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 25 13:25:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f035ccfa
7
8 kde-apps/ark: Add missing test BDEPEND, skip segfaulting/hanging test
9
10 plugins-clirartest requires app-arch/rar.
11 kerfuffle-addtoarchivetest may segfault or hang indefinitely.
12
13 Bug: https://bugs.gentoo.org/822177
14 Package-Manager: Portage-3.0.28, Repoman-3.0.3
15 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
16
17 kde-apps/ark/ark-21.08.3.ebuild | 10 ++++++++++
18 1 file changed, 10 insertions(+)
19
20 diff --git a/kde-apps/ark/ark-21.08.3.ebuild b/kde-apps/ark/ark-21.08.3.ebuild
21 index 6d0cf94f6acc..40ed06b503e5 100644
22 --- a/kde-apps/ark/ark-21.08.3.ebuild
23 +++ b/kde-apps/ark/ark-21.08.3.ebuild
24 @@ -48,6 +48,7 @@ DEPEND="${RDEPEND}
25 "
26 BDEPEND="
27 sys-devel/gettext
28 + test? ( app-arch/rar )
29 "
30
31 src_configure() {
32 @@ -58,6 +59,15 @@ src_configure() {
33 ecm_src_configure
34 }
35
36 +src_test() {
37 + local myctestargs=(
38 + # bug 822177: may segfault or hang indefinitely
39 + -E "(kerfuffle-addtoarchivetest)"
40 + )
41 +
42 + ecm_src_test
43 +}
44 +
45 pkg_postinst() {
46 if [[ -z "${REPLACING_VERSIONS}" ]]; then
47 optfeature "rar archive creation/extraction" app-arch/rar