summaryrefslogtreecommitdiffstats
path: root/pym/repoman
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-12-12 21:20:17 +0000
committerZac Medico <zmedico@gentoo.org>2008-12-12 21:20:17 +0000
commitd9f29fadbfaf654eee722af37b475bd7da0fa227 (patch)
treec58181b5cbb249497c200ae6a54325d5e1e0b821 /pym/repoman
parent2cb768a077d369a63e885a637b16b4ee7f2f91cb (diff)
downloadportage-d9f29fadbfaf654eee722af37b475bd7da0fa227.tar.gz
portage-d9f29fadbfaf654eee722af37b475bd7da0fa227.tar.bz2
portage-d9f29fadbfaf654eee722af37b475bd7da0fa227.zip
Bug #250212 - Add a new 'upstream.workaround' qa category, and use it for
the EMakeParallelDisabled check. Thanks to Mike Auty <ikelos@g.o> for this patch. (trunk r12179) svn path=/main/branches/2.1.6/; revision=12215
Diffstat (limited to 'pym/repoman')
-rw-r--r--pym/repoman/checks.py2
-rw-r--r--pym/repoman/errors.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py
index c9415b759..c90b54f7b 100644
--- a/pym/repoman/checks.py
+++ b/pym/repoman/checks.py
@@ -291,7 +291,7 @@ class IUseUndefined(LineCheck):
class EMakeParallelDisabled(LineCheck):
"""Check for emake -j1 calls which disable parallelization."""
- repoman_check_name = 'ebuild.minorsyn'
+ repoman_check_name = 'upstream.workaround'
re = re.compile(r'^\s*emake\s+-j\s*1\s')
error = errors.EMAKE_PARALLEL_DISABLED
diff --git a/pym/repoman/errors.py b/pym/repoman/errors.py
index 7c54cc13d..7f45bea21 100644
--- a/pym/repoman/errors.py
+++ b/pym/repoman/errors.py
@@ -13,5 +13,5 @@ MISSING_QUOTES_ERROR = 'Unquoted Variable on line: %d'
NESTED_DIE_ERROR = 'Ebuild calls die in a subshell on line: %d'
PATCHES_ERROR = 'PATCHES is not a bash array on line: %d'
REDUNDANT_CD_S_ERROR = 'Ebuild has redundant cd ${S} statement on line: %d'
-EMAKE_PARALLEL_DISABLED = 'Ebuild calls emake -j1 on line: %d'
+EMAKE_PARALLEL_DISABLED = 'Upstream parallel compilation bug (ebuild calls emake -j1 on line: %d)'
DEPRECATED_BINDNOW_FLAGS = 'Deprecated bindnow-flags call on line: %d'