Source-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.6.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/7fda2ce1faf4
branches: trunk
changeset: 431321:7fda2ce1faf4
user: adam <adam%pkgsrc.org@localhost>
date: Tue May 12 06:36:42 2020 +0000
description:
py-codestyle: updated to 2.6.0
2.6.0:
Changes:
* E306: fix detection inside ``async def``.
* E301: fix regression disallowing decorated one-liners.
* E714: fix false positive with chained ``is not``.
2.6.0a1:
New checks:
* E225: require whitespace around ``and`` ``in`` ``is`` and ``or``.
Changes:
* E117: fix indentation using tabs by treating as 8-space indents.
* E721: fix false positive with names containg ``istype``.
* E741: allow ``l`` as a named argument in a function call.
* E302: fix false-negative with decorated functions.
* W504: ellipsis (``...``) is no longer treated as a binary operator.
* E402: allow ``with``, ``if``, ``elif``, ``else`` to guard imports.
* Add support for assignment expressions ``:=`` (PEP 572).
* Add support for positional-only arguments ``/`` (PEP 570).
* Add support for python 3.8.
* Add support for matrix multiplication operator ``@`` (PEP 465).
* Support visual indent for continuation lines for ``with`` / ``assert`` /
``raise``.
* E302: allow two blank lines after a block of one-liners.
* E302: allow two-and-fewer newlines at the top of the file.
diffstat:
devel/py-codestyle/Makefile | 7 +++++--
devel/py-codestyle/distinfo | 10 +++++-----
2 files changed, 10 insertions(+), 7 deletions(-)
diffs (36 lines):
diff -r b69466f14f87 -r 7fda2ce1faf4 devel/py-codestyle/Makefile
--- a/devel/py-codestyle/Makefile Tue May 12 06:16:17 2020 +0000
+++ b/devel/py-codestyle/Makefile Tue May 12 06:36:42 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2019/01/30 22:44:53 adam Exp $
+# $NetBSD: Makefile,v 1.7 2020/05/12 06:36:42 adam Exp $
-DISTNAME= pycodestyle-2.5.0
+DISTNAME= pycodestyle-2.6.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/}
@@ -16,5 +16,8 @@
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE}
+do-test:
+ cd ${WRKSRC} && ${PYTHONBIN} -m unittest -v
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b69466f14f87 -r 7fda2ce1faf4 devel/py-codestyle/distinfo
--- a/devel/py-codestyle/distinfo Tue May 12 06:16:17 2020 +0000
+++ b/devel/py-codestyle/distinfo Tue May 12 06:36:42 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2019/01/30 22:44:53 adam Exp $
+$NetBSD: distinfo,v 1.5 2020/05/12 06:36:42 adam Exp $
-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
+SHA1 (pycodestyle-2.6.0.tar.gz) = b6dad24feff7e3eacb3f7f6044883b162836a8aa
+RMD160 (pycodestyle-2.6.0.tar.gz) = 7315d4bfe162b50095cd69ab8993173bf3d56180
+SHA512 (pycodestyle-2.6.0.tar.gz) = 3bf9904752170135ca399a1b25470a531adb5b85dfd8df7ffbbc86b5875bc3a507cd8732158bc9cb7fd5b44b48c9a32d63d621856d55a15bc3104a99ca4bd271
+Size (pycodestyle-2.6.0.tar.gz) = 100213 bytes
Home |
Main Index |
Thread Index |
Old Index