pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-flake8



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May 12 06:40:19 UTC 2020

Modified Files:
        pkgsrc/devel/py-flake8: Makefile PLIST distinfo
Removed Files:
        pkgsrc/devel/py-flake8/patches: patch-setup.py

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/py-flake8/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-flake8/PLIST
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-flake8/distinfo
cvs rdiff -u -r1.6 -r0 pkgsrc/devel/py-flake8/patches/patch-setup.py

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-flake8/Makefile
diff -u pkgsrc/devel/py-flake8/Makefile:1.31 pkgsrc/devel/py-flake8/Makefile:1.32
--- pkgsrc/devel/py-flake8/Makefile:1.31        Sun May  3 09:59:52 2020
+++ pkgsrc/devel/py-flake8/Makefile     Tue May 12 06:40:19 2020
@@ -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 @@ HOMEPAGE=     https://gitlab.com/pycqa/flake
 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}-enum34-[0-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

Index: pkgsrc/devel/py-flake8/PLIST
diff -u pkgsrc/devel/py-flake8/PLIST:1.4 pkgsrc/devel/py-flake8/PLIST:1.5
--- pkgsrc/devel/py-flake8/PLIST:1.4    Wed Jan 30 22:53:11 2019
+++ pkgsrc/devel/py-flake8/PLIST        Tue May 12 06:40:19 2020
@@ -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/__init__.pyo
 ${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

Index: pkgsrc/devel/py-flake8/distinfo
diff -u pkgsrc/devel/py-flake8/distinfo:1.23 pkgsrc/devel/py-flake8/distinfo:1.24
--- pkgsrc/devel/py-flake8/distinfo:1.23        Sun May  3 09:59:52 2020
+++ pkgsrc/devel/py-flake8/distinfo     Tue May 12 06:40:19 2020
@@ -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



Home | Main Index | Thread Index | Old Index