Mon Feb 25 09:00:35 2019 UTC ()
py-isort: updated to 4.3.6

4.3.6:
- Fixes a fatal error that occurs if a single finder throws an exception. Important as we add more finders that utilize third party libraries.

4.3.5:
This is the final Python 2.x release of isort, and includes the following major changes:

Potentially Interface Breaking:
- The -r option for removing imports has been renamed -rm to avoid accidental deletions and confusion with the -rc recursive option.
- __init__.py has been removed from the default ignore list. The default ignore list is now empty - with all items needing to be explicitly ignored.
- Isort will now by default ignore .tox / venv folders in an effort to be "safe". You can disable this behaviour by setting the "--unsafe" flag, this is separate from any skip or not skip rules you may have in place.
- Isort now allows for files missing closing newlines in whitespace check
- distutils support has been removed to simplify setup.py

New:
- Official Python 3.7 Compatibility.
- Support for using requirements files to auto determine third-paty section if pipreqs & requirementslib are installed.
- Added support for using pyproject.toml if toml is installed.
- Added support for XDG_HOME if appdirs is installed.
- An option has been added to enable ignoring trailing comments ('ignore_comments') defaulting to False.
- Added support to enable line length sorting for only specific sections
- Added a correctly_sorted property on the SortsImport to enable more intuitive programmatic checking.

Fixes:
- Improved black compatibility.
- Isort will no detect files in the CWD as first-party.
- Fixed several cases where '-ns' or 'not_skip' was being incorrectly ignored.
- Fixed sorting of relative path imports ('.', '..', '...', etc).
- Fixed bugs caused by a failure to maintain order when loading iterables from config files.
- Correctly handle CPython compiled imports and others that need EXT_SUFFIX to correctly identify.
- Fixed handling of Symbolic Links to follow them when walking the path.
- Fixed handling of relative known_paths.
- Fixed lack of access to all wrap modes from the CLI.
- Fixed handling of FIFO files.
- Fixed a bug that could result in multiple imports being inserted on the same line.


(adam)
diff -r1.1 -r1.2 pkgsrc/devel/py-isort/ALTERNATIVES
diff -r1.5 -r1.6 pkgsrc/devel/py-isort/Makefile
diff -r1.5 -r1.6 pkgsrc/devel/py-isort/distinfo
diff -r1.3 -r1.4 pkgsrc/devel/py-isort/PLIST
diff -r1.1 -r0 pkgsrc/devel/py-isort/patches/patch-setup.py

cvs diff -r1.1 -r1.2 pkgsrc/devel/py-isort/ALTERNATIVES (expand / switch to unified diff)

--- pkgsrc/devel/py-isort/ALTERNATIVES 2017/02/28 20:54:09 1.1
+++ pkgsrc/devel/py-isort/ALTERNATIVES 2019/02/25 09:00:35 1.2

cvs diff -r1.5 -r1.6 pkgsrc/devel/py-isort/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-isort/Makefile 2018/02/14 09:26:17 1.5
+++ pkgsrc/devel/py-isort/Makefile 2019/02/25 09:00:35 1.6
@@ -1,22 +1,26 @@ @@ -1,22 +1,26 @@
1# $NetBSD: Makefile,v 1.5 2018/02/14 09:26:17 adam Exp $ 1# $NetBSD: Makefile,v 1.6 2019/02/25 09:00:35 adam Exp $
2 2
3DISTNAME= isort-4.3.4 3DISTNAME= isort-4.3.6
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=i/isort/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=i/isort/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/timothycrosley/isort/ 9HOMEPAGE= https://github.com/timothycrosley/isort/
10COMMENT= Python utility / library to sort imports 10COMMENT= Python utility / library to sort imports
11LICENSE= mit 11LICENSE= mit
12 12
13.include "../../lang/python/pyversion.mk" 13.include "../../lang/python/pyversion.mk"
14 14
15.if "${PYPKGPREFIX}" == "py27" 15.if ${_PYTHON_VERSION} == 27
16DEPENDS+= ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures 16DEPENDS+= ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures
17.endif 17.endif
18 18
19USE_LANGUAGES= # none 19USE_LANGUAGES= # none
20 20
 21post-install:
 22 cd ${DESTDIR}${PREFIX}/bin && \
 23 ${MV} isort isort-${PYVERSSUFFIX} || ${TRUE}
 24
21.include "../../lang/python/egg.mk" 25.include "../../lang/python/egg.mk"
22.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/devel/py-isort/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-isort/distinfo 2018/02/14 09:26:17 1.5
+++ pkgsrc/devel/py-isort/distinfo 2019/02/25 09:00:35 1.6
@@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
1$NetBSD: distinfo,v 1.5 2018/02/14 09:26:17 adam Exp $ 1$NetBSD: distinfo,v 1.6 2019/02/25 09:00:35 adam Exp $
2 2
3SHA1 (isort-4.3.4.tar.gz) = 1964e216b60df1bc71db170089ed565011dcd133 3SHA1 (isort-4.3.6.tar.gz) = 861a8edda6cae5604873811f8f51e08eb30efcbd
4RMD160 (isort-4.3.4.tar.gz) = 48e3caab73e2830bd3ac2c6ebe139e5527018057 4RMD160 (isort-4.3.6.tar.gz) = 30b06806328669c6643475aafd50f49d2de09311
5SHA512 (isort-4.3.4.tar.gz) = ffe679b96223f5f41d14c61051a875233857f7ccab33211c195ed62b85cc1e9bef0af67f9960e94322fff216c1bfaaa583fbd2ef20e258f90a184a25d011213a 5SHA512 (isort-4.3.6.tar.gz) = 364f1781d247c81fe2ea4be998ccd9c26a6fcc8c70714b06878df8404e1c2a4493a7d156281148de2ff528c9dce793874b3ef518587eebb1e8fe617f0c711742
6Size (isort-4.3.4.tar.gz) = 56070 bytes 6Size (isort-4.3.6.tar.gz) = 61820 bytes
7SHA1 (patch-setup.py) = 2d658729d243ecf5c6e5af13f14f7fda009e322a 

cvs diff -r1.3 -r1.4 pkgsrc/devel/py-isort/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-isort/PLIST 2018/02/02 11:51:07 1.3
+++ pkgsrc/devel/py-isort/PLIST 2019/02/25 09:00:35 1.4
@@ -1,35 +1,41 @@ @@ -1,35 +1,41 @@
1@comment $NetBSD: PLIST,v 1.3 2018/02/02 11:51:07 adam Exp $ 1@comment $NetBSD: PLIST,v 1.4 2019/02/25 09:00:35 adam Exp $
2bin/isort${PYVERSSUFFIX} 2bin/isort-${PYVERSSUFFIX}
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
7${PYSITELIB}/${EGG_INFODIR}/requires.txt 7${PYSITELIB}/${EGG_INFODIR}/requires.txt
8${PYSITELIB}/${EGG_INFODIR}/top_level.txt 8${PYSITELIB}/${EGG_INFODIR}/top_level.txt
9${PYSITELIB}/isort/__init__.py 9${PYSITELIB}/isort/__init__.py
10${PYSITELIB}/isort/__init__.pyc 10${PYSITELIB}/isort/__init__.pyc
11${PYSITELIB}/isort/__init__.pyo 11${PYSITELIB}/isort/__init__.pyo
12${PYSITELIB}/isort/__main__.py 12${PYSITELIB}/isort/__main__.py
13${PYSITELIB}/isort/__main__.pyc 13${PYSITELIB}/isort/__main__.pyc
14${PYSITELIB}/isort/__main__.pyo 14${PYSITELIB}/isort/__main__.pyo
 15${PYSITELIB}/isort/finders.py
 16${PYSITELIB}/isort/finders.pyc
 17${PYSITELIB}/isort/finders.pyo
15${PYSITELIB}/isort/hooks.py 18${PYSITELIB}/isort/hooks.py
16${PYSITELIB}/isort/hooks.pyc 19${PYSITELIB}/isort/hooks.pyc
17${PYSITELIB}/isort/hooks.pyo 20${PYSITELIB}/isort/hooks.pyo
18${PYSITELIB}/isort/isort.py 21${PYSITELIB}/isort/isort.py
19${PYSITELIB}/isort/isort.pyc 22${PYSITELIB}/isort/isort.pyc
20${PYSITELIB}/isort/isort.pyo 23${PYSITELIB}/isort/isort.pyo
21${PYSITELIB}/isort/main.py 24${PYSITELIB}/isort/main.py
22${PYSITELIB}/isort/main.pyc 25${PYSITELIB}/isort/main.pyc
23${PYSITELIB}/isort/main.pyo 26${PYSITELIB}/isort/main.pyo
24${PYSITELIB}/isort/natural.py 27${PYSITELIB}/isort/natural.py
25${PYSITELIB}/isort/natural.pyc 28${PYSITELIB}/isort/natural.pyc
26${PYSITELIB}/isort/natural.pyo 29${PYSITELIB}/isort/natural.pyo
27${PYSITELIB}/isort/pie_slice.py 30${PYSITELIB}/isort/pie_slice.py
28${PYSITELIB}/isort/pie_slice.pyc 31${PYSITELIB}/isort/pie_slice.pyc
29${PYSITELIB}/isort/pie_slice.pyo 32${PYSITELIB}/isort/pie_slice.pyo
30${PYSITELIB}/isort/pylama_isort.py 33${PYSITELIB}/isort/pylama_isort.py
31${PYSITELIB}/isort/pylama_isort.pyc 34${PYSITELIB}/isort/pylama_isort.pyc
32${PYSITELIB}/isort/pylama_isort.pyo 35${PYSITELIB}/isort/pylama_isort.pyo
33${PYSITELIB}/isort/settings.py 36${PYSITELIB}/isort/settings.py
34${PYSITELIB}/isort/settings.pyc 37${PYSITELIB}/isort/settings.pyc
35${PYSITELIB}/isort/settings.pyo 38${PYSITELIB}/isort/settings.pyo
 39${PYSITELIB}/isort/utils.py
 40${PYSITELIB}/isort/utils.pyc
 41${PYSITELIB}/isort/utils.pyo

File Deleted: pkgsrc/devel/py-isort/patches/Attic/patch-setup.py