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:           Tue May 12 06:36:42 UTC 2020

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-codestyle/Makefile
cvs rdiff -u -r1.4 -r1.5 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.6 pkgsrc/devel/py-codestyle/Makefile:1.7
--- pkgsrc/devel/py-codestyle/Makefile:1.6      Wed Jan 30 22:44:53 2019
+++ pkgsrc/devel/py-codestyle/Makefile  Tue May 12 06:36:42 2020
@@ -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 @@ post-install:
        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"

Index: pkgsrc/devel/py-codestyle/distinfo
diff -u pkgsrc/devel/py-codestyle/distinfo:1.4 pkgsrc/devel/py-codestyle/distinfo:1.5
--- pkgsrc/devel/py-codestyle/distinfo:1.4      Wed Jan 30 22:44:53 2019
+++ pkgsrc/devel/py-codestyle/distinfo  Tue May 12 06:36:42 2020
@@ -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