py310-flake8: update to 4.0.1. 4.0.1 -- 2021-10-11 ------------------- Bugs Fixed ~~~~~~~~~~ - Fix parallel execution collecting a ``SyntaxError`` (See also :pull:`1410` :issue:`1408`). 4.0.0 -- 2021-10-10 ------------------- Backwards Incompatible Changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Remove ``--install-hook`` vcs integration (See also :issue:`1008`). - Remove ``setuptools`` command (See also :issue:`1009`). - Migrate from GitLab to GitHub (See also :pull:`1305`). - Due to constant confusion by users, user-level |Flake8| configuration files are no longer supported. Files will not be searched for in the user's home directory (e.g., ``~/.flake8``) nor in the XDG config directory (e.g., ``~/.config/flake8``). (See also :pull:`1404`). New Dependency Information ~~~~~~~~~~~~~~~~~~~~~~~~~~ - pycodestyle has been updated to >= 2.8.0, < 2.9.0 (See also :pull:`1406`). - Pyflakes has been updated to >= 2.4.0, < 2.5.0 (See also :pull:`1406`). - flake8 requires python >= 3.6 (See also :issue:`1010`). Features ~~~~~~~~ - Add ``--extend-select`` option (See also :pull:`1312` :issue:`1061`). - Automatically create directories for output files (See also :pull:`1329`). Bugs Fixed ~~~~~~~~~~ - ``ast`` parse before tokenizing to improve ``SyntaxError`` errors (See also :pull:`1320` :issue:`740`). - Fix warning in ``--indent-size`` argparse help (See also :pull:`1367`). - Fix handling ``SyntaxError`` in python 3.10+ (See also :pull:`1374` :issue:`1372`). - Fix writing non-cp1252-encodable when output is piped on windows (See also :pull:`1382` :issue:`1381`).diff -r1.42 -r1.43 pkgsrc/devel/py-flake8/Makefile
(wiz)
@@ -1,47 +1,39 @@ | @@ -1,47 +1,39 @@ | |||
1 | # $NetBSD: Makefile,v 1.42 2022/01/27 10:03:27 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.43 2022/01/29 08:56:51 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= flake8-3.9.2 | 3 | DISTNAME= flake8-4.0.1 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 3 | |||
6 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=f/flake8/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=f/flake8/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://gitlab.com/pycqa/flake8 | 9 | HOMEPAGE= https://gitlab.com/pycqa/flake8 | |
11 | COMMENT= Modular source code checker for Python programs | 10 | COMMENT= Modular source code checker for Python programs | |
12 | LICENSE= mit | 11 | LICENSE= mit | |
13 | 12 | |||
14 | DEPENDS+= ${PYPKGPREFIX}-codestyle>=2.7.0:../../devel/py-codestyle | 13 | DEPENDS+= ${PYPKGPREFIX}-codestyle>=2.7.0:../../devel/py-codestyle | |
15 | DEPENDS+= ${PYPKGPREFIX}-flakes>=2.3.0:../../devel/py-flakes | 14 | DEPENDS+= ${PYPKGPREFIX}-flakes>=2.3.0:../../devel/py-flakes | |
16 | DEPENDS+= ${PYPKGPREFIX}-mccabe>=0.6.0:../../devel/py-mccabe | 15 | DEPENDS+= ${PYPKGPREFIX}-mccabe>=0.6.0:../../devel/py-mccabe | |
17 | .include "../../lang/python/pyversion.mk" | 16 | .include "../../lang/python/pyversion.mk" | |
18 | .if ${_PYTHON_VERSION} == 27 | |||
19 | DEPENDS+= ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser | |||
20 | DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34 | |||
21 | DEPENDS+= ${PYPKGPREFIX}-functools32-[0-9]*:../../devel/py-functools32 | |||
22 | DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing | |||
23 | .endif | |||
24 | .if ${_PYTHON_VERSION} < 38 | 17 | .if ${_PYTHON_VERSION} < 38 | |
25 | PYTHON_VERSIONED_DEPENDENCIES+= importlib-metadata | 18 | DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata | |
26 | .endif | 19 | .endif | |
27 | BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | 20 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | |
28 | TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock | |||
29 | TEST_DEPENDS+= ${PYPKGPREFIX}-pylint-[0-9]*:../../devel/py-pylint | |||
30 | 21 | |||
31 | USE_LANGUAGES= # none | 22 | USE_LANGUAGES= # none | |
32 | 23 | |||
33 | USE_PKG_RESOURCES= yes | 24 | USE_PKG_RESOURCES= yes | |
34 | 25 | |||
26 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
27 | ||||
35 | post-install: | 28 | post-install: | |
36 | cd ${DESTDIR}${PREFIX}/bin && \ | 29 | cd ${DESTDIR}${PREFIX}/bin && \ | |
37 | ${MV} flake8 flake8-${PYVERSSUFFIX} || ${TRUE} | 30 | ${MV} flake8 flake8-${PYVERSSUFFIX} || ${TRUE} | |
38 | 31 | |||
39 | # as of 3.9.2 | 32 | # as of 4.0.1 | |
40 | # 21 failed, 460 passed, 1 error | 33 | # 21 failed, 460 passed | |
41 | TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib | 34 | TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib | |
42 | do-test: | 35 | do-test: | |
43 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests | 36 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests | |
44 | 37 | |||
45 | .include "../../lang/python/egg.mk" | 38 | .include "../../lang/python/egg.mk" | |
46 | .include "../../lang/python/versioned_dependencies.mk" | |||
47 | .include "../../mk/bsd.pkg.mk" | 39 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.5 2020/05/12 06:40:19 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.6 2022/01/29 08:56:51 wiz Exp $ | |
2 | bin/flake8-${PYVERSSUFFIX} | 2 | bin/flake8-${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}/flake8/__init__.py | 9 | ${PYSITELIB}/flake8/__init__.py | |
10 | ${PYSITELIB}/flake8/__init__.pyc | 10 | ${PYSITELIB}/flake8/__init__.pyc | |
11 | ${PYSITELIB}/flake8/__init__.pyo | 11 | ${PYSITELIB}/flake8/__init__.pyo | |
12 | ${PYSITELIB}/flake8/__main__.py | 12 | ${PYSITELIB}/flake8/__main__.py | |
13 | ${PYSITELIB}/flake8/__main__.pyc | 13 | ${PYSITELIB}/flake8/__main__.pyc | |
14 | ${PYSITELIB}/flake8/__main__.pyo | 14 | ${PYSITELIB}/flake8/__main__.pyo | |
@@ -41,41 +41,29 @@ ${PYSITELIB}/flake8/formatting/default.p | @@ -41,41 +41,29 @@ ${PYSITELIB}/flake8/formatting/default.p | |||
41 | ${PYSITELIB}/flake8/formatting/default.pyo | 41 | ${PYSITELIB}/flake8/formatting/default.pyo | |
42 | ${PYSITELIB}/flake8/main/__init__.py | 42 | ${PYSITELIB}/flake8/main/__init__.py | |
43 | ${PYSITELIB}/flake8/main/__init__.pyc | 43 | ${PYSITELIB}/flake8/main/__init__.pyc | |
44 | ${PYSITELIB}/flake8/main/__init__.pyo | 44 | ${PYSITELIB}/flake8/main/__init__.pyo | |
45 | ${PYSITELIB}/flake8/main/application.py | 45 | ${PYSITELIB}/flake8/main/application.py | |
46 | ${PYSITELIB}/flake8/main/application.pyc | 46 | ${PYSITELIB}/flake8/main/application.pyc | |
47 | ${PYSITELIB}/flake8/main/application.pyo | 47 | ${PYSITELIB}/flake8/main/application.pyo | |
48 | ${PYSITELIB}/flake8/main/cli.py | 48 | ${PYSITELIB}/flake8/main/cli.py | |
49 | ${PYSITELIB}/flake8/main/cli.pyc | 49 | ${PYSITELIB}/flake8/main/cli.pyc | |
50 | ${PYSITELIB}/flake8/main/cli.pyo | 50 | ${PYSITELIB}/flake8/main/cli.pyo | |
51 | ${PYSITELIB}/flake8/main/debug.py | 51 | ${PYSITELIB}/flake8/main/debug.py | |
52 | ${PYSITELIB}/flake8/main/debug.pyc | 52 | ${PYSITELIB}/flake8/main/debug.pyc | |
53 | ${PYSITELIB}/flake8/main/debug.pyo | 53 | ${PYSITELIB}/flake8/main/debug.pyo | |
54 | ${PYSITELIB}/flake8/main/git.py | |||
55 | ${PYSITELIB}/flake8/main/git.pyc | |||
56 | ${PYSITELIB}/flake8/main/git.pyo | |||
57 | ${PYSITELIB}/flake8/main/mercurial.py | |||
58 | ${PYSITELIB}/flake8/main/mercurial.pyc | |||
59 | ${PYSITELIB}/flake8/main/mercurial.pyo | |||
60 | ${PYSITELIB}/flake8/main/options.py | 54 | ${PYSITELIB}/flake8/main/options.py | |
61 | ${PYSITELIB}/flake8/main/options.pyc | 55 | ${PYSITELIB}/flake8/main/options.pyc | |
62 | ${PYSITELIB}/flake8/main/options.pyo | 56 | ${PYSITELIB}/flake8/main/options.pyo | |
63 | ${PYSITELIB}/flake8/main/setuptools_command.py | |||
64 | ${PYSITELIB}/flake8/main/setuptools_command.pyc | |||
65 | ${PYSITELIB}/flake8/main/setuptools_command.pyo | |||
66 | ${PYSITELIB}/flake8/main/vcs.py | |||
67 | ${PYSITELIB}/flake8/main/vcs.pyc | |||
68 | ${PYSITELIB}/flake8/main/vcs.pyo | |||
69 | ${PYSITELIB}/flake8/options/__init__.py | 57 | ${PYSITELIB}/flake8/options/__init__.py | |
70 | ${PYSITELIB}/flake8/options/__init__.pyc | 58 | ${PYSITELIB}/flake8/options/__init__.pyc | |
71 | ${PYSITELIB}/flake8/options/__init__.pyo | 59 | ${PYSITELIB}/flake8/options/__init__.pyo | |
72 | ${PYSITELIB}/flake8/options/aggregator.py | 60 | ${PYSITELIB}/flake8/options/aggregator.py | |
73 | ${PYSITELIB}/flake8/options/aggregator.pyc | 61 | ${PYSITELIB}/flake8/options/aggregator.pyc | |
74 | ${PYSITELIB}/flake8/options/aggregator.pyo | 62 | ${PYSITELIB}/flake8/options/aggregator.pyo | |
75 | ${PYSITELIB}/flake8/options/config.py | 63 | ${PYSITELIB}/flake8/options/config.py | |
76 | ${PYSITELIB}/flake8/options/config.pyc | 64 | ${PYSITELIB}/flake8/options/config.pyc | |
77 | ${PYSITELIB}/flake8/options/config.pyo | 65 | ${PYSITELIB}/flake8/options/config.pyo | |
78 | ${PYSITELIB}/flake8/options/manager.py | 66 | ${PYSITELIB}/flake8/options/manager.py | |
79 | ${PYSITELIB}/flake8/options/manager.pyc | 67 | ${PYSITELIB}/flake8/options/manager.pyc | |
80 | ${PYSITELIB}/flake8/options/manager.pyo | 68 | ${PYSITELIB}/flake8/options/manager.pyo | |
81 | ${PYSITELIB}/flake8/plugins/__init__.py | 69 | ${PYSITELIB}/flake8/plugins/__init__.py |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.33 2022/01/27 10:03:27 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.34 2022/01/29 08:56:51 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (flake8-3.9.2.tar.gz) = 637dac4f55a50bb5ceef86752577c438067d8ada6e42b09f21bc31cb0147b681 | 3 | BLAKE2s (flake8-4.0.1.tar.gz) = 82c4437a6b6105f5ef077220f01151b2e6a136740bd2b22f436a375b642a6337 | |
4 | SHA512 (flake8-3.9.2.tar.gz) = 618fe1b35070b24395e5d4da9fa1b1f6308abf6f85d8de71b8b553f84d70d9cd7d2a6f616fa1418db9a8b5ad3efab038f4e2d7c6020c0c1bdeb8157e666911fd | 4 | SHA512 (flake8-4.0.1.tar.gz) = 0bdbf0218ce893df1c3e61f51cd3f371a5c72bb49ef78fec39548b1684e49b024e91cf4e3dcea60ba1efc08727985ef485814c372461e062ff4f810da99a1796 | |
5 | Size (flake8-3.9.2.tar.gz) = 164777 bytes | 5 | Size (flake8-4.0.1.tar.gz) = 154905 bytes | |
6 | SHA1 (patch-setup.cfg) = 0574ebd80ba0c9f92ab9d928635bca91535c8ccc | 6 | SHA1 (patch-setup.cfg) = dcd88ef61be0b276e73bb333f48c3dc924905ca6 |
@@ -1,19 +1,21 @@ | @@ -1,19 +1,21 @@ | |||
1 | $NetBSD: patch-setup.cfg,v 1.6 2022/01/27 10:03:27 wiz Exp $ | 1 | $NetBSD: patch-setup.cfg,v 1.7 2022/01/29 08:56:52 wiz Exp $ | |
2 | 2 | |||
3 | Relax restrictions. | 3 | Relax restrictions. | |
4 | 4 | |||
5 | --- setup.cfg.orig 2021-05-08 19:51:38.402109600 +0000 | 5 | --- setup.cfg.orig 2021-10-11 12:42:30.357466700 +0000 | |
6 | +++ setup.cfg | 6 | +++ setup.cfg | |
7 | @@ -36,9 +36,9 @@ package_dir = | 7 | @@ -35,10 +35,10 @@ packages = find: | |
8 | package_dir = | |||
8 | =src | 9 | =src | |
9 | packages = find: | |||
10 | install_requires = | 10 | install_requires = | |
11 | - pyflakes >= 2.3.0, < 2.4.0 | 11 | - mccabe>=0.6.0,<0.7.0 | |
12 | - pycodestyle >= 2.7.0, < 2.8.0 | 12 | - pycodestyle>=2.8.0,<2.9.0 | |
13 | - mccabe >= 0.6.0, < 0.7.0 | 13 | - pyflakes>=2.4.0,<2.5.0 | |
14 | + pyflakes >= 2.3.0 | 14 | - importlib-metadata<4.3;python_version<"3.8" | |
15 | + pycodestyle >= 2.7.0 | 15 | + mccabe>=0.6.0 | |
16 | + mccabe >= 0.6.0 | 16 | + pycodestyle>=2.8.0 | |
17 | enum34; python_version<"3.4" | 17 | + pyflakes>=2.4.0 | |
18 | typing; python_version<"3.5" | 18 | + importlib-metadata3;python_version<"3.8" | |
19 | configparser; python_version<"3.2" | 19 | python_requires = >=3.6 | |
20 | ||||
21 | [options.packages.find] |