diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-05-23 15:06:19 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-05-25 12:20:12 -0400 |
commit | da6d3bb8357445a228a797046eb0b76dbbbaada0 (patch) | |
tree | dfe11c272f9fb3ea5d77dc3262318444308e70f3 /pym/repoman/errors.py | |
parent | a1578c654f26cab07309bc9cbddd3c95c0c205b5 (diff) | |
download | portage-da6d3bb8357445a228a797046eb0b76dbbbaada0.tar.gz portage-da6d3bb8357445a228a797046eb0b76dbbbaada0.tar.bz2 portage-da6d3bb8357445a228a797046eb0b76dbbbaada0.zip |
repoman: add a mini framework for checking eclasses, and fill it out
Rather than copying & pasting the same behavior for the different eclass
checks, add a common class for them to extend. This makes adding more
eclass checks trivial, and keeps down bitrot.
This does abuse the checking interface slightly -- the eclass will change
its category between unused and missing based on the checks.
URL: https://bugs.gentoo.org/417159
URL: https://bugs.gentoo.org/417231
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'pym/repoman/errors.py')
-rw-r--r-- | pym/repoman/errors.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pym/repoman/errors.py b/pym/repoman/errors.py index 320924316..c515502c4 100644 --- a/pym/repoman/errors.py +++ b/pym/repoman/errors.py @@ -19,7 +19,6 @@ EAPI_DEFINED_AFTER_INHERIT = 'EAPI defined after inherit on line: %d' NO_AS_NEEDED = 'Upstream asneeded linking bug (no-as-needed on line: %d)' PRESERVE_OLD_LIB = 'Upstream ABI change workaround on line: %d' BUILT_WITH_USE = 'built_with_use on line: %d' -EPREFIXIFY_MISSING_INHERIT = "prefix.eclass is not inherited, but eprefixify is used on line: %d" NO_OFFSET_WITH_HELPERS = "Helper function is used with D, ROOT, ED, EROOT or EPREFIX on line :%d" SANDBOX_ADDPREDICT = 'Ebuild calls addpredict on line: %d' USEQ_ERROR = 'Ebuild calls deprecated useq function on line: %d' |