Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 06/18] dev-python/lit: Dedupe with new eclass code
Date: Sat, 20 Jun 2020 21:18:59
Message-Id: 20200620211624.427466-7-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/18] llvm.org.eclass: more deduplication with packages by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 dev-python/lit/lit-10.0.1.9999.ebuild | 6 +++---
4 dev-python/lit/lit-10.0.1_rc1.ebuild | 6 +++---
5 dev-python/lit/lit-11.0.0.9999.ebuild | 6 +++---
6 3 files changed, 9 insertions(+), 9 deletions(-)
7
8 diff --git a/dev-python/lit/lit-10.0.1.9999.ebuild b/dev-python/lit/lit-10.0.1.9999.ebuild
9 index c9394c7a1190..b9123ef7bf14 100644
10 --- a/dev-python/lit/lit-10.0.1.9999.ebuild
11 +++ b/dev-python/lit/lit-10.0.1.9999.ebuild
12 @@ -6,7 +6,7 @@ EAPI=7
13 DISTUTILS_USE_SETUPTOOLS=rdepend
14 PYTHON_COMPAT=( python2_7 python3_{6..9} )
15
16 -inherit distutils-r1 llvm.org multiprocessing
17 +inherit distutils-r1 llvm.org
18
19 DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
20 HOMEPAGE="https://llvm.org/"
21 @@ -34,6 +34,6 @@ src_prepare() {
22
23 python_test() {
24 local -x LIT_PRESERVES_TMP=1
25 - ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \
26 - -vv tests || die
27 + local litflags=$(get_lit_flags)
28 + ./lit.py ${litflags//;/ } tests || die
29 }
30 diff --git a/dev-python/lit/lit-10.0.1_rc1.ebuild b/dev-python/lit/lit-10.0.1_rc1.ebuild
31 index c9394c7a1190..b9123ef7bf14 100644
32 --- a/dev-python/lit/lit-10.0.1_rc1.ebuild
33 +++ b/dev-python/lit/lit-10.0.1_rc1.ebuild
34 @@ -6,7 +6,7 @@ EAPI=7
35 DISTUTILS_USE_SETUPTOOLS=rdepend
36 PYTHON_COMPAT=( python2_7 python3_{6..9} )
37
38 -inherit distutils-r1 llvm.org multiprocessing
39 +inherit distutils-r1 llvm.org
40
41 DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
42 HOMEPAGE="https://llvm.org/"
43 @@ -34,6 +34,6 @@ src_prepare() {
44
45 python_test() {
46 local -x LIT_PRESERVES_TMP=1
47 - ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \
48 - -vv tests || die
49 + local litflags=$(get_lit_flags)
50 + ./lit.py ${litflags//;/ } tests || die
51 }
52 diff --git a/dev-python/lit/lit-11.0.0.9999.ebuild b/dev-python/lit/lit-11.0.0.9999.ebuild
53 index c9394c7a1190..b9123ef7bf14 100644
54 --- a/dev-python/lit/lit-11.0.0.9999.ebuild
55 +++ b/dev-python/lit/lit-11.0.0.9999.ebuild
56 @@ -6,7 +6,7 @@ EAPI=7
57 DISTUTILS_USE_SETUPTOOLS=rdepend
58 PYTHON_COMPAT=( python2_7 python3_{6..9} )
59
60 -inherit distutils-r1 llvm.org multiprocessing
61 +inherit distutils-r1 llvm.org
62
63 DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
64 HOMEPAGE="https://llvm.org/"
65 @@ -34,6 +34,6 @@ src_prepare() {
66
67 python_test() {
68 local -x LIT_PRESERVES_TMP=1
69 - ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \
70 - -vv tests || die
71 + local litflags=$(get_lit_flags)
72 + ./lit.py ${litflags//;/ } tests || die
73 }
74 --
75 2.27.0