py-codestyle: update to 2.10.0. 2.10.0 (2022-11-23) ------------------- Changes: * E231: allow trailing comma inside 1-tuples in `[]`. PR #1108. * W601, W602, W603, W604: removed (no longer relevant in python 3). PR #1111. * E741: also apply to lambdas. PR #1106. * E741: fix false positive for comparison operators. PR #1118. 2.9.1 (2022-08-03) ------------------ Changes: * E275: fix false positive for yield expressions. PR #1091. 2.9.0 (2022-07-30) ------------------ Changes: * E221, E222, E223, E224: add support for ``:=`` operator. PR #1032. * Drop python 2.7 / 3.5. * E262: consider non-breaking spaces (``\xa0``) as whitespace. PR #1035. * Improve performance of ``_is_binary_operator``. PR #1052. * E275: requires whitespace around keywords. PR #1063. * Add support for python 3.11. PR #1070.diff -r1.11 -r1.12 pkgsrc/devel/py-codestyle/Makefile
(wiz)
@@ -1,26 +1,27 @@ | @@ -1,26 +1,27 @@ | |||
1 | # $NetBSD: Makefile,v 1.11 2022/01/05 15:41:02 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.12 2023/04/30 14:36:13 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= pycodestyle-2.8.0 | 3 | DISTNAME= pycodestyle-2.10.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/} | |
8 | 7 | |||
9 | MAINTAINER= wenheping@gmail.com | 8 | MAINTAINER= wenheping@gmail.com | |
10 | HOMEPAGE= https://github.com/PyCQA/pycodestyle | 9 | HOMEPAGE= https://github.com/PyCQA/pycodestyle | |
11 | COMMENT= Python style guide checker | 10 | COMMENT= Python style guide checker | |
12 | LICENSE= mit | 11 | LICENSE= mit | |
13 | 12 | |||
14 | USE_LANGUAGES= # none | 13 | USE_LANGUAGES= # none | |
15 | 14 | |||
16 | USE_PKG_RESOURCES= yes | 15 | USE_PKG_RESOURCES= yes | |
17 | 16 | |||
17 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
18 | ||||
18 | post-install: | 19 | post-install: | |
19 | cd ${DESTDIR}${PREFIX}/bin && \ | 20 | cd ${DESTDIR}${PREFIX}/bin && \ | |
20 | ${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE} | 21 | ${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE} | |
21 | 22 | |||
22 | do-test: | 23 | do-test: | |
23 | cd ${WRKSRC} && ${PYTHONBIN} -m unittest -v | 24 | cd ${WRKSRC} && ${PYTHONBIN} -m unittest -v | |
24 | 25 | |||
25 | .include "../../lang/python/egg.mk" | 26 | .include "../../lang/python/egg.mk" | |
26 | .include "../../mk/bsd.pkg.mk" | 27 | .include "../../mk/bsd.pkg.mk" |
@@ -1,12 +1,11 @@ | @@ -1,12 +1,11 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2016/09/30 10:36:13 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2023/04/30 14:36:13 wiz Exp $ | |
2 | bin/pycodestyle-${PYVERSSUFFIX} | 2 | bin/pycodestyle-${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}/namespace_packages.txt | |||
8 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 7 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | |
9 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
10 | ${PYSITELIB}/pycodestyle.py | 9 | ${PYSITELIB}/pycodestyle.py | |
11 | ${PYSITELIB}/pycodestyle.pyc | 10 | ${PYSITELIB}/pycodestyle.pyc | |
12 | ${PYSITELIB}/pycodestyle.pyo | 11 | ${PYSITELIB}/pycodestyle.pyo |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.9 2021/10/26 10:18:19 nia Exp $ | 1 | $NetBSD: distinfo,v 1.10 2023/04/30 14:36:13 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (pycodestyle-2.8.0.tar.gz) = 540ab53cc3c92b74c2778ecd475461d144d7454659566437a2d1f822ac8acfcd | 3 | BLAKE2s (pycodestyle-2.10.0.tar.gz) = 0fa0519c091f7932f8fd64f00a0bd959804e4c5bc5b6f25230567f501d5519c4 | |
4 | SHA512 (pycodestyle-2.8.0.tar.gz) = 0098be44451bc173507e2b396aaf342ccf7f25a6a1f5d5c1f802079a76a66e6bedf9f358b5e07b27bee66e3b279c72a6b72f63e5984f58ae83b7fc5806880fc1 | 4 | SHA512 (pycodestyle-2.10.0.tar.gz) = b0c3ee7ac56942db1e8cb5f3a59c2bd2a44b7467e73b46ab7b6f932603beefbbd29f2760ee49907447af1a5987dc1961f00788b01456bdd0aed7690e2d54446b | |
5 | Size (pycodestyle-2.8.0.tar.gz) = 102299 bytes | 5 | Size (pycodestyle-2.10.0.tar.gz) = 101916 bytes |