diff options
author | Louis Sautier <sbraz@gentoo.org> | 2021-08-07 00:41:16 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2021-08-07 00:55:36 +0200 |
commit | fecee9ac333f9d195e2a1bedd6683eb299140074 (patch) | |
tree | e3db2de3a9d7634ce116b32ec7bb7ea9f8f7b0f8 /dev-python/flask-nav/files | |
parent | sys-apps/usbutils: Bump to version 014 (diff) | |
download | gentoo-fecee9ac333f9d195e2a1bedd6683eb299140074.tar.gz gentoo-fecee9ac333f9d195e2a1bedd6683eb299140074.tar.bz2 gentoo-fecee9ac333f9d195e2a1bedd6683eb299140074.zip |
dev-python/flask-nav: enable py310, update EAPI 7 -> 8
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/flask-nav/files')
-rw-r--r-- | dev-python/flask-nav/files/flask-nav-0.6-py310.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-python/flask-nav/files/flask-nav-0.6-py310.patch b/dev-python/flask-nav/files/flask-nav-0.6-py310.patch new file mode 100644 index 000000000000..e70209498a0b --- /dev/null +++ b/dev-python/flask-nav/files/flask-nav-0.6-py310.patch @@ -0,0 +1,22 @@ +From b61de7a6742f7d15f92b477b1518f420303b1efb Mon Sep 17 00:00:00 2001 +From: Jay Shepherd <shepherdjay@users.noreply.github.com> +Date: Mon, 27 Apr 2020 12:11:48 -0600 +Subject: [PATCH] Fix deprecation warning for collections + +--- + flask_nav/__init__.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/flask_nav/__init__.py b/flask_nav/__init__.py +index 7c25dfa..9fea6ee 100644 +--- a/flask_nav/__init__.py ++++ b/flask_nav/__init__.py +@@ -46,7 +46,7 @@ class NavbarRenderingError(Exception): + pass + + +-class ElementRegistry(collections.MutableMapping): ++class ElementRegistry(collections.abc.MutableMapping): + def __init__(self): + self._elems = {} + |