commit:     6d2d3967e7bebe1a6408a43c27306830e15a8d5b
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  7 19:57:09 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jul  7 19:57:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2d3967

dev-ada/langkit: fix dependency and try to respect -j1

Bug: https://bugs.gentoo.org/677816
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 dev-ada/langkit/langkit-2018.ebuild | 5 +++--
 dev-ada/langkit/langkit-2019.ebuild | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-ada/langkit/langkit-2018.ebuild 
b/dev-ada/langkit/langkit-2018.ebuild
index 6fe74a78bc9..348ef449845 100644
--- a/dev-ada/langkit/langkit-2018.ebuild
+++ b/dev-ada/langkit/langkit-2018.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit python-single-r1
+inherit python-single-r1 multiprocessing
 
 MYP=${PN}-gpl-${PV}
 
@@ -24,6 +24,7 @@ DEPEND="${PYTHON_DEPS}
        dev-ada/gnatcoll-bindings[iconv,shared]
        dev-python/mako
        dev-python/pyyaml
+       <dev-python/pyyaml-5
        dev-python/enum34
        dev-python/funcy
        dev-python/docutils
@@ -35,7 +36,7 @@ S="${WORKDIR}"/${MYP}-src
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
 src_test() {
-       testsuite/testsuite.py --show-error-output | tee testsuite.log
+       testsuite/testsuite.py -j $(makeopts_jobs) --show-error-output | tee 
testsuite.log
        grep -q FAILED testsuite.log && die "Test failed"
 }
 

diff --git a/dev-ada/langkit/langkit-2019.ebuild 
b/dev-ada/langkit/langkit-2019.ebuild
index 1cc699ee20a..72bcd4d3adb 100644
--- a/dev-ada/langkit/langkit-2019.ebuild
+++ b/dev-ada/langkit/langkit-2019.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit python-single-r1
+inherit python-single-r1 multiprocessing
 
 MYP=${P}-20190510-19B8C
 
@@ -36,7 +36,7 @@ S="${WORKDIR}"/${MYP}-src
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
 src_test() {
-       testsuite/testsuite.py --show-error-output | tee testsuite.log
+       testsuite/testsuite.py -j $(makeopts_jobs) --show-error-output | tee 
testsuite.log
        grep -q FAILED testsuite.log && die "Test failed"
 }
 

Reply via email to