pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-flake8 Updated py-flake8 to 3.2.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d624ca7340d
branches:  trunk
changeset: 355299:1d624ca7340d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 28 12:45:55 2016 +0000

description:
Updated py-flake8 to 3.2.1.

3.2.1 -- 2016-11-21
-------------------

You can view the `3.2.1 milestone`_ on GitLab for more details.

- Fix subtle bug when deciding whether to report an on-by-default's violation
  (See also `GitLab#257`_)

- Fix another bug around SyntaxErrors not being reported at the right column
  and row (See also `GitLab#259`_ and `GitLab#237`_ for a related, previously
  fixed bug)

- Fix regression from 2.x where we run checks against explicitly provided
  files, even if they don't match the filename patterns. (See also
  `GitLab#266`_)

3.2.0 -- 2016-11-14
-------------------

You can view the `3.2.0 milestone`_ on GitLab for more details.

- Allow for pycodestyle 2.2.0 which fixes a bug in E305 (See also
  `GitLab#256`_)

3.1.1 -- 2016-11-14
-------------------

You can view the `3.1.1 milestone`_ on GitLab for more details.

- Do not attempt to install/distribute a ``man`` file with the Python package;
  leave this for others to do. (See also `GitLab#254`_)

- Fix packaging bug where wheel version constraints specified in setup.cfg did
  not match the constraints in setup.py. (See also `GitLab#255`_)

3.1.0 -- 2016-11-14
-------------------

You can view the `3.1.0 milestone`_ on GitLab for more details.

- Add ``--bug-report`` flag to make issue reporters' lives easier.

- Collect configuration files from the current directory when using our Git
  hook. (See also `GitLab#210`_, `GitLab#218`_, `GitLab#223`_)

- Avoid unhandled exceptions when dealing with SyntaxErrors. (See also
  `GitLab#214`_, `GitLab#238`_)

- Exit early if the value for ``--diff`` is empty. (See also `GitLab#226`_)

- Handle empty ``--stdin-display-name`` values. (See also `GitLab#235`_)

- Properly report the column number of Syntax Errors. We were assuming that
  all reports of column numbers were 0-indexed, however, SyntaxErrors report
  the column number as 1-indexed. This caused us to report a column number
  that was 1 past the actual position. Further, when combined with
  SyntaxErrors that occur at a newline, this caused the position to be
  visually off by two. (See also `GitLab#237`_)

- Fix the behaviour of ``--enable-extensions``. Previously, items specified
  here were still ignored due to the fact that the off-by-default extension
  codes were being left in the ``ignore`` list. (See also `GitLab#239`_)

- Fix problems around ``--select`` and ``--ignore`` behaviour that prevented
  codes that were neither explicitly selected nor explicitly ignored from
  being reported. (See also `GitLab#242`_)

- Truly be quiet when the user specifies ``-q`` one or more times. Previously,
  we were showing the if the user specified ``-q`` and ``--show-source``. We
  have fixed this bug. (See also `GitLab#245`_)

- Add new File Processor attribute, ``previous_unindented_logical_line`` to
  accommodate pycodestyle 2.1.0. (See also `GitLab#246`_)

- When something goes wrong, exit non-zero. (See also `GitLab#248`_,
  `GitLab#209`_)

- Add ``--tee`` as an option to allow use of ``--output-file`` and printing to
  standard out.

- Allow the git plugin to actually be lazy when collecting files.

- Allow for pycodestyle 2.1 series and pyflakes 1.3 series.

diffstat:

 devel/py-flake8/Makefile                |   4 ++--
 devel/py-flake8/PLIST                   |   5 ++++-
 devel/py-flake8/distinfo                |  11 +++++------
 devel/py-flake8/patches/patch-setup.cfg |  19 -------------------
 4 files changed, 11 insertions(+), 28 deletions(-)

diffs (70 lines):

diff -r 9bfc56bf52f1 -r 1d624ca7340d devel/py-flake8/Makefile
--- a/devel/py-flake8/Makefile  Mon Nov 28 12:39:53 2016 +0000
+++ b/devel/py-flake8/Makefile  Mon Nov 28 12:45:55 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2016/09/30 10:41:06 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2016/11/28 12:45:55 wiz Exp $
 
-DISTNAME=      flake8-3.0.4
+DISTNAME=      flake8-3.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flake8/}
diff -r 9bfc56bf52f1 -r 1d624ca7340d devel/py-flake8/PLIST
--- a/devel/py-flake8/PLIST     Mon Nov 28 12:39:53 2016 +0000
+++ b/devel/py-flake8/PLIST     Mon Nov 28 12:45:55 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2016/09/30 10:41:06 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2016/11/28 12:45:55 wiz Exp $
 bin/flake8-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -45,6 +45,9 @@
 ${PYSITELIB}/flake8/main/cli.py
 ${PYSITELIB}/flake8/main/cli.pyc
 ${PYSITELIB}/flake8/main/cli.pyo
+${PYSITELIB}/flake8/main/debug.py
+${PYSITELIB}/flake8/main/debug.pyc
+${PYSITELIB}/flake8/main/debug.pyo
 ${PYSITELIB}/flake8/main/git.py
 ${PYSITELIB}/flake8/main/git.pyc
 ${PYSITELIB}/flake8/main/git.pyo
diff -r 9bfc56bf52f1 -r 1d624ca7340d devel/py-flake8/distinfo
--- a/devel/py-flake8/distinfo  Mon Nov 28 12:39:53 2016 +0000
+++ b/devel/py-flake8/distinfo  Mon Nov 28 12:45:55 2016 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.3 2016/09/30 10:41:06 wiz Exp $
+$NetBSD: distinfo,v 1.4 2016/11/28 12:45:55 wiz Exp $
 
-SHA1 (flake8-3.0.4.tar.gz) = 9bc2e8f7d3b418c1a581fe79e69b820e04aa078c
-RMD160 (flake8-3.0.4.tar.gz) = 3309ac3a738425046bdd54acbf9fc8710dad8173
-SHA512 (flake8-3.0.4.tar.gz) = 845b38824112edfc8244f6ec795b5659f99b4e8171af5e6c737f345e5a429f7b26f57e24ccc42fa2d8117b7ceff4dd100fe840064260fa17f203804e4b83ab06
-Size (flake8-3.0.4.tar.gz) = 1382588 bytes
-SHA1 (patch-setup.cfg) = 4ad1b673d323dc30dfa3334f797bb79d38f1845d
+SHA1 (flake8-3.2.1.tar.gz) = bf42a3009ae3f5cb5cd4ea54b959dbd79f85dd4f
+RMD160 (flake8-3.2.1.tar.gz) = 69ed0c9998ca1c5f1c91dc768ce5c87404d6e5d3
+SHA512 (flake8-3.2.1.tar.gz) = 9ccb4e13d87ae1198466f112138d5ef423f55e9af1d6ab9f14d6927bd40b9d621d1a74e0acd43b1ba4e12cae67d7671dde205c04f5760d760ca9d982655d4ebf
+Size (flake8-3.2.1.tar.gz) = 129458 bytes
diff -r 9bfc56bf52f1 -r 1d624ca7340d devel/py-flake8/patches/patch-setup.cfg
--- a/devel/py-flake8/patches/patch-setup.cfg   Mon Nov 28 12:39:53 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-setup.cfg,v 1.1 2016/09/30 10:41:06 wiz Exp $
-
-Rename section so it is not picked up by accident, see
-https://github.com/pytest-dev/pytest/issues/567
-
-Bug report:
-https://gitlab.com/pycqa/flake8/issues/231
-
---- setup.cfg.orig     2016-08-08 10:37:09.000000000 +0000
-+++ setup.cfg
-@@ -12,7 +12,7 @@ requires-dist = 
-       pycodestyle >= 2.0.0, < 2.1.0
-       mccabe >= 0.5.0, < 0.6.0
- 
--[pytest]
-+[tool:pytest]
- norecursedirs = .git .* *.egg* old docs dist build
- addopts = -rw
- 



Home | Main Index | Thread Index | Old Index