commit:     d4bd6045a50c4e662e36c2ad247c6c13d6f3e534
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Sun Aug 18 23:23:22 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Feb 25 23:37:29 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=d4bd6045

repoman: Change message for preserve_old_lib (bug 692486)

Bug: https://bugs.gentoo.org/692486
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 repoman/cnf/linechecks/linechecks.yaml                          | 2 +-
 repoman/lib/repoman/modules/linechecks/deprecated/deprecated.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/repoman/cnf/linechecks/linechecks.yaml 
b/repoman/cnf/linechecks/linechecks.yaml
index 2182b467a..c6c72ab26 100644
--- a/repoman/cnf/linechecks/linechecks.yaml
+++ b/repoman/cnf/linechecks/linechecks.yaml
@@ -25,7 +25,7 @@ errors:
     DEPRECATED_BINDNOW_FLAGS: 'Deprecated bindnow-flags call'
     EAPI_DEFINED_AFTER_INHERIT: 'EAPI defined after inherit'
     NO_AS_NEEDED: 'Upstream asneeded linking bug (no-as-needed)'
-    PRESERVE_OLD_LIB: 'Ebuild calls deprecated preserve_old_lib'
+    PRESERVE_OLD_LIB: 'Ebuild calls preserve_old_lib function reserved for 
system packages'
     BUILT_WITH_USE: 'built_with_use'
     NO_OFFSET_WITH_HELPERS: 'Helper function is used with D, ROOT, ED, EROOT 
or EPREFIX'
     USEQ_ERROR: 'Ebuild calls deprecated useq function'

diff --git a/repoman/lib/repoman/modules/linechecks/deprecated/deprecated.py 
b/repoman/lib/repoman/modules/linechecks/deprecated/deprecated.py
index d1a590f1d..7c65c9ca0 100644
--- a/repoman/lib/repoman/modules/linechecks/deprecated/deprecated.py
+++ b/repoman/lib/repoman/modules/linechecks/deprecated/deprecated.py
@@ -19,7 +19,7 @@ class DeprecatedHasq(LineCheck):
 
 
 class PreserveOldLib(LineCheck):
-       """Check for calls to the deprecated preserve_old_lib function."""
+       """Check for calls to the preserve_old_lib function reserved for system 
packages."""
        repoman_check_name = 'ebuild.minorsyn'
        re = re.compile(r'.*preserve_old_lib')
        error = 'PRESERVE_OLD_LIB'

Reply via email to