From f6f05d19fdab287af016c73c0746d98f56141522 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 23 Mar 2021 18:33:16 +0200 Subject: python3-isort: Upgrade 5.7.0 -> 5.8.0 Upgrade to release 5.8.0: - Fix: as import comments can in some cases be duplicated. - Fix: extra newline added with float-to-top, after skip, in some cases. - Fix: incorrect placement of noqa comments with multiple from imports. - Fix: in some cases different length limits for dos based line endings. - Export MyPY type hints. - Identified import statements now return runnable code. - Added "wemake" profile. - Parallel (-j) now defaults to number of CPU cores if no value is provided. - Added a safeguard against accidental usage against /. - Provide a flag --overwrite-in-place to ensure same file handle is used after sorting. - Added support for extending skips with --extend-skip and --extend-skip-glob. - Auto identification and skipping of some invalid import statements. - Ability to reverse the import sorting order. - Added ability to push star imports to the top to avoid overriding explicitly defined imports. - Doc: Skip doesn't support plain directory names, but skip_glob does. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-isort_5.7.0.bb | 16 ---------------- .../recipes-devtools/python/python3-isort_5.8.0.bb | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-isort_5.7.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-isort_5.8.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-isort_5.7.0.bb b/meta-python/recipes-devtools/python/python3-isort_5.7.0.bb deleted file mode 100644 index 9f234ee461..0000000000 --- a/meta-python/recipes-devtools/python/python3-isort_5.7.0.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "A Python utility / library to sort Python imports." -HOMEPAGE = "https://pypi.python.org/pypi/isort" -LICENSE = "MIT" -SECTION = "devel/python" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e1489" - -SRC_URI[sha256sum] = "c729845434366216d320e936b8ad6f9d681aab72dc7cbc2d51bedc3582f3ad1e" - -inherit pypi setuptools3 - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-shell \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-isort_5.8.0.bb b/meta-python/recipes-devtools/python/python3-isort_5.8.0.bb new file mode 100644 index 0000000000..36de825d2a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-isort_5.8.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "A Python utility / library to sort Python imports." +HOMEPAGE = "https://pypi.python.org/pypi/isort" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e1489" + +SRC_URI[sha256sum] = "0a943902919f65c5684ac4e0154b1ad4fac6dcaa5d9f3426b732f1c8b5419be6" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-shell \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf