pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-codestyle



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Apr 11 13:24:02 UTC 2018

Modified Files:
        pkgsrc/devel/py-codestyle: Makefile distinfo

Log Message:
py-codestyle: updated to 2.4.0

2.4.0 (2018-04-10)
New checks:
Add W504 warning for checking that a break doesn’t happen after a binary operator. This check is ignored by default.
Add W605 warning for invalid escape sequences in string literals.
Add W606 warning for ‘async’ and ‘await’ reserved keywords being introduced in Python 3.7.
Add E252 error for missing whitespace around equal sign in type annotated function arguments with defaults values.

Changes:
An internal bisect search has replaced a linear search in order to improve efficiency.
pycodestyle now uses PyPI trove classifiers in order to document supported python versions on PyPI.
‘setup.cfg’ ‘[wheel]’ section has been renamed to ‘[bdist_wheel]’, as the former is legacy.
pycodestyle now handles very long lines much more efficiently for python 3.2+.
You can now write ‘pycodestyle.StyleGuide(verbose=True)’ instead of ‘pycodestyle.StyleGuide(verbose=True, paths=[‘-v’])’ in order to achieve verbosity.
The distribution of pycodestyle now includes the license text in order to comply with open source licenses which require this.
‘maximum_line_length’ now ignores shebang (‘#!’) lines.
Add configuration option for the allowed number of blank lines. It is implemented as a top level dictionary which can be easily overwritten.

Bugs:
Prevent a ‘DeprecationWarning’, and a ‘SyntaxError’ in future python, caused by an invalid escape sequence.
Correctly report E501 when the first line of a docstring is too long.
Support variable annotation when variable start by a keyword, such as class variable type annotations in python 3.6.
pycodestyle internals have been changed in order to allow ‘python3 -m cProfile’ to report correct metrics.
Fix a spelling mistake in the description of E722.
‘pycodestyle –diff’ now does not break if your ‘gitconfig’ enables ‘mnemonicprefix’.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-codestyle/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-codestyle/distinfo

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-codestyle/Makefile
diff -u pkgsrc/devel/py-codestyle/Makefile:1.4 pkgsrc/devel/py-codestyle/Makefile:1.5
--- pkgsrc/devel/py-codestyle/Makefile:1.4      Sun Jul 30 22:32:16 2017
+++ pkgsrc/devel/py-codestyle/Makefile  Wed Apr 11 13:24:02 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2017/07/30 22:32:16 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2018/04/11 13:24:02 adam Exp $
 
-DISTNAME=      pycodestyle-2.3.1
+DISTNAME=      pycodestyle-2.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycodestyle/}
@@ -15,8 +15,5 @@ USE_LANGUAGES=        # none
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE}
 
-do-test:
-       cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} setup.py test
-
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-codestyle/distinfo
diff -u pkgsrc/devel/py-codestyle/distinfo:1.2 pkgsrc/devel/py-codestyle/distinfo:1.3
--- pkgsrc/devel/py-codestyle/distinfo:1.2      Wed May  3 19:29:58 2017
+++ pkgsrc/devel/py-codestyle/distinfo  Wed Apr 11 13:24:02 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2017/05/03 19:29:58 adam Exp $
+$NetBSD: distinfo,v 1.3 2018/04/11 13:24:02 adam Exp $
 
-SHA1 (pycodestyle-2.3.1.tar.gz) = bdbd7415485975649fbce9b461aae26157898c56
-RMD160 (pycodestyle-2.3.1.tar.gz) = beb5e00fdd74e3811a180959bac9c2abfb7cbea0
-SHA512 (pycodestyle-2.3.1.tar.gz) = 276bc21b4e6898e379be88f3582135a21314460ad20d4b6c3e12825ac1a72082b2c08bb62099e704c3222f879a1098d0b305132fac1095aaa60ca239b9763a2d
-Size (pycodestyle-2.3.1.tar.gz) = 89460 bytes
+SHA1 (pycodestyle-2.4.0.tar.gz) = dd63c40c89afed96503ad9240c5b6d51ebdc0f9c
+RMD160 (pycodestyle-2.4.0.tar.gz) = 1a0281bb62c0a409e2318b6eb3b25e84c9840f8e
+SHA512 (pycodestyle-2.4.0.tar.gz) = cb35238291fed30f1a4363e65b754165772d01e6006e19ce31769691aed17411cd893899fcd22dfca0455401bee899097fff6f3d63825c7656f186e37b7da3a0
+Size (pycodestyle-2.4.0.tar.gz) = 96665 bytes



Home | Main Index | Thread Index | Old Index