pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-docstyle py-docstyle: update to 6.1.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/701b1797657d
branches:  trunk
changeset: 380916:701b1797657d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jun 18 22:06:28 2022 +0000

description:
py-docstyle: update to 6.1.1.

6.1.1 - May 17th, 2021

Bug Fixes

    Split --source by lines instead of by characters (#536).

6.1.0 - May 17th, 2021

New Features

    Enable full toml configuration and pyproject.toml (#534).

6.0.0 - March 18th, 2021

Major Updates

    Support for Python 3.5 has been dropped (#510).

New Features

    Add flag to disable # noqa comment processing in API (#485).
    Methods, Functions and Nested functions that have a docstring
    now throw D418 (#511).
    Methods decorated with @overload no longer reported as D102
    (#511).
    Functions and nested functions decorated with @overload no
    longer reported as D103 (#511).

Bug Fixes

    Treat “package” as an imperative verb for D401 (#356).
    Fix the parsing of decorated one line functions (#499).

5.1.2 - September 13th, 2020

New Features

    Methods, Functions and Nested functions that have a docstring
    now throw D418 (#511).
    Methods decorated with @overload no longer reported as D102.
    Functions and nested functions decorated with @overload no
    longer reported as D103.

5.1.1 - August 29th, 2020

Bug Fixes

    Fix IndexError crash on one-line backslashed docstrings (#506).

5.1.0 - August 22nd, 2020

New Features

    Skip function arguments prefixed with _ in D417 check (#440).

Bug Fixes

    Update convention support documentation (#386, #393)
    Detect inner asynchronous functions for D202 (#467)
    Fix indentation error while parsing class methods (#441).
    Fix a bug in parsing Google-style argument description. The
    bug caused some argument names to go unreported in D417 (#448).
    Fixed an issue where skipping errors on module level docstring
    via #noqa failed when there where more prior comments (#446).
    Support backslash-continued descriptions in docstrings (#472).
    Correctly detect publicity of modules inside directories (#470,
    #494).

5.0.2 - January 8th, 2020

Bug Fixes

    Fix DeprecationWarning / SyntaxError “invalid escape sequence”
    with Python 3.6+ (#445).

5.0.1 - December 9th, 2019

Bug Fixes

    Fixed an issue where AttributeError was raised when parsing
    the parameter section of a class docstring (#434, #436).

5.0.0 - December 9th, 2019

Major Updates

    Support for Python 3.4 has been dropped (#402).

New Features

    Extend support for detecting missing arguments in Google style
    docstrings to method calls (#384).
    Extend support for detecting missing argument description in
    Numpy style docstrings (#407).
    Added support for Python 3.8 (#423).
    Allow skipping errors on module level docstring via #noqa
    (#427).
    Whitespace is ignored with set options split across multiple lines (#221).

Bug Fixes

    Remove D413 from the google convention (#430).
    Remove D413 from the pep257 convention (#404).
    Replace semicolon with colon in D416 messages. (#409)
    D301 (Use r””” if any backslashes in a docstring) does not
    trigger on backslashes for line continuation or unicode literals
    \u... and \N... anymore. These are considered intended elements
    of the docstring and thus should not be escaped by using a raw
    docstring (#365).
    Fix decorator parsing (#411).
    Google-style sections no longer cause false errors when used
    with Numpy-style sections (#388, #424).
    D202: Allow a blank line after function docstring when followed
    by declaration of an inner function or class (#395, #426).
    Fix D401 and D404 checks not working for docstrings containing
    only one word and ending with non-alpha character (#421)

4.0.1 - August 14th, 2019

Bug Fixes

    D401: Fixed a false positive where one stem had multiple
    imperative forms, e.g., init and initialize / initiate (#382).
    Fix parser hanging when there’s a comment directly after __all__
    (#391, #366).
    Fixed RST error in table which resulted in the online documentation
    missing the violation code table (#396).
    Fixed IndentationError when parsing function arguments (#392).

4.0.0 - July 6th, 2019

Major Updates

    Support for Python 2.x and PyPy has been dropped (#340).
    Added initial support for Google convention (#357).

New Features

    Added pre-commit hook (#346)

Bug Fixes

    Fix parsing tuple syntax __all__ (#355, #352).

diffstat:

 devel/py-docstyle/Makefile |  13 ++++---------
 devel/py-docstyle/PLIST    |   3 +--
 devel/py-docstyle/distinfo |   8 ++++----
 3 files changed, 9 insertions(+), 15 deletions(-)

diffs (61 lines):

diff -r 17659a5cfc5a -r 701b1797657d devel/py-docstyle/Makefile
--- a/devel/py-docstyle/Makefile        Sat Jun 18 22:02:38 2022 +0000
+++ b/devel/py-docstyle/Makefile        Sat Jun 18 22:06:28 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:03 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/06/18 22:06:28 wiz Exp $
 
-DISTNAME=      pydocstyle-3.0.0
+DISTNAME=      pydocstyle-6.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pydocstyle/}
 
@@ -11,16 +10,12 @@
 COMMENT=       Python docstring style checker
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 DEPENDS+=      ${PYPKGPREFIX}-snowballstemmer-[0-9]*:../../textproc/py-snowballstemmer
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 USE_PKG_RESOURCES=     yes
 
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
-.endif
-
 post-extract:
        ${CHMOD} go-w ${WRKSRC}/src/pydocstyle/data/*.txt
 
diff -r 17659a5cfc5a -r 701b1797657d devel/py-docstyle/PLIST
--- a/devel/py-docstyle/PLIST   Sat Jun 18 22:02:38 2022 +0000
+++ b/devel/py-docstyle/PLIST   Sat Jun 18 22:06:28 2022 +0000
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2018/12/05 15:52:42 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/06/18 22:06:28 wiz Exp $
 bin/pydocstyle-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/pbr.json
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/pydocstyle/__init__.py
diff -r 17659a5cfc5a -r 701b1797657d devel/py-docstyle/distinfo
--- a/devel/py-docstyle/distinfo        Sat Jun 18 22:02:38 2022 +0000
+++ b/devel/py-docstyle/distinfo        Sat Jun 18 22:06:28 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:18:24 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/06/18 22:06:28 wiz Exp $
 
-BLAKE2s (pydocstyle-3.0.0.tar.gz) = 921630e1156b981a0b4200e88d1371ceec295bd342fb879481aec6112088c1fa
-SHA512 (pydocstyle-3.0.0.tar.gz) = ec2313e26dd988d35c99563344befc7b538f1d5945d1b1ce767f77851ff291b713aef423bc3d57a29f59d3198f14a6c5c7d217e5989534a1b877564634edd548
-Size (pydocstyle-3.0.0.tar.gz) = 29627 bytes
+BLAKE2s (pydocstyle-6.1.1.tar.gz) = 348d9c8a944e1d5e9b08df803d89fa5ddae1c10ef56e6cfc044249aa8273403f
+SHA512 (pydocstyle-6.1.1.tar.gz) = 3aaf89803af3af950fc12eedac88e8683d7934b1fb74e33c1eddf146a1de9423f0e1158cbfb36d3ab7fa2a505727283103e0a8c47b09fc78b76a39ad14a06cfe
+Size (pydocstyle-6.1.1.tar.gz) = 35663 bytes


Home | Main Index | Thread Index | Old Index