Line
Link Here
|
0 |
-- pym/repoman/checks.py |
0 |
++ pym/repoman/checks.py |
Lines 682-689
Link Here
|
682 |
error = errors.NO_AS_NEEDED |
682 |
error = errors.NO_AS_NEEDED |
683 |
|
683 |
|
684 |
class PreserveOldLib(LineCheck): |
684 |
class PreserveOldLib(LineCheck): |
685 |
"""Check for calls to the preserve_old_lib function.""" |
685 |
"""Check for calls to the deprecated preserve_old_lib function.""" |
686 |
repoman_check_name = 'upstream.workaround' |
686 |
repoman_check_name = 'ebuild.minorsym' |
687 |
re = re.compile(r'.*preserve_old_lib') |
687 |
re = re.compile(r'.*preserve_old_lib') |
688 |
error = errors.PRESERVE_OLD_LIB |
688 |
error = errors.PRESERVE_OLD_LIB |
689 |
|
689 |
|
690 |
-- pym/repoman/errors.py |
690 |
++ pym/repoman/errors.py |
Lines 19-25
Link Here
|
19 |
DEPRECATED_BINDNOW_FLAGS = 'Deprecated bindnow-flags call 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' |
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)' |
21 |
NO_AS_NEEDED = 'Upstream asneeded linking bug (no-as-needed on line: %d)' |
22 |
PRESERVE_OLD_LIB = 'Upstream ABI change workaround 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' |
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" |
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' |
25 |
SANDBOX_ADDPREDICT = 'Ebuild calls addpredict on line: %d' |