git: 043bbc109316 - main - devel/py-flake8-import-order: update 0.18.1 → 0.18.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Nov 2022 13:04:22 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=043bbc109316cb3be85a60ca54b9cdfdd06fcd7b commit 043bbc109316cb3be85a60ca54b9cdfdd06fcd7b Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-11-28 13:21:15 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-11-29 13:04:16 +0000 devel/py-flake8-import-order: update 0.18.1 → 0.18.2 --- devel/py-flake8-import-order/Makefile | 3 +- devel/py-flake8-import-order/distinfo | 6 +-- devel/py-flake8-import-order/files/patch-flake8-6 | 44 ---------------------- devel/py-flake8-import-order/files/patch-python3.9 | 19 ---------- 4 files changed, 4 insertions(+), 68 deletions(-) diff --git a/devel/py-flake8-import-order/Makefile b/devel/py-flake8-import-order/Makefile index 6c4424c9100f..60a1c6a6684e 100644 --- a/devel/py-flake8-import-order/Makefile +++ b/devel/py-flake8-import-order/Makefile @@ -1,6 +1,5 @@ PORTNAME= flake8-import-order -PORTVERSION= 0.18.1 -PORTREVISION= 2 +PORTVERSION= 0.18.2 CATEGORIES= devel MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-flake8-import-order/distinfo b/devel/py-flake8-import-order/distinfo index 88a4a8257f27..751f7efe33a6 100644 --- a/devel/py-flake8-import-order/distinfo +++ b/devel/py-flake8-import-order/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1552321999 -SHA256 (flake8-import-order-0.18.1.tar.gz) = a28dc39545ea4606c1ac3c24e9d05c849c6e5444a50fb7e9cdd430fc94de6e92 -SIZE (flake8-import-order-0.18.1.tar.gz) = 21180 +TIMESTAMP = 1669641533 +SHA256 (flake8-import-order-0.18.2.tar.gz) = e23941f892da3e0c09d711babbb0c73bc735242e9b216b726616758a920d900e +SIZE (flake8-import-order-0.18.2.tar.gz) = 21717 diff --git a/devel/py-flake8-import-order/files/patch-flake8-6 b/devel/py-flake8-import-order/files/patch-flake8-6 deleted file mode 100644 index c77bc82a1279..000000000000 --- a/devel/py-flake8-import-order/files/patch-flake8-6 +++ /dev/null @@ -1,44 +0,0 @@ -From 231a632a294bb303d7d50ccc1d7650526493efa7 Mon Sep 17 00:00:00 2001 -From: Mike Bayer <mike_mp@zzzcomputing.com> -Date: Wed, 23 Nov 2022 17:36:42 -0500 -Subject: [PATCH] repair register opt calls - -flake8 uses only argparse option styles now, use -str instead of "string" for types given. - -Fixes: #189 ---- - flake8_import_order/flake8_linter.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/flake8_import_order/flake8_linter.py b/flake8_import_order/flake8_linter.py -index c6fb1ba..7734592 100644 ---- flake8_import_order/flake8_linter.py -+++ flake8_import_order/flake8_linter.py -@@ -25,7 +25,7 @@ def add_options(cls, parser): - "--application-import-names", - default="", - action="store", -- type="string", -+ type=str, - help="Import names to consider as application-specific", - parse_from_config=True, - comma_separated_list=True, -@@ -35,7 +35,7 @@ def add_options(cls, parser): - "--application-package-names", - default="", - action="store", -- type="string", -+ type=str, - help=("Package names to consider as company-specific " - "(used only by 'appnexus' style)"), - parse_from_config=True, -@@ -46,7 +46,7 @@ def add_options(cls, parser): - "--import-order-style", - default=DEFAULT_IMPORT_ORDER_STYLE, - action="store", -- type="string", -+ type=str, - help=("Style to follow. Available: " + - ", ".join(cls.list_available_styles())), - parse_from_config=True, diff --git a/devel/py-flake8-import-order/files/patch-python3.9 b/devel/py-flake8-import-order/files/patch-python3.9 deleted file mode 100644 index ae44f74840b5..000000000000 --- a/devel/py-flake8-import-order/files/patch-python3.9 +++ /dev/null @@ -1,19 +0,0 @@ -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", - }