summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2019-07-07 21:57:09 +0200
committerTupone Alfredo <tupone@gentoo.org>2019-07-07 21:57:09 +0200
commit6d2d3967e7bebe1a6408a43c27306830e15a8d5b (patch)
tree69a8c2bbc7481a52720b7dcdad92868f28463828 /dev-ada/langkit
parentsys-apps/xdg-desktop-portal: Add missing dev-libs/json-glib DEPEND (diff)
downloadgentoo-6d2d3967e7bebe1a6408a43c27306830e15a8d5b.tar.gz
gentoo-6d2d3967e7bebe1a6408a43c27306830e15a8d5b.tar.bz2
gentoo-6d2d3967e7bebe1a6408a43c27306830e15a8d5b.zip
dev-ada/langkit: fix dependency and try to respect -j1
Bug: https://bugs.gentoo.org/677816 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-ada/langkit')
-rw-r--r--dev-ada/langkit/langkit-2018.ebuild5
-rw-r--r--dev-ada/langkit/langkit-2019.ebuild4
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"
}