Bug #262365 - Punt the prepalldocs check until there is an alternative
authorZac Medico <zmedico@gentoo.org>
Tue, 17 Mar 2009 05:52:27 +0000 (05:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 17 Mar 2009 05:52:27 +0000 (05:52 -0000)
available in EAPI 3.

svn path=/main/trunk/; revision=13118

bin/repoman
pym/repoman/checks.py
pym/repoman/errors.py

index b3f9a92fc2df818cd5698574a4ac2afa906e31bf..27d65e9f9d0c188ea8d89daa2da94ced5dbd1780 100755 (executable)
@@ -313,7 +313,6 @@ qahelp={
        "metadata.missing":"Missing metadata.xml files",
        "metadata.bad":"Bad metadata.xml files",
        "metadata.warning":"Warnings in metadata.xml files",
-       "portage.internal":"The ebuild uses an internal Portage function",
        "virtual.versioned":"PROVIDE contains virtuals with versions",
        "virtual.exists":"PROVIDE contains existing package names",
        "virtual.unavailable":"PROVIDE contains a virtual which contains no profile default",
@@ -352,7 +351,6 @@ qawarnings = set((
 "inherit.autotools",
 "java.eclassesnotused",
 "metadata.warning",
-"portage.internal",
 "virtual.versioned",
 "virtual.exists",
 "virtual.unavailable",
index a9e29d2bed3fb9ab5a6df2682b2f814e71bef941..4588120578d9ab776dd963c772e50dc7cef99716 100644 (file)
@@ -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
index 451e499ad727f269ee03779803ca2c53221a36c4..2e13e0d67f45746c0737df1681731678515ce533 100644 (file)
@@ -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'