svn commit: r553896 - in head/devel/py-flake8-import-order: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Nov 2 10:40:52 UTC 2020


Author: amdmi3
Date: Mon Nov  2 10:40:48 2020
New Revision: 553896
URL: https://svnweb.freebsd.org/changeset/ports/553896

Log:
  Fix detection of new python 3.9 stdlib module as such

Added:
  head/devel/py-flake8-import-order/files/
  head/devel/py-flake8-import-order/files/patch-python3.9   (contents, props changed)
Modified:
  head/devel/py-flake8-import-order/Makefile

Modified: head/devel/py-flake8-import-order/Makefile
==============================================================================
--- head/devel/py-flake8-import-order/Makefile	Mon Nov  2 10:40:43 2020	(r553895)
+++ head/devel/py-flake8-import-order/Makefile	Mon Nov  2 10:40:48 2020	(r553896)
@@ -3,6 +3,7 @@
 
 PORTNAME=	flake8-import-order
 PORTVERSION=	0.18.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

Added: head/devel/py-flake8-import-order/files/patch-python3.9
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-flake8-import-order/files/patch-python3.9	Mon Nov  2 10:40:48 2020	(r553896)
@@ -0,0 +1,19 @@
+From 6916da0cfbbe21e8b49bed3cbf25b9657dfe9452 Mon Sep 17 00:00:00 2001
+From: Dmitry Marakasov <amdmi3 at 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",
+ }


More information about the svn-ports-head mailing list