Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-flake8 py-flake8: updated to 3.8.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/8af9437935ba
branches: trunk
changeset: 431322:8af9437935ba
user: adam <adam%pkgsrc.org@localhost>
date: Tue May 12 06:40:19 2020 +0000
description:
py-flake8: updated to 3.8.1
3.8.1:
Bugs Fixed
- Fix ``--output-file``
3.8.0:
Bugs Fixed
- Fix logical checks which report positions out of bounds
- Fix ``--exclude=.*`` accidentally matching ``.`` and ``..``
Deprecations
- Add deprecation message for vcs hooks
3.8.0a2:
Bugs Fixed
- Fix ``type="str"`` optparse options
3.8.0a1:
New Dependency Information
- Remove dependency on ``entrypoints`` and add dependency on
``importlib-metadata`` (only for ``python<3.8``)
- Pyflakes has been updated to >= 2.2.0, < 2.3.0
- pycodestyle has been updated to >= 2.6.0a1, < 2.7.0
Features
- Add ``--extend-exclude`` option to add to ``--exclude`` without overwriting
- Move argument parsing from ``optparse`` to ``argparse``
- Group plugin options in ``--help``
- Remove parsing of ``verbose`` from configuration files as it was not
consistently applied
- Remove parsing of ``output_file`` from configuration files as it was not
consistently applied
- Resolve configuration files relative to ``cwd`` instead of common prefix of
passed filenames. You may need to change ``flake8 subproject`` to
``cd subproject && flake8 .``
- Officially support python3.8
- ``--disable-noqa`` now also disables ``# flake8: noqa``
- Ensure that a missing file produces a ``E902`` error
- ``# noqa`` comments now apply to all of the lines in an explicit ``\``
continuation or in a line continued by a multi-line string
Bugs Fixed
- Fix ``--exclude=./t.py`` to only match ``t.py`` at the top level
- Fix ``--show-source`` when a file is indented with tabs
- Fix crash when ``--max-line-length`` is given a non-integer
- Prevent flip-flopping of ``indent_char`` causing extra ``E101`` errors
- Only enable multiprocessing when the method is ``fork`` fixing issues
on macos with python3.8+
- ``noqa`` is now only handled by flake8 fixing specific-noqa. Plugins
requesting this parameter will always receive ``False``
- Fix duplicate loading of plugins when invoked via ``python -m flake8``
- Fix early exit when ``--exit-zero`` and ``--diff`` are provided and the diff
is empty
- Consistently split lines when ``\f`` is present when reading from stdin
Deprecations
- ``python setup.py flake8`` (setuptools integration) is now deprecated and
will be removed in a future version
- ``type='string'`` (optparse) types are deprecated, use
``type=callable`` (argparse) instead. Support for ``type='string'`` will
be removed in a future version
- ``%default`` in plugin option help text is deprecated, use ``%(default)s``
instead. Support for ``%default`` will be removed in a future version
- optparse-style ``action='callback'`` setting for options is deprecated, use
argparse action classes instead. This will be removed in a future version
diffstat:
devel/py-flake8/Makefile | 13 +++++++------
devel/py-flake8/PLIST | 5 ++++-
devel/py-flake8/distinfo | 11 +++++------
devel/py-flake8/patches/patch-setup.py | 21 ---------------------
4 files changed, 16 insertions(+), 34 deletions(-)
diffs (95 lines):
diff -r 7fda2ce1faf4 -r 8af9437935ba devel/py-flake8/Makefile
--- a/devel/py-flake8/Makefile Tue May 12 06:36:42 2020 +0000
+++ b/devel/py-flake8/Makefile Tue May 12 06:40:19 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2020/05/03 09:59:52 adam Exp $
+# $NetBSD: Makefile,v 1.32 2020/05/12 06:40:19 adam Exp $
-DISTNAME= flake8-3.7.9
-PKGREVISION= 1
+DISTNAME= flake8-3.8.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/flake8/}
@@ -11,9 +10,8 @@
COMMENT= Modular source code checker for Python programs
LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-codestyle>=2.5.0:../../devel/py-codestyle
-DEPENDS+= ${PYPKGPREFIX}-entrypoints>=0.3:../../devel/py-entrypoints
-DEPENDS+= ${PYPKGPREFIX}-flakes>=2.1.0:../../devel/py-flakes
+DEPENDS+= ${PYPKGPREFIX}-codestyle>=2.6.0:../../devel/py-codestyle
+DEPENDS+= ${PYPKGPREFIX}-flakes>=2.2.0:../../devel/py-flakes
DEPENDS+= ${PYPKGPREFIX}-mccabe>=0.6.0:../../devel/py-mccabe
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
@@ -22,6 +20,9 @@
DEPENDS+= ${PYPKGPREFIX}-functools32-[0-9]*:../../devel/py-functools32
DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
.endif
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.endif
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-pylint-[0-9]*:../../devel/py-pylint
diff -r 7fda2ce1faf4 -r 8af9437935ba devel/py-flake8/PLIST
--- a/devel/py-flake8/PLIST Tue May 12 06:36:42 2020 +0000
+++ b/devel/py-flake8/PLIST Tue May 12 06:40:19 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2019/01/30 22:53:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/05/12 06:40:19 adam Exp $
bin/flake8-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -12,6 +12,9 @@
${PYSITELIB}/flake8/__main__.py
${PYSITELIB}/flake8/__main__.pyc
${PYSITELIB}/flake8/__main__.pyo
+${PYSITELIB}/flake8/_compat.py
+${PYSITELIB}/flake8/_compat.pyc
+${PYSITELIB}/flake8/_compat.pyo
${PYSITELIB}/flake8/api/__init__.py
${PYSITELIB}/flake8/api/__init__.pyc
${PYSITELIB}/flake8/api/__init__.pyo
diff -r 7fda2ce1faf4 -r 8af9437935ba devel/py-flake8/distinfo
--- a/devel/py-flake8/distinfo Tue May 12 06:36:42 2020 +0000
+++ b/devel/py-flake8/distinfo Tue May 12 06:40:19 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.23 2020/05/03 09:59:52 adam Exp $
+$NetBSD: distinfo,v 1.24 2020/05/12 06:40:19 adam Exp $
-SHA1 (flake8-3.7.9.tar.gz) = 631dbd0290a76d7102c31b0b5c08b2dc90676159
-RMD160 (flake8-3.7.9.tar.gz) = 41ce62731f891f9bd84212c7f6da5a2be97afd3f
-SHA512 (flake8-3.7.9.tar.gz) = c3c753ad050d8a8f87f7c28c8a1c953ed9bd04f08b09512d9323152b4eebb57d67fbfb0f5317d629174fa12fa234e1a86d6a633dd951fff6a45330b1c4f62850
-Size (flake8-3.7.9.tar.gz) = 150123 bytes
-SHA1 (patch-setup.py) = f812246c4e166a663beb1ab003ad1773fe733b6e
+SHA1 (flake8-3.8.1.tar.gz) = b5c1082edbedaa12c044add4635b3280e53631a3
+RMD160 (flake8-3.8.1.tar.gz) = f484dd4113035a3bc5a341c86be1e2816863c6d2
+SHA512 (flake8-3.8.1.tar.gz) = f73a306be7d8e5bc48dd9d6d8f8cdee07a90c6c38ee7bd37a21f4be23f1812e4a1e214cc75ca1a324f40e750312b5d7ed573ff49d673f9a1f33aad188b108add
+Size (flake8-3.8.1.tar.gz) = 157166 bytes
diff -r 7fda2ce1faf4 -r 8af9437935ba devel/py-flake8/patches/patch-setup.py
--- a/devel/py-flake8/patches/patch-setup.py Tue May 12 06:36:42 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-setup.py,v 1.6 2020/05/03 09:59:52 adam Exp $
-
-Relax requirements.
-
---- setup.py.orig 2020-05-03 09:56:44.000000000 +0000
-+++ setup.py
-@@ -19,10 +19,10 @@ requires = [
- # http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
- # And in which releases we will update those ranges here:
- # http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8
-- "entrypoints >= 0.3.0, < 0.4.0",
-- "pyflakes >= 2.1.0, < 2.2.0",
-- "pycodestyle >= 2.5.0, < 2.6.0",
-- "mccabe >= 0.6.0, < 0.7.0",
-+ "entrypoints >= 0.3.0",
-+ "pyflakes >= 2.1.0",
-+ "pycodestyle >= 2.5.0",
-+ "mccabe >= 0.6.0",
- ]
-
- extras_require = {
Home |
Main Index |
Thread Index |
Old Index