diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-17 05:52:27 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-17 05:52:27 +0000 |
commit | 9da1ab2d6d894d784f9020688302743ce641fa30 (patch) | |
tree | 05305995f4c80525ca4430ccda5eeaaad6fffd6d /pym/repoman | |
parent | 2913d535915ef5c00931a05cddf7021d69849891 (diff) | |
download | portage-9da1ab2d6d894d784f9020688302743ce641fa30.tar.gz portage-9da1ab2d6d894d784f9020688302743ce641fa30.tar.bz2 portage-9da1ab2d6d894d784f9020688302743ce641fa30.zip |
Bug #262365 - Punt the prepalldocs check until there is an alternative
available in EAPI 3.
svn path=/main/trunk/; revision=13118
Diffstat (limited to 'pym/repoman')
-rw-r--r-- | pym/repoman/checks.py | 11 | ||||
-rw-r--r-- | pym/repoman/errors.py | 1 |
2 files changed, 1 insertions, 11 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index a9e29d2be..458812057 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -345,15 +345,6 @@ class WantAutoDefaultValue(LineCheck): return 'WANT_AUTO' + m.group(1) + \ ' redundantly set to default value "latest" on line: %d' -class PortageInternal(LineCheck): - """ - In February 2009 the Gentoo council ruled that - prepalldocs is a Portage internal. - """ - repoman_check_name = 'portage.internal' - re = re.compile(r'[^#]*\bprepalldocs\b') - error = errors.PREPALLDOCS_ERROR - _constant_checks = tuple((c() for c in ( EbuildHeader, EbuildWhitespace, EbuildQuote, EbuildAssignment, EbuildUselessDodoc, @@ -361,7 +352,7 @@ _constant_checks = tuple((c() for c in ( EbuildPatches, EbuildQuotedA, IUseUndefined, ImplicitRuntimeDeps, InheritAutotools, EMakeParallelDisabled, EMakeParallelDisabledViaMAKEOPTS, - DeprecatedBindnowFlags, WantAutoDefaultValue, PortageInternal))) + DeprecatedBindnowFlags, WantAutoDefaultValue))) def run_checks(contents, pkg): checks = _constant_checks diff --git a/pym/repoman/errors.py b/pym/repoman/errors.py index 451e499ad..2e13e0d67 100644 --- a/pym/repoman/errors.py +++ b/pym/repoman/errors.py @@ -16,4 +16,3 @@ REDUNDANT_CD_S_ERROR = 'Ebuild has redundant cd ${S} statement on line: %d' EMAKE_PARALLEL_DISABLED = 'Upstream parallel compilation bug (ebuild calls emake -j1 on line: %d)' EMAKE_PARALLEL_DISABLED_VIA_MAKEOPTS = 'Upstream parallel compilation bug (MAKEOPTS=-j1 on line: %d)' DEPRECATED_BINDNOW_FLAGS = 'Deprecated bindnow-flags call on line: %d' -PREPALLDOCS_ERROR = 'prepalldocs called on line: %d' |