Sun Apr 30 14:36:13 2023 UTC ()
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.


(wiz)
diff -r1.11 -r1.12 pkgsrc/devel/py-codestyle/Makefile
diff -r1.1 -r1.2 pkgsrc/devel/py-codestyle/PLIST
diff -r1.9 -r1.10 pkgsrc/devel/py-codestyle/distinfo

cvs diff -r1.11 -r1.12 pkgsrc/devel/py-codestyle/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-codestyle/Makefile 2022/01/05 15:41:02 1.11
+++ pkgsrc/devel/py-codestyle/Makefile 2023/04/30 14:36:13 1.12
@@ -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
3DISTNAME= pycodestyle-2.8.0 3DISTNAME= pycodestyle-2.10.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
5PKGREVISION= 2 
6CATEGORIES= devel python 5CATEGORIES= devel python
7MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/}
8 7
9MAINTAINER= wenheping@gmail.com 8MAINTAINER= wenheping@gmail.com
10HOMEPAGE= https://github.com/PyCQA/pycodestyle 9HOMEPAGE= https://github.com/PyCQA/pycodestyle
11COMMENT= Python style guide checker 10COMMENT= Python style guide checker
12LICENSE= mit 11LICENSE= mit
13 12
14USE_LANGUAGES= # none 13USE_LANGUAGES= # none
15 14
16USE_PKG_RESOURCES= yes 15USE_PKG_RESOURCES= yes
17 16
 17PYTHON_VERSIONS_INCOMPATIBLE= 27
 18
18post-install: 19post-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
22do-test: 23do-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"

cvs diff -r1.1 -r1.2 pkgsrc/devel/py-codestyle/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-codestyle/PLIST 2016/09/30 10:36:13 1.1
+++ pkgsrc/devel/py-codestyle/PLIST 2023/04/30 14:36:13 1.2
@@ -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 $
2bin/pycodestyle-${PYVERSSUFFIX} 2bin/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

cvs diff -r1.9 -r1.10 pkgsrc/devel/py-codestyle/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-codestyle/distinfo 2021/10/26 10:18:19 1.9
+++ pkgsrc/devel/py-codestyle/distinfo 2023/04/30 14:36:13 1.10
@@ -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
3BLAKE2s (pycodestyle-2.8.0.tar.gz) = 540ab53cc3c92b74c2778ecd475461d144d7454659566437a2d1f822ac8acfcd 3BLAKE2s (pycodestyle-2.10.0.tar.gz) = 0fa0519c091f7932f8fd64f00a0bd959804e4c5bc5b6f25230567f501d5519c4
4SHA512 (pycodestyle-2.8.0.tar.gz) = 0098be44451bc173507e2b396aaf342ccf7f25a6a1f5d5c1f802079a76a66e6bedf9f358b5e07b27bee66e3b279c72a6b72f63e5984f58ae83b7fc5806880fc1 4SHA512 (pycodestyle-2.10.0.tar.gz) = b0c3ee7ac56942db1e8cb5f3a59c2bd2a44b7467e73b46ab7b6f932603beefbbd29f2760ee49907447af1a5987dc1961f00788b01456bdd0aed7690e2d54446b
5Size (pycodestyle-2.8.0.tar.gz) = 102299 bytes 5Size (pycodestyle-2.10.0.tar.gz) = 101916 bytes