Fix detection of new python 3.9 stdlib module as such
This commit is contained in:
parent
62caf5a1ab
commit
5e26198f2f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553896
2 changed files with 20 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= flake8-import-order
|
||||
PORTVERSION= 0.18.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
19
devel/py-flake8-import-order/files/patch-python3.9
Normal file
19
devel/py-flake8-import-order/files/patch-python3.9
Normal file
|
@ -0,0 +1,19 @@
|
|||
From 6916da0cfbbe21e8b49bed3cbf25b9657dfe9452 Mon Sep 17 00:00:00 2001
|
||||
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
Date: Tue, 20 Oct 2020 16:26:42 +0300
|
||||
Subject: [PATCH] Recognize zoneinfo introduced in python 3.9 as stdlib
|
||||
|
||||
---
|
||||
flake8_import_order/stdlib_list.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/flake8_import_order/stdlib_list.py b/flake8_import_order/stdlib_list.py
|
||||
index c6d9353..59fd913 100644
|
||||
--- flake8_import_order/stdlib_list.py
|
||||
+++ flake8_import_order/stdlib_list.py
|
||||
@@ -316,4 +316,5 @@
|
||||
"zipfile",
|
||||
"zipimport",
|
||||
"zlib",
|
||||
+ "zoneinfo",
|
||||
}
|
Loading…
Reference in a new issue