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:   wiz
Date:           Sun Apr 30 17:03:57 UTC 2023

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

Log Message:
py-flakes: update to 3.0.1.

3.0.1 (2022-11-24)

- Fix crash on augmented assign to ``print`` builtin

3.0.0 (2022-11-23)

- Detect undefined name in variable defined by an annotated assignment
- Add a new error for names which are annotated but unused
- Remove handling of python 2.x ``# type:`` comments.  Use annotations instead

2.5.0 (2022-07-30)

- Drop support for EOL python 2.7 / 3.4 / 3.5
- Ignore ``__all__`` when not directly assigned
- Handle ``TypeAlias`` annotations as aliases (PEP 613)
- Assignment expressions (``:=``) target outer scope in comprehensions
- Add support for new python 3.11 syntax
- Unify output so it is always ``filename:lineno:col:  message``
- Properly report ``SyntaxError`` from stdin in python < 3.9
- Fix offsets of ``SyntaxError``s in pypy


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-flakes/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-flakes/PLIST
cvs rdiff -u -r1.18 -r1.19 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.21 pkgsrc/devel/py-flakes/Makefile:1.22
--- pkgsrc/devel/py-flakes/Makefile:1.21        Wed Jan  5 15:41:04 2022
+++ pkgsrc/devel/py-flakes/Makefile     Sun Apr 30 17:03:57 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2022/01/05 15:41:04 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2023/04/30 17:03:57 wiz Exp $
 
-DISTNAME=      pyflakes-2.4.0
+DISTNAME=      pyflakes-3.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyflakes/}
 
@@ -11,6 +10,8 @@ HOMEPAGE=     https://github.com/PyCQA/pyfla
 COMMENT=       Passive checker of Python programs
 LICENSE=       mit
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 USE_LANGUAGES= # none
 
 USE_PKG_RESOURCES=     yes

Index: pkgsrc/devel/py-flakes/PLIST
diff -u pkgsrc/devel/py-flakes/PLIST:1.6 pkgsrc/devel/py-flakes/PLIST:1.7
--- pkgsrc/devel/py-flakes/PLIST:1.6    Thu Nov  4 13:43:11 2021
+++ pkgsrc/devel/py-flakes/PLIST        Sun Apr 30 17:03:57 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2021/11/04 13:43:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2023/04/30 17:03:57 wiz Exp $
 bin/pyflakes-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -41,9 +41,6 @@ ${PYSITELIB}/pyflakes/test/test_api.pyo
 ${PYSITELIB}/pyflakes/test/test_builtin.py
 ${PYSITELIB}/pyflakes/test/test_builtin.pyc
 ${PYSITELIB}/pyflakes/test/test_builtin.pyo
-${PYSITELIB}/pyflakes/test/test_checker.py
-${PYSITELIB}/pyflakes/test/test_checker.pyc
-${PYSITELIB}/pyflakes/test/test_checker.pyo
 ${PYSITELIB}/pyflakes/test/test_code_segment.py
 ${PYSITELIB}/pyflakes/test/test_code_segment.pyc
 ${PYSITELIB}/pyflakes/test/test_code_segment.pyo
@@ -65,9 +62,6 @@ ${PYSITELIB}/pyflakes/test/test_match.py
 ${PYSITELIB}/pyflakes/test/test_other.py
 ${PYSITELIB}/pyflakes/test/test_other.pyc
 ${PYSITELIB}/pyflakes/test/test_other.pyo
-${PYSITELIB}/pyflakes/test/test_return_with_arguments_inside_generator.py
-${PYSITELIB}/pyflakes/test/test_return_with_arguments_inside_generator.pyc
-${PYSITELIB}/pyflakes/test/test_return_with_arguments_inside_generator.pyo
 ${PYSITELIB}/pyflakes/test/test_type_annotations.py
 ${PYSITELIB}/pyflakes/test/test_type_annotations.pyc
 ${PYSITELIB}/pyflakes/test/test_type_annotations.pyo

Index: pkgsrc/devel/py-flakes/distinfo
diff -u pkgsrc/devel/py-flakes/distinfo:1.18 pkgsrc/devel/py-flakes/distinfo:1.19
--- pkgsrc/devel/py-flakes/distinfo:1.18        Thu Nov  4 13:43:11 2021
+++ pkgsrc/devel/py-flakes/distinfo     Sun Apr 30 17:03:57 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2021/11/04 13:43:11 adam Exp $
+$NetBSD: distinfo,v 1.19 2023/04/30 17:03:57 wiz Exp $
 
-BLAKE2s (pyflakes-2.4.0.tar.gz) = e3bb3eb9c20e6db68b9823c635b88c4f6079063ebfc1309c33ebb5be7c37c039
-SHA512 (pyflakes-2.4.0.tar.gz) = f4c6512eb811511c897623f52c4f88e50275a3292582d7dd34462e90e39fecce939818cb92e750eebdd66eab25b91c23540104fc4530c42621d7cfeb1d33c577
-Size (pyflakes-2.4.0.tar.gz) = 69101 bytes
+BLAKE2s (pyflakes-3.0.1.tar.gz) = 820a179a448ff4cb2ef4e0fac04f04e62d7287a78c2692ac15124f1c360a86a1
+SHA512 (pyflakes-3.0.1.tar.gz) = 10ffe2b92f3885d40578452423a93609f8546b2392997bdbc3f64ca0094516ce6b8449e5d3675bda5fdbc16190c89be23609559fc4cd4f1c97e6af032226d7b7
+Size (pyflakes-3.0.1.tar.gz) = 63554 bytes



Home | Main Index | Thread Index | Old Index