diff options
author | Louis Sautier <sbraz@gentoo.org> | 2021-08-07 01:52:13 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2021-08-07 01:52:39 +0200 |
commit | 673a5cb3b8913c9e03dd7d08a91f47baca98fc70 (patch) | |
tree | 7fe5135744d1f5c882eac6df81186604ca5849cb /dev-python/flask-nav | |
parent | dev-python/netaddr: enable py3.10, fix DISTUTILS_USE_SETUPTOOLS (diff) | |
download | gentoo-673a5cb3b8913c9e03dd7d08a91f47baca98fc70.tar.gz gentoo-673a5cb3b8913c9e03dd7d08a91f47baca98fc70.tar.bz2 gentoo-673a5cb3b8913c9e03dd7d08a91f47baca98fc70.zip |
dev-python/flask-nav: make Python 3.10 really work
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/flask-nav')
-rw-r--r-- | dev-python/flask-nav/files/flask-nav-0.6-py310.patch | 17 | ||||
-rw-r--r-- | dev-python/flask-nav/flask-nav-0.6-r4.ebuild (renamed from dev-python/flask-nav/flask-nav-0.6-r3.ebuild) | 0 |
2 files changed, 7 insertions, 10 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 index e70209498a0b..02a06a9c99d9 100644 --- a/dev-python/flask-nav/files/flask-nav-0.6-py310.patch +++ b/dev-python/flask-nav/files/flask-nav-0.6-py310.patch @@ -1,16 +1,13 @@ -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 +index 7c25dfa..5826b9e 100644 --- a/flask_nav/__init__.py +++ b/flask_nav/__init__.py +@@ -1,4 +1,4 @@ +-import collections ++import collections.abc + from importlib import import_module + import re + @@ -46,7 +46,7 @@ class NavbarRenderingError(Exception): pass diff --git a/dev-python/flask-nav/flask-nav-0.6-r3.ebuild b/dev-python/flask-nav/flask-nav-0.6-r4.ebuild index c8f197283d11..c8f197283d11 100644 --- a/dev-python/flask-nav/flask-nav-0.6-r3.ebuild +++ b/dev-python/flask-nav/flask-nav-0.6-r4.ebuild |