pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-flakes



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep 23 12:10:37 UTC 2026

Modified Files:
        pkgsrc/devel/py-flakes: Makefile PLIST distinfo

Log Message:
py-flakes: updated to 4.0.0

4.0.0 (2026-09-22)

Add support for python 3.15
Drop support for EOL python 3.9
Add new errors for lazy imports:
lazy import is eagerly used at module scope
lazy from ... import * is invalid syntax
lazy from __future__ import ... is invalid syntax
lazy import must be at module scope
Improve typing specialization:
Handle cast(...) with named arguments
Fix duplicate errors in first argument of cast(...)
Handle TypeVar(... default='...')
Fix missing error for first argument of TypeVar(...) call
Update handling of NamedTuple(...) for python 3.15 changes
Update handling of TypedDict(...) for python 3.13 changes
Add handling of assert_type(...)
Add handling of NewType(...)
Add handling of TypeVarTuple(...)
Add handling of ParamSpec(...)
Fix assignment expressions in dictionary literals
Remove file_tokens parameter to Checker. Unused since 3.0.0
Fix false-negative for deleting special variables such as del __tracebackhide__
Add support for python3t shebangs
Remove support for obsolete python3m and pythonu shebangs


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/py-flakes/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-flakes/PLIST
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-flakes/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-flakes/Makefile
diff -u pkgsrc/devel/py-flakes/Makefile:1.27 pkgsrc/devel/py-flakes/Makefile:1.28
--- pkgsrc/devel/py-flakes/Makefile:1.27        Tue Jul  1 19:36:05 2025
+++ pkgsrc/devel/py-flakes/Makefile     Wed Sep 23 12:10:37 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2025/07/01 19:36:05 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2026/09/23 12:10:37 adam Exp $
 
-DISTNAME=      pyflakes-3.4.0
+DISTNAME=      pyflakes-4.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyflakes/}
@@ -14,9 +14,7 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-setuptools
 
 USE_LANGUAGES= # none
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} pyflakes pyflakes-${PYVERSSUFFIX} || ${TRUE}
+PY_RENAME_BINARIES=    pyflakes
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-flakes/PLIST
diff -u pkgsrc/devel/py-flakes/PLIST:1.9 pkgsrc/devel/py-flakes/PLIST:1.10
--- pkgsrc/devel/py-flakes/PLIST:1.9    Sat Apr 12 08:17:56 2025
+++ pkgsrc/devel/py-flakes/PLIST        Wed Sep 23 12:10:37 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2025/04/12 08:17:56 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2026/09/23 12:10:37 adam Exp $
 bin/pyflakes-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -45,6 +45,9 @@ ${PYSITELIB}/pyflakes/test/test_builtin.
 ${PYSITELIB}/pyflakes/test/test_code_segment.py
 ${PYSITELIB}/pyflakes/test/test_code_segment.pyc
 ${PYSITELIB}/pyflakes/test/test_code_segment.pyo
+${PYSITELIB}/pyflakes/test/test_custom_builtins.py
+${PYSITELIB}/pyflakes/test/test_custom_builtins.pyc
+${PYSITELIB}/pyflakes/test/test_custom_builtins.pyo
 ${PYSITELIB}/pyflakes/test/test_dict.py
 ${PYSITELIB}/pyflakes/test/test_dict.pyc
 ${PYSITELIB}/pyflakes/test/test_dict.pyo
@@ -57,6 +60,9 @@ ${PYSITELIB}/pyflakes/test/test_imports.
 ${PYSITELIB}/pyflakes/test/test_is_literal.py
 ${PYSITELIB}/pyflakes/test/test_is_literal.pyc
 ${PYSITELIB}/pyflakes/test/test_is_literal.pyo
+${PYSITELIB}/pyflakes/test/test_lazy_imports.py
+${PYSITELIB}/pyflakes/test/test_lazy_imports.pyc
+${PYSITELIB}/pyflakes/test/test_lazy_imports.pyo
 ${PYSITELIB}/pyflakes/test/test_match.py
 ${PYSITELIB}/pyflakes/test/test_match.pyc
 ${PYSITELIB}/pyflakes/test/test_match.pyo

Index: pkgsrc/devel/py-flakes/distinfo
diff -u pkgsrc/devel/py-flakes/distinfo:1.23 pkgsrc/devel/py-flakes/distinfo:1.24
--- pkgsrc/devel/py-flakes/distinfo:1.23        Tue Jul  1 19:36:05 2025
+++ pkgsrc/devel/py-flakes/distinfo     Wed Sep 23 12:10:37 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2025/07/01 19:36:05 wiz Exp $
+$NetBSD: distinfo,v 1.24 2026/09/23 12:10:37 adam Exp $
 
-BLAKE2s (pyflakes-3.4.0.tar.gz) = c9b0a63d695a5433c52a28d4fa45a6c280a5c0cb6b4d14a9dc8162e05dcc1467
-SHA512 (pyflakes-3.4.0.tar.gz) = d2c48d2b3a1024af27f8fa1b304b9839d65d63d4a5d1db408e8546396b5150627dc9d84189716624f228a70ab0b2343d8c66b2ab154d4c6042362c9f6ed1b8c7
-Size (pyflakes-3.4.0.tar.gz) = 64669 bytes
+BLAKE2s (pyflakes-4.0.0.tar.gz) = 9fe146bccc87d70b183746d21b3c6ec3fbbaa0078657e21102d5db3716b03a62
+SHA512 (pyflakes-4.0.0.tar.gz) = e7fece830ce8f781f2acc0be52ff27a38941c1723aa3fe51a412e4175000e0aafe4864586cffc90a30d76eaed82a7d17efca6e5b7df030394268d91a95c4ee73
+Size (pyflakes-4.0.0.tar.gz) = 66927 bytes



Home | Main Index | Thread Index | Old Index