pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-codestyle py-codestyle: updated to 2.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88a8363e92b3
branches:  trunk
changeset: 318869:88a8363e92b3
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 30 22:44:53 2019 +0000

description:
py-codestyle: updated to 2.5.0

2.5.0:

New checks:
* E117: Over-indented code blocks
* W505: Maximum doc-string length only when configured with --max-doc-length

Changes:
* Remove support for EOL Python 2.6 and 3.3.
* Add E117 error for over-indented code blocks.
* Allow W605 to be silenced by # noqa and fix the position reported by W605
* Allow users to omit blank lines around one-liner definitions of classes and
  functions
* Include the function return annotation (->) as requiring surrounding
  whitespace only on Python 3
* Verify that only names can follow await. Previously we allowed numbers
  and strings.
* Add support for Python 3.7
* Fix detection of annotated argument defaults for E252
* Cprrect the position reported by W504

diffstat:

 devel/py-codestyle/Makefile |   7 ++++---
 devel/py-codestyle/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (37 lines):

diff -r 2770ed3aaeda -r 88a8363e92b3 devel/py-codestyle/Makefile
--- a/devel/py-codestyle/Makefile       Wed Jan 30 22:42:45 2019 +0000
+++ b/devel/py-codestyle/Makefile       Wed Jan 30 22:44:53 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2018/04/11 13:24:02 adam Exp $
+# $NetBSD: Makefile,v 1.6 2019/01/30 22:44:53 adam Exp $
 
-DISTNAME=      pycodestyle-2.4.0
+DISTNAME=      pycodestyle-2.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycodestyle/}
@@ -13,7 +13,8 @@
 USE_LANGUAGES= # none
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2770ed3aaeda -r 88a8363e92b3 devel/py-codestyle/distinfo
--- a/devel/py-codestyle/distinfo       Wed Jan 30 22:42:45 2019 +0000
+++ b/devel/py-codestyle/distinfo       Wed Jan 30 22:44:53 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2018/04/11 13:24:02 adam Exp $
+$NetBSD: distinfo,v 1.4 2019/01/30 22:44:53 adam Exp $
 
-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
+SHA1 (pycodestyle-2.5.0.tar.gz) = 8d25df191e57d6602bc8ccaf6f6d4f84181301d6
+RMD160 (pycodestyle-2.5.0.tar.gz) = aa9a73b35c6bd921be4eb8c3a5bcd3cd09e20fd8
+SHA512 (pycodestyle-2.5.0.tar.gz) = 84e751a7d00048393b02ca743de5d71d1641e948ee1b4daebbdf2d07e0cd8f087ca4e81f826061114b40ef41920bbcd680c9f479e7cc1a159a70188425717208
+Size (pycodestyle-2.5.0.tar.gz) = 98802 bytes



Home | Main Index | Thread Index | Old Index