commit:     bd4b92d16b883879219696355f1b8c2fb9e0eb49
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 20 21:08:31 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 23 18:30:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4b92d1

dev-python/lit: Dedupe with new eclass code

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/lit/lit-10.0.1.9999.ebuild | 6 +++---
 dev-python/lit/lit-10.0.1_rc1.ebuild  | 6 +++---
 dev-python/lit/lit-11.0.0.9999.ebuild | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-python/lit/lit-10.0.1.9999.ebuild 
b/dev-python/lit/lit-10.0.1.9999.ebuild
index c9394c7a119..b9123ef7bf1 100644
--- a/dev-python/lit/lit-10.0.1.9999.ebuild
+++ b/dev-python/lit/lit-10.0.1.9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python2_7 python3_{6..9} )
 
-inherit distutils-r1 llvm.org multiprocessing
+inherit distutils-r1 llvm.org
 
 DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
 HOMEPAGE="https://llvm.org/";
@@ -34,6 +34,6 @@ src_prepare() {
 
 python_test() {
        local -x LIT_PRESERVES_TMP=1
-       ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" 
"$(get_nproc)")}" \
-               -vv tests || die
+       local litflags=$(get_lit_flags)
+       ./lit.py ${litflags//;/ } tests || die
 }

diff --git a/dev-python/lit/lit-10.0.1_rc1.ebuild 
b/dev-python/lit/lit-10.0.1_rc1.ebuild
index c9394c7a119..b9123ef7bf1 100644
--- a/dev-python/lit/lit-10.0.1_rc1.ebuild
+++ b/dev-python/lit/lit-10.0.1_rc1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python2_7 python3_{6..9} )
 
-inherit distutils-r1 llvm.org multiprocessing
+inherit distutils-r1 llvm.org
 
 DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
 HOMEPAGE="https://llvm.org/";
@@ -34,6 +34,6 @@ src_prepare() {
 
 python_test() {
        local -x LIT_PRESERVES_TMP=1
-       ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" 
"$(get_nproc)")}" \
-               -vv tests || die
+       local litflags=$(get_lit_flags)
+       ./lit.py ${litflags//;/ } tests || die
 }

diff --git a/dev-python/lit/lit-11.0.0.9999.ebuild 
b/dev-python/lit/lit-11.0.0.9999.ebuild
index c9394c7a119..b9123ef7bf1 100644
--- a/dev-python/lit/lit-11.0.0.9999.ebuild
+++ b/dev-python/lit/lit-11.0.0.9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python2_7 python3_{6..9} )
 
-inherit distutils-r1 llvm.org multiprocessing
+inherit distutils-r1 llvm.org
 
 DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
 HOMEPAGE="https://llvm.org/";
@@ -34,6 +34,6 @@ src_prepare() {
 
 python_test() {
        local -x LIT_PRESERVES_TMP=1
-       ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" 
"$(get_nproc)")}" \
-               -vv tests || die
+       local litflags=$(get_lit_flags)
+       ./lit.py ${litflags//;/ } tests || die
 }

Reply via email to