pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-isort py-isort: updated to 5.10.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/711a8f5f6bd2
branches:  trunk
changeset: 769169:711a8f5f6bd2
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 09 10:17:02 2021 +0000

description:
py-isort: updated to 5.10.1

5.10.1

Fixed: Occasional inconsistency with multiple src paths.
Fixed: skip_file ignored when on the first docstring line

5.10.0

Implemented: Switch to tomli for pyproject.toml configuration loader.
Fixed: CLI bug (--exend-skip-glob, overrides instead of extending).
Fixed: respect PATH customization in nested calls to git.
Fixed: Append only with certain code snippets incorrectly adds imports.
Added official support for Python 3.10

Potentially breaking changes:

Fixed: _ast module incorrectly excluded from stdlib definition.

diffstat:

 devel/py-isort/Makefile |  10 +++++-----
 devel/py-isort/PLIST    |  32 +++++++++++++++-----------------
 devel/py-isort/distinfo |   8 ++++----
 3 files changed, 24 insertions(+), 26 deletions(-)

diffs (96 lines):

diff -r c39f0e8f07de -r 711a8f5f6bd2 devel/py-isort/Makefile
--- a/devel/py-isort/Makefile   Tue Nov 09 10:15:35 2021 +0000
+++ b/devel/py-isort/Makefile   Tue Nov 09 10:17:02 2021 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.19 2021/07/30 17:39:01 adam Exp $
+# $NetBSD: Makefile,v 1.20 2021/11/09 10:17:02 adam Exp $
 
-DISTNAME=      isort-5.9.3
+DISTNAME=      isort-5.10.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/isort/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/timothycrosley/isort
-COMMENT=       Python utility / library to sort imports
+HOMEPAGE=      https://github.com/PyCQA/isort
+COMMENT=       Python utility/library to sort imports
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-colorama>=0.4.3:../../comms/py-colorama
@@ -24,7 +24,7 @@
 .endfor
 
 do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test_isort.py
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests/unit/test_isort.py
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c39f0e8f07de -r 711a8f5f6bd2 devel/py-isort/PLIST
--- a/devel/py-isort/PLIST      Tue Nov 09 10:15:35 2021 +0000
+++ b/devel/py-isort/PLIST      Tue Nov 09 10:17:02 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2021/07/30 17:39:01 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/11/09 10:17:02 adam Exp $
 bin/isort-${PYVERSSUFFIX}
 bin/isort-identify-imports-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -19,22 +19,17 @@
 ${PYSITELIB}/isort/_future/_dataclasses.py
 ${PYSITELIB}/isort/_future/_dataclasses.pyc
 ${PYSITELIB}/isort/_future/_dataclasses.pyo
-${PYSITELIB}/isort/_vendored/toml/LICENSE
-${PYSITELIB}/isort/_vendored/toml/__init__.py
-${PYSITELIB}/isort/_vendored/toml/__init__.pyc
-${PYSITELIB}/isort/_vendored/toml/__init__.pyo
-${PYSITELIB}/isort/_vendored/toml/decoder.py
-${PYSITELIB}/isort/_vendored/toml/decoder.pyc
-${PYSITELIB}/isort/_vendored/toml/decoder.pyo
-${PYSITELIB}/isort/_vendored/toml/encoder.py
-${PYSITELIB}/isort/_vendored/toml/encoder.pyc
-${PYSITELIB}/isort/_vendored/toml/encoder.pyo
-${PYSITELIB}/isort/_vendored/toml/ordered.py
-${PYSITELIB}/isort/_vendored/toml/ordered.pyc
-${PYSITELIB}/isort/_vendored/toml/ordered.pyo
-${PYSITELIB}/isort/_vendored/toml/tz.py
-${PYSITELIB}/isort/_vendored/toml/tz.pyc
-${PYSITELIB}/isort/_vendored/toml/tz.pyo
+${PYSITELIB}/isort/_vendored/tomli/LICENSE
+${PYSITELIB}/isort/_vendored/tomli/__init__.py
+${PYSITELIB}/isort/_vendored/tomli/__init__.pyc
+${PYSITELIB}/isort/_vendored/tomli/__init__.pyo
+${PYSITELIB}/isort/_vendored/tomli/_parser.py
+${PYSITELIB}/isort/_vendored/tomli/_parser.pyc
+${PYSITELIB}/isort/_vendored/tomli/_parser.pyo
+${PYSITELIB}/isort/_vendored/tomli/_re.py
+${PYSITELIB}/isort/_vendored/tomli/_re.pyc
+${PYSITELIB}/isort/_vendored/tomli/_re.pyo
+${PYSITELIB}/isort/_vendored/tomli/py.typed
 ${PYSITELIB}/isort/_version.py
 ${PYSITELIB}/isort/_version.pyc
 ${PYSITELIB}/isort/_version.pyo
@@ -123,6 +118,9 @@
 ${PYSITELIB}/isort/stdlibs/py3.py
 ${PYSITELIB}/isort/stdlibs/py3.pyc
 ${PYSITELIB}/isort/stdlibs/py3.pyo
+${PYSITELIB}/isort/stdlibs/py310.py
+${PYSITELIB}/isort/stdlibs/py310.pyc
+${PYSITELIB}/isort/stdlibs/py310.pyo
 ${PYSITELIB}/isort/stdlibs/py35.py
 ${PYSITELIB}/isort/stdlibs/py35.pyc
 ${PYSITELIB}/isort/stdlibs/py35.pyo
diff -r c39f0e8f07de -r 711a8f5f6bd2 devel/py-isort/distinfo
--- a/devel/py-isort/distinfo   Tue Nov 09 10:15:35 2021 +0000
+++ b/devel/py-isort/distinfo   Tue Nov 09 10:17:02 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2021/10/26 10:18:35 nia Exp $
+$NetBSD: distinfo,v 1.21 2021/11/09 10:17:02 adam Exp $
 
-BLAKE2s (isort-5.9.3.tar.gz) = 25541339920d8ead25f73ce531ca2a124dbab090221b1690a940c6e49c45a3df
-SHA512 (isort-5.9.3.tar.gz) = e0f1c3419fddfe89a753f5b11d9089b6eb3a26d7b37e3f40e1be9c9380c0727cbbaeb85d82dc1015dd00dc2b15f27e1898d23b2ccfee54b9a7becc3e1e7b988a
-Size (isort-5.9.3.tar.gz) = 175324 bytes
+BLAKE2s (isort-5.10.1.tar.gz) = 7d8b06243bed8ff59481e3042c2f65fbd5dc83a06ad744a6e65d7694c5dc5763
+SHA512 (isort-5.10.1.tar.gz) = ac02a1ae0138a6d85c06335a286c16def68cfe17915a94b3838a7b9f216f435d16244f3519d04f51ec77f9d68d649d6126c0a6316b7b868ff1f1390bc61ca0d2
+Size (isort-5.10.1.tar.gz) = 174062 bytes



Home | Main Index | Thread Index | Old Index