[PATCH] repoman: Restore eclass deprecations lost in rewrite

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] repoman: Restore eclass deprecations lost in rewrite

Michał Górny-5
Signed-off-by: Michał Górny <[hidden email]>
---
 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(.*)$')
--
2.25.1


Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] repoman: Restore eclass deprecations lost in rewrite

Zac Medico-2
On 2/26/20 6:34 AM, Michał Górny wrote:

> Signed-off-by: Michał Górny <[hidden email]>
> ---
>  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(.*)$')
>
Looks good (I see it's equivalent to
98735cce528e0695f59d88ba6406ff6aeb595400). Please merge.
--
Thanks,
Zac


signature.asc (1000 bytes) Download Attachment