diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-03-19 20:53:10 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-03-19 20:53:10 +0100 |
commit | 03fa0b2ce8bdb625ccdcef676f95ba9617c1f207 (patch) | |
tree | fd67dd4fe6e0b3192a0116f4b6cd1fbd3395c93d /dev-ada/langkit/files | |
parent | dev-ada/libadalang: drop 22.0.0 (diff) | |
download | gentoo-03fa0b2ce8bdb625ccdcef676f95ba9617c1f207.tar.gz gentoo-03fa0b2ce8bdb625ccdcef676f95ba9617c1f207.tar.bz2 gentoo-03fa0b2ce8bdb625ccdcef676f95ba9617c1f207.zip |
dev-ada/langkit: drop 22.0.0-r3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/langkit/files')
-rw-r--r-- | dev-ada/langkit/files/langkit-22.0.0-abc.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/dev-ada/langkit/files/langkit-22.0.0-abc.patch b/dev-ada/langkit/files/langkit-22.0.0-abc.patch deleted file mode 100644 index 0b3e9bbf8f4f..000000000000 --- a/dev-ada/langkit/files/langkit-22.0.0-abc.patch +++ /dev/null @@ -1,24 +0,0 @@ -From cdc5768fb8db416e4eede97639f381a537ae9336 Mon Sep 17 00:00:00 2001 -From: Charles Pigott <charlespigott@googlemail.com> -Date: Wed, 10 Nov 2021 20:42:12 +0000 -Subject: [PATCH] Use collections.abc.Sequence as the alias is set to be - removed - -Alias has been in place since Py 3.3, and minimum (test) version is 3.7. ---- - langkit/templates/python_api/module_py.mako | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/langkit/templates/python_api/module_py.mako b/langkit/templates/python_api/module_py.mako -index 831fb6044..65373fdbc 100644 ---- a/langkit/templates/python_api/module_py.mako -+++ b/langkit/templates/python_api/module_py.mako -@@ -1503,7 +1503,7 @@ class ${root_astnode_name}: - if isinstance(ast_type_or_pred, type): - sought_type = ast_type_or_pred - pred = lambda node: isinstance(node, sought_type) -- elif isinstance(ast_type_or_pred, collections.Sequence): -+ elif isinstance(ast_type_or_pred, collections.abc.Sequence): - sought_types = ast_type_or_pred - pred = lambda node: isinstance(node, tuple(sought_types)) - else: |