pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-flakes py-flakes: updated to 2.1.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/ccad1d8cf2a7
branches: trunk
changeset: 390586:ccad1d8cf2a7
user: adam <adam%pkgsrc.org@localhost>
date: Thu Jan 24 09:19:25 2019 +0000
description:
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
diffstat:
devel/py-flakes/ALTERNATIVES | 2 +-
devel/py-flakes/Makefile | 7 ++++---
devel/py-flakes/PLIST | 19 +++++++++++++++++--
devel/py-flakes/distinfo | 10 +++++-----
4 files changed, 27 insertions(+), 11 deletions(-)
diffs (89 lines):
diff -r fbaf3028d199 -r ccad1d8cf2a7 devel/py-flakes/ALTERNATIVES
--- a/devel/py-flakes/ALTERNATIVES Thu Jan 24 09:19:11 2019 +0000
+++ b/devel/py-flakes/ALTERNATIVES Thu Jan 24 09:19:25 2019 +0000
@@ -1,1 +1,1 @@
-bin/pyflakes @PREFIX@/bin/pyflakes@PYVERSSUFFIX@
+bin/pyflakes @PREFIX@/bin/pyflakes-@PYVERSSUFFIX@
diff -r fbaf3028d199 -r ccad1d8cf2a7 devel/py-flakes/Makefile
--- a/devel/py-flakes/Makefile Thu Jan 24 09:19:11 2019 +0000
+++ b/devel/py-flakes/Makefile Thu Jan 24 09:19:25 2019 +0000
@@ -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 @@
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"
diff -r fbaf3028d199 -r ccad1d8cf2a7 devel/py-flakes/PLIST
--- a/devel/py-flakes/PLIST Thu Jan 24 09:19:11 2019 +0000
+++ b/devel/py-flakes/PLIST Thu Jan 24 09:19:25 2019 +0000
@@ -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/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_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
diff -r fbaf3028d199 -r ccad1d8cf2a7 devel/py-flakes/distinfo
--- a/devel/py-flakes/distinfo Thu Jan 24 09:19:11 2019 +0000
+++ b/devel/py-flakes/distinfo Thu Jan 24 09:19:25 2019 +0000
@@ -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