pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-isort
Module Name: pkgsrc
Committed By: adam
Date: Mon Feb 25 09:00:35 UTC 2019
Modified Files:
pkgsrc/devel/py-isort: ALTERNATIVES Makefile PLIST distinfo
Removed Files:
pkgsrc/devel/py-isort/patches: patch-setup.py
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-isort/ALTERNATIVES
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-isort/Makefile \
pkgsrc/devel/py-isort/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-isort/PLIST
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/py-isort/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-isort/ALTERNATIVES
diff -u pkgsrc/devel/py-isort/ALTERNATIVES:1.1 pkgsrc/devel/py-isort/ALTERNATIVES:1.2
--- pkgsrc/devel/py-isort/ALTERNATIVES:1.1 Tue Feb 28 20:54:09 2017
+++ pkgsrc/devel/py-isort/ALTERNATIVES Mon Feb 25 09:00:35 2019
@@ -1 +1 @@
-bin/isort @PREFIX@/bin/isort@PYVERSSUFFIX@
+bin/isort @PREFIX@/bin/isort-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-isort/Makefile
diff -u pkgsrc/devel/py-isort/Makefile:1.5 pkgsrc/devel/py-isort/Makefile:1.6
--- pkgsrc/devel/py-isort/Makefile:1.5 Wed Feb 14 09:26:17 2018
+++ pkgsrc/devel/py-isort/Makefile Mon Feb 25 09:00:35 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2018/02/14 09:26:17 adam Exp $
+# $NetBSD: Makefile,v 1.6 2019/02/25 09:00:35 adam Exp $
-DISTNAME= isort-4.3.4
+DISTNAME= isort-4.3.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/isort/}
@@ -12,11 +12,15 @@ LICENSE= mit
.include "../../lang/python/pyversion.mk"
-.if "${PYPKGPREFIX}" == "py27"
+.if ${_PYTHON_VERSION} == 27
DEPENDS+= ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures
.endif
USE_LANGUAGES= # none
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} isort isort-${PYVERSSUFFIX} || ${TRUE}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-isort/distinfo
diff -u pkgsrc/devel/py-isort/distinfo:1.5 pkgsrc/devel/py-isort/distinfo:1.6
--- pkgsrc/devel/py-isort/distinfo:1.5 Wed Feb 14 09:26:17 2018
+++ pkgsrc/devel/py-isort/distinfo Mon Feb 25 09:00:35 2019
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.5 2018/02/14 09:26:17 adam Exp $
+$NetBSD: distinfo,v 1.6 2019/02/25 09:00:35 adam Exp $
-SHA1 (isort-4.3.4.tar.gz) = 1964e216b60df1bc71db170089ed565011dcd133
-RMD160 (isort-4.3.4.tar.gz) = 48e3caab73e2830bd3ac2c6ebe139e5527018057
-SHA512 (isort-4.3.4.tar.gz) = ffe679b96223f5f41d14c61051a875233857f7ccab33211c195ed62b85cc1e9bef0af67f9960e94322fff216c1bfaaa583fbd2ef20e258f90a184a25d011213a
-Size (isort-4.3.4.tar.gz) = 56070 bytes
-SHA1 (patch-setup.py) = 2d658729d243ecf5c6e5af13f14f7fda009e322a
+SHA1 (isort-4.3.6.tar.gz) = 861a8edda6cae5604873811f8f51e08eb30efcbd
+RMD160 (isort-4.3.6.tar.gz) = 30b06806328669c6643475aafd50f49d2de09311
+SHA512 (isort-4.3.6.tar.gz) = 364f1781d247c81fe2ea4be998ccd9c26a6fcc8c70714b06878df8404e1c2a4493a7d156281148de2ff528c9dce793874b3ef518587eebb1e8fe617f0c711742
+Size (isort-4.3.6.tar.gz) = 61820 bytes
Index: pkgsrc/devel/py-isort/PLIST
diff -u pkgsrc/devel/py-isort/PLIST:1.3 pkgsrc/devel/py-isort/PLIST:1.4
--- pkgsrc/devel/py-isort/PLIST:1.3 Fri Feb 2 11:51:07 2018
+++ pkgsrc/devel/py-isort/PLIST Mon Feb 25 09:00:35 2019
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2018/02/02 11:51:07 adam Exp $
-bin/isort${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.4 2019/02/25 09:00:35 adam Exp $
+bin/isort-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -12,6 +12,9 @@ ${PYSITELIB}/isort/__init__.pyo
${PYSITELIB}/isort/__main__.py
${PYSITELIB}/isort/__main__.pyc
${PYSITELIB}/isort/__main__.pyo
+${PYSITELIB}/isort/finders.py
+${PYSITELIB}/isort/finders.pyc
+${PYSITELIB}/isort/finders.pyo
${PYSITELIB}/isort/hooks.py
${PYSITELIB}/isort/hooks.pyc
${PYSITELIB}/isort/hooks.pyo
@@ -33,3 +36,6 @@ ${PYSITELIB}/isort/pylama_isort.pyo
${PYSITELIB}/isort/settings.py
${PYSITELIB}/isort/settings.pyc
${PYSITELIB}/isort/settings.pyo
+${PYSITELIB}/isort/utils.py
+${PYSITELIB}/isort/utils.pyc
+${PYSITELIB}/isort/utils.pyo
Home |
Main Index |
Thread Index |
Old Index