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