Mon Jul 31 07:26:08 2023 UTC ()
py-codestyle: updated to 2.11.0

2.11.0 (2023-07-29)
-------------------

Changes:

* Drop EOL python 3.6 / 3.7.
* Add support for python 3.12.
* E721: adjust handling of type comparison. Allowed forms are now
  ``isinstance(x, t)`` or ``type(x) is t``.
* Remove handling of python 2 ``<>`` operator.
* W606: removed.  ``async`` / ``await`` are always keywords.
* Internal: move tests to pytest.
* Remove handling of python 2 ``ur''`` strings.


(adam)
diff -r1.12 -r1.13 pkgsrc/devel/py-codestyle/Makefile
diff -r1.10 -r1.11 pkgsrc/devel/py-codestyle/distinfo

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

--- pkgsrc/devel/py-codestyle/Makefile 2023/04/30 14:36:13 1.12
+++ pkgsrc/devel/py-codestyle/Makefile 2023/07/31 07:26:08 1.13
@@ -1,27 +1,24 @@ @@ -1,27 +1,24 @@
1# $NetBSD: Makefile,v 1.12 2023/04/30 14:36:13 wiz Exp $ 1# $NetBSD: Makefile,v 1.13 2023/07/31 07:26:08 adam Exp $
2 2
3DISTNAME= pycodestyle-2.10.0 3DISTNAME= pycodestyle-2.11.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/}
7 7
8MAINTAINER= wenheping@gmail.com 8MAINTAINER= wenheping@gmail.com
9HOMEPAGE= https://github.com/PyCQA/pycodestyle 9HOMEPAGE= https://github.com/PyCQA/pycodestyle
10COMMENT= Python style guide checker 10COMMENT= Python style guide checker
11LICENSE= mit 11LICENSE= mit
12 12
13USE_LANGUAGES= # none 13USE_LANGUAGES= # none
14 14
15USE_PKG_RESOURCES= yes 15USE_PKG_RESOURCES= yes
16 16
17PYTHON_VERSIONS_INCOMPATIBLE= 27 17PYTHON_VERSIONS_INCOMPATIBLE= 27
18 18
19post-install: 19post-install:
20 cd ${DESTDIR}${PREFIX}/bin && \ 20 cd ${DESTDIR}${PREFIX}/bin && \
21 ${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE} 21 ${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE}
22 22
23do-test: 
24 cd ${WRKSRC} && ${PYTHONBIN} -m unittest -v 
25 
26.include "../../lang/python/egg.mk" 23.include "../../lang/python/egg.mk"
27.include "../../mk/bsd.pkg.mk" 24.include "../../mk/bsd.pkg.mk"

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

--- pkgsrc/devel/py-codestyle/distinfo 2023/04/30 14:36:13 1.10
+++ pkgsrc/devel/py-codestyle/distinfo 2023/07/31 07:26:08 1.11
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.10 2023/04/30 14:36:13 wiz Exp $ 1$NetBSD: distinfo,v 1.11 2023/07/31 07:26:08 adam Exp $
2 2
3BLAKE2s (pycodestyle-2.10.0.tar.gz) = 0fa0519c091f7932f8fd64f00a0bd959804e4c5bc5b6f25230567f501d5519c4 3BLAKE2s (pycodestyle-2.11.0.tar.gz) = a0f4c3b22d3def7a0e3625c614e6e91c090a92c98288a3e8029de1a0f1c0c205
4SHA512 (pycodestyle-2.10.0.tar.gz) = b0c3ee7ac56942db1e8cb5f3a59c2bd2a44b7467e73b46ab7b6f932603beefbbd29f2760ee49907447af1a5987dc1961f00788b01456bdd0aed7690e2d54446b 4SHA512 (pycodestyle-2.11.0.tar.gz) = 6e8a53dbf3e290b4aded3ef8b31c5905b5638c898969230ac8801cd1efe41c410d1165b3b0181d6a7a812af49501f73723528f2d081e53b94c6bb379df0d6d9f
5Size (pycodestyle-2.10.0.tar.gz) = 101916 bytes 5Size (pycodestyle-2.11.0.tar.gz) = 38949 bytes