[gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/modules/linechecks/deprecated/, repoman/cnf/linechecks/

2021-02-25 Thread Zac Medico
commit: d4bd6045a50c4e662e36c2ad247c6c13d6f3e534
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Aug 18 23:23:22 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Feb 25 23:37:29 2021 +
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  Apache.Org>
Signed-off-by: Zac Medico  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'



[gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/modules/linechecks/deprecated/

2020-08-14 Thread Zac Medico
commit: 336df196217d8907788567a0349270348041657e
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Aug 14 21:43:28 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Aug 14 22:11:41 2020 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=336df196

Revert "repoman: deprecate netsurf.eclass."

This reverts commit a73024729860f9224b8d1660d24c450080b67d9f. This
eclass was successfully purged from the tree, so the deprecation is no
longer needed. And eventually, to address an eblit infestation,
another eclass with the same name will return. The new one will not be
deprecated.

Signed-off-by: Michael Orlitzky  gentoo.org>
Signed-off-by: Zac Medico  gentoo.org>

 repoman/lib/repoman/modules/linechecks/deprecated/inherit.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py 
b/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
index 60410347b..5848a0c37 100644
--- a/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
+++ b/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
@@ -33,7 +33,6 @@ class InheritDeprecated(LineCheck):
"gst-plugins10": "gstreamer",
"ltprune": False,
"mono": "mono-env",
-   "netsurf": False,
"python": "python-r1 / python-single-r1 / python-any-r1",
"ruby": "ruby-ng",
"user": "GLEP 81",



[gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/modules/linechecks/deprecated/

2020-06-16 Thread Zac Medico
commit: a73024729860f9224b8d1660d24c450080b67d9f
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Jun 16 17:36:35 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Tue Jun 16 17:49:02 2020 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=a7302472

repoman: deprecate netsurf.eclass.

While investigating bug 489542, it became clear that the netsurf
eclass is deprecated in spirit if not in fact. All of the newer
netsurf ebuilds use a custom function loaded from a script that is
shipped in netsurf-buildsystem's $FILESDIR to do (some of) what the
eclass used to do. That function probably does belong in an eclass,
but at this point, we should throw this thing out and start from
scratch.

By deprecating the eclass, we make sure that no one else inherits it
during the time it takes to purge the two remaining consumers. Then,
once those are gone, the build system script magic can be put back
into an eclass, and its consumers updated one-at-a-time.

Bug: https://bugs.gentoo.org/489542
Bug: https://bugs.gentoo.org/637824
Signed-off-by: Michael Orlitzky  gentoo.org>
Signed-off-by: Zac Medico  gentoo.org>

 repoman/lib/repoman/modules/linechecks/deprecated/inherit.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py 
b/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
index 5848a0c37..60410347b 100644
--- a/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
+++ b/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
@@ -33,6 +33,7 @@ class InheritDeprecated(LineCheck):
"gst-plugins10": "gstreamer",
"ltprune": False,
"mono": "mono-env",
+   "netsurf": False,
"python": "python-r1 / python-single-r1 / python-any-r1",
"ruby": "ruby-ng",
"user": "GLEP 81",



[gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/modules/linechecks/deprecated/

2020-06-08 Thread Zac Medico
commit: 4b88adca550e96ed307ad540641250e6bc25670b
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Jun  8 10:00:17 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Tue Jun  9 00:14:06 2020 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=4b88adca

repoman: add cmake-utils to deprecated eclasses

Closes: https://github.com/gentoo/portage/pull/554
Signed-off-by: Georgy Yakovlev  gentoo.org>
Signed-off-by: Zac Medico  gentoo.org>

 repoman/lib/repoman/modules/linechecks/deprecated/inherit.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py 
b/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
index f307d46fd..5848a0c37 100644
--- a/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
+++ b/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
@@ -17,6 +17,7 @@ class InheritDeprecated(LineCheck):
"bash-completion": "bash-completion-r1",
"boost-utils": False,
"clutter": "gnome2",
+   "cmake-utils": "cmake",
"confutils": False,
"distutils": "distutils-r1",
"epatch": "(eapply since EAPI 6)",



[gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/modules/linechecks/deprecated/

2020-02-26 Thread Michał Górny
commit: 467b285a0ba24866da97ada12c8b6af56fcba90e
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 26 14:33:51 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 26 18:08:07 2020 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=467b285a

repoman: Restore eclass deprecations lost in rewrite

Reviewed-by: Zac Medico  gentoo.org>
Signed-off-by: Michał Górny  gentoo.org>

 repoman/lib/repoman/modules/linechecks/deprecated/inherit.py | 5 +
 1 file changed, 5 insertions(+)

diff --git a/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py 
b/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
index 9cef086da..f307d46fd 100644
--- a/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
+++ b/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
@@ -11,6 +11,8 @@ class InheritDeprecated(LineCheck):
 
# deprecated eclass : new eclass (False if no new eclass)
deprecated_eclasses = {
+   "autotools-multilib": "multilib-minimal",
+   "autotools-utils": False,
"base": False,
"bash-completion": "bash-completion-r1",
"boost-utils": False,
@@ -18,8 +20,10 @@ class InheritDeprecated(LineCheck):
"confutils": False,
"distutils": "distutils-r1",
"epatch": "(eapply since EAPI 6)",
+   "fdo-mime": "xdg-utils",
"games": False,
"gems": "ruby-fakegem",
+   "git-2": "git-r3",
"gpe": False,
"gst-plugins-bad": "gstreamer",
"gst-plugins-base": "gstreamer",
@@ -33,6 +37,7 @@ class InheritDeprecated(LineCheck):
"user": "GLEP 81",
"versionator": "eapi7-ver (built-in since EAPI 7)",
"x-modular": "xorg-2",
+   "xfconf": False,
}
 
_inherit_re = re.compile(r'^\s*inherit\s(.*)$')



[gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/modules/linechecks/deprecated/

2019-07-23 Thread Michał Górny
commit: 3e3aae4a5871f897e610ef573f8744496ff8e62e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 23 15:00:20 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul 24 02:22:35 2019 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=3e3aae4a

repoman: add 'user.eclass' to deprecated eclasses

Make repoman report user.eclass as deprecated by GLEP 81.

Reviewed-by: Zac Medico  gentoo.org>
Signed-off-by: Michał Górny  gentoo.org>

 repoman/lib/repoman/modules/linechecks/deprecated/inherit.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py 
b/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
index 77ad4f625..361da09b9 100644
--- a/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
+++ b/repoman/lib/repoman/modules/linechecks/deprecated/inherit.py
@@ -30,6 +30,7 @@ class InheritDeprecated(LineCheck):
"mono": "mono-env",
"python": "python-r1 / python-single-r1 / python-any-r1",
"ruby": "ruby-ng",
+   "user": "GLEP 81",
"versionator": "eapi7-ver (built-in since EAPI 7)",
"x-modular": "xorg-2",
}