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:           Thu Jan 24 09:19:25 UTC 2019

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

Log Message:
py-flakes: updated to 2.1.0

Release 2.1.0
- Allow intentional assignment to variables named _
- Recognize __module__ as a valid name in class scope
- pyflakes.checker.Checker supports checking of partial ast trees
- Detect assign-before-use for local variables which shadow builtin names
- Detect invalid print syntax using >> operator
- Treat async for the same as a for loop for introducing variables
- Add detection for list concatenation in __all__
- Exempt @typing.overload from duplicate function declaration
- Importing a submodule of an as-aliased import-import is marked as
  used
- Report undefined names from __all__ as possibly coming from a *
  import
- Add support for changes in Python 3.8-dev
- Add support for PEP 563 (from __future__ import annotations)
- Include Python version and platform information in pyflakes --version
- Recognize __annotations__ as a valid magic global in Python 3.6+
- Mark names used in PEP 484 # type: ... comments as used
- Add check for use of is operator with str, bytes, and int
  literals


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-flakes/ALTERNATIVES
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-flakes/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-flakes/PLIST
cvs rdiff -u -r1.10 -r1.11 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/ALTERNATIVES
diff -u pkgsrc/devel/py-flakes/ALTERNATIVES:1.1 pkgsrc/devel/py-flakes/ALTERNATIVES:1.2
--- pkgsrc/devel/py-flakes/ALTERNATIVES:1.1     Wed May 23 17:26:19 2018
+++ pkgsrc/devel/py-flakes/ALTERNATIVES Thu Jan 24 09:19:25 2019
@@ -1 +1 @@
-bin/pyflakes @PREFIX@/bin/pyflakes@PYVERSSUFFIX@
+bin/pyflakes @PREFIX@/bin/pyflakes-@PYVERSSUFFIX@

Index: pkgsrc/devel/py-flakes/Makefile
diff -u pkgsrc/devel/py-flakes/Makefile:1.13 pkgsrc/devel/py-flakes/Makefile:1.14
--- pkgsrc/devel/py-flakes/Makefile:1.13        Mon Jun 18 11:17:15 2018
+++ pkgsrc/devel/py-flakes/Makefile     Thu Jan 24 09:19:25 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2018/06/18 11:17:15 adam Exp $
+# $NetBSD: Makefile,v 1.14 2019/01/24 09:19:25 adam Exp $
 
-DISTNAME=      pyflakes-2.0.0
+DISTNAME=      pyflakes-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyflakes/}
@@ -13,7 +13,8 @@ LICENSE=      mit
 USE_LANGUAGES= # none
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} pyflakes pyflakes${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} pyflakes pyflakes-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-flakes/PLIST
diff -u pkgsrc/devel/py-flakes/PLIST:1.4 pkgsrc/devel/py-flakes/PLIST:1.5
--- pkgsrc/devel/py-flakes/PLIST:1.4    Sat Dec 17 11:45:18 2016
+++ pkgsrc/devel/py-flakes/PLIST        Thu Jan 24 09:19:25 2019
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2016/12/17 11:45:18 adam Exp $
-bin/pyflakes${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.5 2019/01/24 09:19:25 adam Exp $
+bin/pyflakes-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -38,6 +38,15 @@ ${PYSITELIB}/pyflakes/test/harness.pyo
 ${PYSITELIB}/pyflakes/test/test_api.py
 ${PYSITELIB}/pyflakes/test/test_api.pyc
 ${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
 ${PYSITELIB}/pyflakes/test/test_dict.py
 ${PYSITELIB}/pyflakes/test/test_dict.pyc
 ${PYSITELIB}/pyflakes/test/test_dict.pyo
@@ -47,12 +56,18 @@ ${PYSITELIB}/pyflakes/test/test_doctests
 ${PYSITELIB}/pyflakes/test/test_imports.py
 ${PYSITELIB}/pyflakes/test/test_imports.pyc
 ${PYSITELIB}/pyflakes/test/test_imports.pyo
+${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_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
 ${PYSITELIB}/pyflakes/test/test_undefined_names.py
 ${PYSITELIB}/pyflakes/test/test_undefined_names.pyc
 ${PYSITELIB}/pyflakes/test/test_undefined_names.pyo

Index: pkgsrc/devel/py-flakes/distinfo
diff -u pkgsrc/devel/py-flakes/distinfo:1.10 pkgsrc/devel/py-flakes/distinfo:1.11
--- pkgsrc/devel/py-flakes/distinfo:1.10        Mon Jun 18 11:17:15 2018
+++ pkgsrc/devel/py-flakes/distinfo     Thu Jan 24 09:19:25 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2018/06/18 11:17:15 adam Exp $
+$NetBSD: distinfo,v 1.11 2019/01/24 09:19:25 adam Exp $
 
-SHA1 (pyflakes-2.0.0.tar.gz) = fc4b248c0cf9747990c1f4467341e69afff02533
-RMD160 (pyflakes-2.0.0.tar.gz) = 9a04c07af00adf6772a5777e12d8c4ef0d38245c
-SHA512 (pyflakes-2.0.0.tar.gz) = 4961ebb8372f51783416681e79342d6be94318ecd007190e5c27f46c48f8f163c7a5f49cbe3025789ff1d9cd37c465b2f3baa219059779163545f9828a766f71
-Size (pyflakes-2.0.0.tar.gz) = 49002 bytes
+SHA1 (pyflakes-2.1.0.tar.gz) = 4ad976d9703a65ffbb652cb2a4d1f54138c80046
+RMD160 (pyflakes-2.1.0.tar.gz) = a783340743f58d57f9d8e3fdf6cb828cd836bae9
+SHA512 (pyflakes-2.1.0.tar.gz) = 4212ac3d0c08c9db96d16dfe41ac39b4f3bc1f51bd9a7af07a7a69101a9a6a01db398656068c2729f716cb93b584d88adc2a66659a94388196d9c91a4c7948a2
+Size (pyflakes-2.1.0.tar.gz) = 56588 bytes



Home | Main Index | Thread Index | Old Index