repoman: check for deprecated useq and hasq calls
[portage.git] / pym / repoman / errors.py
1 # repoman: Error Messages
2 # Copyright 2007-2011 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4
5 COPYRIGHT_ERROR = 'Invalid Gentoo Copyright on line: %d'
6 LICENSE_ERROR = 'Invalid Gentoo/GPL License on line: %d'
7 CVS_HEADER_ERROR = 'Malformed CVS Header on line: %d'
8 LEADING_SPACES_ERROR = 'Ebuild contains leading spaces on line: %d'
9 TRAILING_WHITESPACE_ERROR = 'Trailing whitespace error on line: %d'
10 READONLY_ASSIGNMENT_ERROR = 'Ebuild contains assignment to read-only variable on line: %d'
11 MISSING_QUOTES_ERROR = 'Unquoted Variable on line: %d'
12 NESTED_DIE_ERROR = 'Ebuild calls die in a subshell on line: %d'
13 PATCHES_ERROR = 'PATCHES is not a bash array on line: %d'
14 REDUNDANT_CD_S_ERROR = 'Ebuild has redundant cd ${S} statement on line: %d'
15 EMAKE_PARALLEL_DISABLED = 'Upstream parallel compilation bug (ebuild calls emake -j1 on line: %d)'
16 EMAKE_PARALLEL_DISABLED_VIA_MAKEOPTS = 'Upstream parallel compilation bug (MAKEOPTS=-j1 on line: %d)'
17 DEPRECATED_BINDNOW_FLAGS = 'Deprecated bindnow-flags call on line: %d'
18 EAPI_DEFINED_AFTER_INHERIT = 'EAPI defined after inherit on line: %d'
19 NO_AS_NEEDED = 'Upstream asneeded linking bug (no-as-needed on line: %d)'
20 PRESERVE_OLD_LIB = 'Upstream ABI change workaround on line: %d'
21 BUILT_WITH_USE = 'built_with_use on line: %d'
22 EPREFIXIFY_MISSING_INHERIT = "prefix.eclass is not inherited, but eprefixify is used on line: %d"
23 NO_OFFSET_WITH_HELPERS = "Helper function is used with D, ROOT, ED, EROOT or EPREFIX on line :%d"
24 SANDBOX_ADDPREDICT = 'Ebuild calls addpredict on line: %d'
25 USEQ_ERROR = 'Ebuild calls deprecated useq function on line: %d'
26 HASQ_ERROR = 'Ebuild calls deprecated hasq function on line: %d'