diff --git a/devel/py-isort/ALTERNATIVES b/devel/py-isort/ALTERNATIVES index abaf8726f880..bb192b5717d4 100644 --- a/devel/py-isort/ALTERNATIVES +++ b/devel/py-isort/ALTERNATIVES @@ -1 +1,2 @@ bin/isort @PREFIX@/bin/isort-@PYVERSSUFFIX@ +bin/isort-identify-imports @PREFIX@/bin/isort-identify-imports-@PYVERSSUFFIX@ diff --git a/devel/py-isort/Makefile b/devel/py-isort/Makefile index fbc2db3ca23e..f97388bb4cd4 100644 --- a/devel/py-isort/Makefile +++ b/devel/py-isort/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.18 2020/05/16 17:13:40 adam Exp $ +# $NetBSD: Makefile,v 1.19 2021/07/30 17:39:01 adam Exp $ -DISTNAME= isort-4.3.21 +DISTNAME= isort-5.9.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=i/isort/} @@ -10,25 +10,21 @@ HOMEPAGE= https://github.com/timothycrosley/isort COMMENT= Python utility / library to sort imports LICENSE= mit -DEPENDS+= ${PYPKGPREFIX}-lama-[0-9]*:../../devel/py-lama - -PYTHON_VERSIONED_DEPENDENCIES= test:test - -.include "../../lang/python/pyversion.mk" -.if ${_PYTHON_VERSION} == 27 -DEPENDS+= ${PYPKGPREFIX}-backports.functools_lru_cache-[0-9]*:../../devel/py-backports.functools_lru_cache -DEPENDS+= ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures -.endif +DEPENDS+= ${PYPKGPREFIX}-colorama>=0.4.3:../../comms/py-colorama +TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test USE_LANGUAGES= # none +PYTHON_VERSIONS_INCOMPATIBLE= 27 + post-install: +.for bin in isort isort-identify-imports cd ${DESTDIR}${PREFIX}/bin && \ - ${MV} isort isort-${PYVERSSUFFIX} || ${TRUE} + ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} +.endfor do-test: - cd ${WRKSRC} && pytest-${PYVERSSUFFIX} test_isort.py + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test_isort.py .include "../../lang/python/egg.mk" -.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/py-isort/PLIST b/devel/py-isort/PLIST index 517b263a6b1d..b7f0fd26ff58 100644 --- a/devel/py-isort/PLIST +++ b/devel/py-isort/PLIST @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.4 2019/02/25 09:00:35 adam Exp $ +@comment $NetBSD: PLIST,v 1.5 2021/07/30 17:39:01 adam Exp $ bin/isort-${PYVERSSUFFIX} +bin/isort-identify-imports-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -12,30 +13,137 @@ ${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/_future/__init__.py +${PYSITELIB}/isort/_future/__init__.pyc +${PYSITELIB}/isort/_future/__init__.pyo +${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/_version.py +${PYSITELIB}/isort/_version.pyc +${PYSITELIB}/isort/_version.pyo +${PYSITELIB}/isort/api.py +${PYSITELIB}/isort/api.pyc +${PYSITELIB}/isort/api.pyo +${PYSITELIB}/isort/comments.py +${PYSITELIB}/isort/comments.pyc +${PYSITELIB}/isort/comments.pyo +${PYSITELIB}/isort/core.py +${PYSITELIB}/isort/core.pyc +${PYSITELIB}/isort/core.pyo +${PYSITELIB}/isort/deprecated/__init__.py +${PYSITELIB}/isort/deprecated/__init__.pyc +${PYSITELIB}/isort/deprecated/__init__.pyo +${PYSITELIB}/isort/deprecated/finders.py +${PYSITELIB}/isort/deprecated/finders.pyc +${PYSITELIB}/isort/deprecated/finders.pyo +${PYSITELIB}/isort/exceptions.py +${PYSITELIB}/isort/exceptions.pyc +${PYSITELIB}/isort/exceptions.pyo +${PYSITELIB}/isort/files.py +${PYSITELIB}/isort/files.pyc +${PYSITELIB}/isort/files.pyo +${PYSITELIB}/isort/format.py +${PYSITELIB}/isort/format.pyc +${PYSITELIB}/isort/format.pyo ${PYSITELIB}/isort/hooks.py ${PYSITELIB}/isort/hooks.pyc ${PYSITELIB}/isort/hooks.pyo -${PYSITELIB}/isort/isort.py -${PYSITELIB}/isort/isort.pyc -${PYSITELIB}/isort/isort.pyo +${PYSITELIB}/isort/identify.py +${PYSITELIB}/isort/identify.pyc +${PYSITELIB}/isort/identify.pyo +${PYSITELIB}/isort/io.py +${PYSITELIB}/isort/io.pyc +${PYSITELIB}/isort/io.pyo +${PYSITELIB}/isort/literal.py +${PYSITELIB}/isort/literal.pyc +${PYSITELIB}/isort/literal.pyo +${PYSITELIB}/isort/logo.py +${PYSITELIB}/isort/logo.pyc +${PYSITELIB}/isort/logo.pyo ${PYSITELIB}/isort/main.py ${PYSITELIB}/isort/main.pyc ${PYSITELIB}/isort/main.pyo -${PYSITELIB}/isort/natural.py -${PYSITELIB}/isort/natural.pyc -${PYSITELIB}/isort/natural.pyo -${PYSITELIB}/isort/pie_slice.py -${PYSITELIB}/isort/pie_slice.pyc -${PYSITELIB}/isort/pie_slice.pyo +${PYSITELIB}/isort/output.py +${PYSITELIB}/isort/output.pyc +${PYSITELIB}/isort/output.pyo +${PYSITELIB}/isort/parse.py +${PYSITELIB}/isort/parse.pyc +${PYSITELIB}/isort/parse.pyo +${PYSITELIB}/isort/place.py +${PYSITELIB}/isort/place.pyc +${PYSITELIB}/isort/place.pyo +${PYSITELIB}/isort/profiles.py +${PYSITELIB}/isort/profiles.pyc +${PYSITELIB}/isort/profiles.pyo +${PYSITELIB}/isort/py.typed ${PYSITELIB}/isort/pylama_isort.py ${PYSITELIB}/isort/pylama_isort.pyc ${PYSITELIB}/isort/pylama_isort.pyo +${PYSITELIB}/isort/sections.py +${PYSITELIB}/isort/sections.pyc +${PYSITELIB}/isort/sections.pyo ${PYSITELIB}/isort/settings.py ${PYSITELIB}/isort/settings.pyc ${PYSITELIB}/isort/settings.pyo +${PYSITELIB}/isort/setuptools_commands.py +${PYSITELIB}/isort/setuptools_commands.pyc +${PYSITELIB}/isort/setuptools_commands.pyo +${PYSITELIB}/isort/sorting.py +${PYSITELIB}/isort/sorting.pyc +${PYSITELIB}/isort/sorting.pyo +${PYSITELIB}/isort/stdlibs/__init__.py +${PYSITELIB}/isort/stdlibs/__init__.pyc +${PYSITELIB}/isort/stdlibs/__init__.pyo +${PYSITELIB}/isort/stdlibs/all.py +${PYSITELIB}/isort/stdlibs/all.pyc +${PYSITELIB}/isort/stdlibs/all.pyo +${PYSITELIB}/isort/stdlibs/py2.py +${PYSITELIB}/isort/stdlibs/py2.pyc +${PYSITELIB}/isort/stdlibs/py2.pyo +${PYSITELIB}/isort/stdlibs/py27.py +${PYSITELIB}/isort/stdlibs/py27.pyc +${PYSITELIB}/isort/stdlibs/py27.pyo +${PYSITELIB}/isort/stdlibs/py3.py +${PYSITELIB}/isort/stdlibs/py3.pyc +${PYSITELIB}/isort/stdlibs/py3.pyo +${PYSITELIB}/isort/stdlibs/py35.py +${PYSITELIB}/isort/stdlibs/py35.pyc +${PYSITELIB}/isort/stdlibs/py35.pyo +${PYSITELIB}/isort/stdlibs/py36.py +${PYSITELIB}/isort/stdlibs/py36.pyc +${PYSITELIB}/isort/stdlibs/py36.pyo +${PYSITELIB}/isort/stdlibs/py37.py +${PYSITELIB}/isort/stdlibs/py37.pyc +${PYSITELIB}/isort/stdlibs/py37.pyo +${PYSITELIB}/isort/stdlibs/py38.py +${PYSITELIB}/isort/stdlibs/py38.pyc +${PYSITELIB}/isort/stdlibs/py38.pyo +${PYSITELIB}/isort/stdlibs/py39.py +${PYSITELIB}/isort/stdlibs/py39.pyc +${PYSITELIB}/isort/stdlibs/py39.pyo ${PYSITELIB}/isort/utils.py ${PYSITELIB}/isort/utils.pyc ${PYSITELIB}/isort/utils.pyo +${PYSITELIB}/isort/wrap.py +${PYSITELIB}/isort/wrap.pyc +${PYSITELIB}/isort/wrap.pyo +${PYSITELIB}/isort/wrap_modes.py +${PYSITELIB}/isort/wrap_modes.pyc +${PYSITELIB}/isort/wrap_modes.pyo diff --git a/devel/py-isort/distinfo b/devel/py-isort/distinfo index 9a93d711cc3d..531ce6ab2064 100644 --- a/devel/py-isort/distinfo +++ b/devel/py-isort/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.17 2019/07/01 07:15:00 adam Exp $ +$NetBSD: distinfo,v 1.18 2021/07/30 17:39:01 adam Exp $ -SHA1 (isort-4.3.21.tar.gz) = 039126857536033900c81923af241a963d891654 -RMD160 (isort-4.3.21.tar.gz) = f3905a2005ed7df9127161d1561f786addcde7fc -SHA512 (isort-4.3.21.tar.gz) = 2a35107baf7c78c03bab3ea2fadd0c6cbc8db219acd388600b01ace27c91e6c651355e1ecfeb03b1ef2893a1d066b3d2f182a0008e3c341193ac156b8aea0dc2 -Size (isort-4.3.21.tar.gz) = 69546 bytes +SHA1 (isort-5.9.3.tar.gz) = 475dd2ae1d23cbbac1a97c5e8041bd6f7b1466fc +RMD160 (isort-5.9.3.tar.gz) = bd62d89e62f4cd3d6db88491a3b2a4ff1ad77fb2 +SHA512 (isort-5.9.3.tar.gz) = e0f1c3419fddfe89a753f5b11d9089b6eb3a26d7b37e3f40e1be9c9380c0727cbbaeb85d82dc1015dd00dc2b15f27e1898d23b2ccfee54b9a7becc3e1e7b988a +Size (isort-5.9.3.tar.gz) = 175324 bytes