2.0.0: Major Updates * Support for numpy conventions verification has been added. * Support for Python 2.6 has been dropped. * Support for PyPy3 has been temporarily dropped, until it will be equivalent to CPython 3.3+ and supported by pip. * Support for the pep257 console script has been dropped. Only the pydocstyle console script should be used. * Errors are now printed to stdout instead of stderr. New Features * Decorator-based skipping via --ignore-decorators has been added. * Support for using pycodestyle style wildcards has been added. * Superfluous opening quotes are now reported as part of D300. * Fixed a false-positive recognition of D410 and added D412. * Added --config=<path> flag to override the normal config file discovery and choose a specific config file. * Support for specifying error codes with partial prefix has been added, e.g., --select=D101,D2. * All configuration file can now have the .ini extension. * Added better imperative mood checks using third party stemmer. Bug Fixes * Made parser more robust to bad source files * Modules are now considered private if their name starts with a single underscore. This is a bugfix where ���public module��� (D100) was reported regardless of module name. * Removed error when __all__ is a list. * Fixed a bug where the @ sign was used as a matrix multiplication operator in Python 3.5, but was considered a decorator by the parserdiff -r1.1 -r1.2 pkgsrc/devel/py-docstyle/Makefile
(adam)
@@ -1,19 +1,24 @@ | @@ -1,19 +1,24 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2017/04/04 13:31:37 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2017/07/30 15:53:49 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= pydocstyle-1.1.1 | 3 | DISTNAME= pydocstyle-2.0.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydocstyle/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydocstyle/} | |
7 | EXTRACT_SUFX= .zip | 7 | EXTRACT_SUFX= .zip | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://github.com/PyCQA/pydocstyle | 10 | HOMEPAGE= http://github.com/PyCQA/pydocstyle | |
11 | COMMENT= Python docstring style checker | 11 | COMMENT= Python docstring style checker | |
12 | LICENSE= mit | 12 | LICENSE= mit | |
13 | 13 | |||
14 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | |||
15 | DEPENDS+= ${PYPKGPREFIX}-snowballstemmer-[0-9]*:../../textproc/py-snowballstemmer | |||
16 | ||||
17 | post-extract: | |||
18 | ${CHMOD} go-w ${WRKSRC}/src/pydocstyle/data/*.txt | |||
19 | ||||
14 | post-install: | 20 | post-install: | |
15 | cd ${DESTDIR}${PREFIX}/bin && ${MV} pep257 pep257-${PYVERSSUFFIX} || ${TRUE} | |||
16 | cd ${DESTDIR}${PREFIX}/bin && ${MV} pydocstyle pydocstyle-${PYVERSSUFFIX} || ${TRUE} | 21 | cd ${DESTDIR}${PREFIX}/bin && ${MV} pydocstyle pydocstyle-${PYVERSSUFFIX} || ${TRUE} | |
17 | 22 | |||
18 | .include "../../lang/python/egg.mk" | 23 | .include "../../lang/python/egg.mk" | |
19 | .include "../../mk/bsd.pkg.mk" | 24 | .include "../../mk/bsd.pkg.mk" |
@@ -1,32 +1,37 @@ | @@ -1,32 +1,37 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2017/04/04 13:31:37 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2017/07/30 15:53:49 adam Exp $ | |
2 | bin/pep257-${PYVERSSUFFIX} | |||
3 | bin/pydocstyle-${PYVERSSUFFIX} | 2 | bin/pydocstyle-${PYVERSSUFFIX} | |
4 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
5 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |||
8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
9 | ${PYSITELIB}/pydocstyle/__init__.py | 9 | ${PYSITELIB}/pydocstyle/__init__.py | |
10 | ${PYSITELIB}/pydocstyle/__main__.py | |||
11 | ${PYSITELIB}/pydocstyle/__init__.pyo | |||
12 | ${PYSITELIB}/pydocstyle/__init__.pyc | 10 | ${PYSITELIB}/pydocstyle/__init__.pyc | |
13 | ${PYSITELIB}/pydocstyle/__main__.pyo | 11 | ${PYSITELIB}/pydocstyle/__init__.pyo | |
12 | ${PYSITELIB}/pydocstyle/__main__.py | |||
14 | ${PYSITELIB}/pydocstyle/__main__.pyc | 13 | ${PYSITELIB}/pydocstyle/__main__.pyc | |
15 | ${PYSITELIB}/pydocstyle/checker.pyo | 14 | ${PYSITELIB}/pydocstyle/__main__.pyo | |
16 | ${PYSITELIB}/pydocstyle/checker.pyc | |||
17 | ${PYSITELIB}/pydocstyle/cli.pyo | |||
18 | ${PYSITELIB}/pydocstyle/cli.pyc | |||
19 | ${PYSITELIB}/pydocstyle/config.pyo | |||
20 | ${PYSITELIB}/pydocstyle/config.pyc | |||
21 | ${PYSITELIB}/pydocstyle/parser.pyo | |||
22 | ${PYSITELIB}/pydocstyle/parser.pyc | |||
23 | ${PYSITELIB}/pydocstyle/utils.pyo | |||
24 | ${PYSITELIB}/pydocstyle/utils.pyc | |||
25 | ${PYSITELIB}/pydocstyle/violations.pyo | |||
26 | ${PYSITELIB}/pydocstyle/violations.pyc | |||
27 | ${PYSITELIB}/pydocstyle/checker.py | 15 | ${PYSITELIB}/pydocstyle/checker.py | |
16 | ${PYSITELIB}/pydocstyle/checker.pyc | |||
17 | ${PYSITELIB}/pydocstyle/checker.pyo | |||
28 | ${PYSITELIB}/pydocstyle/cli.py | 18 | ${PYSITELIB}/pydocstyle/cli.py | |
19 | ${PYSITELIB}/pydocstyle/cli.pyc | |||
20 | ${PYSITELIB}/pydocstyle/cli.pyo | |||
29 | ${PYSITELIB}/pydocstyle/config.py | 21 | ${PYSITELIB}/pydocstyle/config.py | |
22 | ${PYSITELIB}/pydocstyle/config.pyc | |||
23 | ${PYSITELIB}/pydocstyle/config.pyo | |||
24 | ${PYSITELIB}/pydocstyle/data/imperatives.txt | |||
25 | ${PYSITELIB}/pydocstyle/data/imperatives_blacklist.txt | |||
30 | ${PYSITELIB}/pydocstyle/parser.py | 26 | ${PYSITELIB}/pydocstyle/parser.py | |
27 | ${PYSITELIB}/pydocstyle/parser.pyc | |||
28 | ${PYSITELIB}/pydocstyle/parser.pyo | |||
31 | ${PYSITELIB}/pydocstyle/utils.py | 29 | ${PYSITELIB}/pydocstyle/utils.py | |
30 | ${PYSITELIB}/pydocstyle/utils.pyc | |||
31 | ${PYSITELIB}/pydocstyle/utils.pyo | |||
32 | ${PYSITELIB}/pydocstyle/violations.py | 32 | ${PYSITELIB}/pydocstyle/violations.py | |
33 | ${PYSITELIB}/pydocstyle/violations.pyc | |||
34 | ${PYSITELIB}/pydocstyle/violations.pyo | |||
35 | ${PYSITELIB}/pydocstyle/wordlists.py | |||
36 | ${PYSITELIB}/pydocstyle/wordlists.pyc | |||
37 | ${PYSITELIB}/pydocstyle/wordlists.pyo |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.1 2017/04/04 13:31:37 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.2 2017/07/30 15:53:49 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (pydocstyle-1.1.1.zip) = 5a714b8ea97d6ca5969b9437f9bb997bcd3e64b3 | 3 | SHA1 (pydocstyle-2.0.0.zip) = 95eced658be8891eb1192e32f49283b4fecda47d | |
4 | RMD160 (pydocstyle-1.1.1.zip) = f5b748286a4b95b87865d0c2034226b60858e857 | 4 | RMD160 (pydocstyle-2.0.0.zip) = a7160186e96cc4caebf2b120791fc67f81cfb436 | |
5 | SHA512 (pydocstyle-1.1.1.zip) = f8b9a2f5706c40ad34752812897eaebd4fd0dbb06715582fdc977c1515d59c22bd50dee0f35565b96a19a3efa21ba90fc46fdc5ec179889d49cec93dfc18c588 | 5 | SHA512 (pydocstyle-2.0.0.zip) = e0d7b4547135eb2a43f0f303eef91a1cfb41cdd868ac2f8b8583c74a6697a3bf3442a9b641b7f7d2ffea9fec4219185e06e4cae2df37873d0f936fe3a9915662 | |
6 | Size (pydocstyle-1.1.1.zip) = 26570 bytes | 6 | Size (pydocstyle-2.0.0.zip) = 33343 bytes |