pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-flake8 py-flake8: updated to 3.7.1



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

description:
py-flake8: updated to 3.7.1

3.7.1:
Bugs Fixed
- Fix capitalized filenames in per-file-ignores setting

3.7.0:
New Dependency Information
- Add dependency on entrypoints >= 0.3, < 0.4
- Pyflakes has been updated to >= 2.1.0, < 2.2.0
- pycodestyle has been updated to >= 2.5.0, < 2.6.0

Features
- Add support for per-file-ignores
- Enable use of float and complex option types
- Improve startup performance by switching from pkg_resources to
  entrypoints
- Add metadata for use through the pre-commit_ git hooks framework
- Allow physical line checks to return more than one result
- Allow # noqa:X123 comments without space between the colon and codes
  list
- Remove broken and unused flake8.listen plugin type

diffstat:

 devel/py-flake8/Makefile |  18 ++++++++++++------
 devel/py-flake8/PLIST    |   8 +-------
 devel/py-flake8/distinfo |  10 +++++-----
 3 files changed, 18 insertions(+), 18 deletions(-)

diffs (85 lines):

diff -r 055323ddbeae -r de783d62f371 devel/py-flake8/Makefile
--- a/devel/py-flake8/Makefile  Wed Jan 30 22:44:53 2019 +0000
+++ b/devel/py-flake8/Makefile  Wed Jan 30 22:53:11 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2018/11/04 22:24:39 adam Exp $
+# $NetBSD: Makefile,v 1.21 2019/01/30 22:53:11 adam Exp $
 
-DISTNAME=      flake8-3.6.0
+DISTNAME=      flake8-3.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flake8/}
@@ -10,14 +10,16 @@
 COMMENT=       Modular source code checker for Python programs
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-codestyle>=2.4.0:../../devel/py-codestyle
-DEPENDS+=      ${PYPKGPREFIX}-flakes>=2.0.0:../../devel/py-flakes
+DEPENDS+=      ${PYPKGPREFIX}-codestyle>=2.5.0:../../devel/py-codestyle
+DEPENDS+=      ${PYPKGPREFIX}-entrypoints>=0.3:../../devel/py-entrypoints
+DEPENDS+=      ${PYPKGPREFIX}-flakes>=2.1.0:../../devel/py-flakes
 DEPENDS+=      ${PYPKGPREFIX}-mccabe>=0.6.0:../../devel/py-mccabe
-DEPENDS+=      ${PYPKGPREFIX}-setuptools>=30:../../devel/py-setuptools
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
 DEPENDS+=      ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
 DEPENDS+=      ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
+.elif ${_PYTHON_VERSION} == 34
+DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
 .endif
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
@@ -26,7 +28,11 @@
 USE_LANGUAGES= # none
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} flake8 flake8-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} flake8 flake8-${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 055323ddbeae -r de783d62f371 devel/py-flake8/PLIST
--- a/devel/py-flake8/PLIST     Wed Jan 30 22:44:53 2019 +0000
+++ b/devel/py-flake8/PLIST     Wed Jan 30 22:53:11 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2016/11/28 12:45:55 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/01/30 22:53:11 adam Exp $
 bin/flake8-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -78,15 +78,9 @@
 ${PYSITELIB}/flake8/plugins/__init__.py
 ${PYSITELIB}/flake8/plugins/__init__.pyc
 ${PYSITELIB}/flake8/plugins/__init__.pyo
-${PYSITELIB}/flake8/plugins/_trie.py
-${PYSITELIB}/flake8/plugins/_trie.pyc
-${PYSITELIB}/flake8/plugins/_trie.pyo
 ${PYSITELIB}/flake8/plugins/manager.py
 ${PYSITELIB}/flake8/plugins/manager.pyc
 ${PYSITELIB}/flake8/plugins/manager.pyo
-${PYSITELIB}/flake8/plugins/notifier.py
-${PYSITELIB}/flake8/plugins/notifier.pyc
-${PYSITELIB}/flake8/plugins/notifier.pyo
 ${PYSITELIB}/flake8/plugins/pyflakes.py
 ${PYSITELIB}/flake8/plugins/pyflakes.pyc
 ${PYSITELIB}/flake8/plugins/pyflakes.pyo
diff -r 055323ddbeae -r de783d62f371 devel/py-flake8/distinfo
--- a/devel/py-flake8/distinfo  Wed Jan 30 22:44:53 2019 +0000
+++ b/devel/py-flake8/distinfo  Wed Jan 30 22:53:11 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2018/10/24 10:35:46 adam Exp $
+$NetBSD: distinfo,v 1.15 2019/01/30 22:53:11 adam Exp $
 
-SHA1 (flake8-3.6.0.tar.gz) = a00b23465dac455796e32bfbe76cfef3434003fb
-RMD160 (flake8-3.6.0.tar.gz) = 991d42b9e138b0368bc0670cdb5cdef483bb713e
-SHA512 (flake8-3.6.0.tar.gz) = f4377bc7806074a88f88b3652c3061583e576ee515b2b741cee9c6dc18f84f34a7807c93fda9dca3d8b006e379dcee60bb3ae20e6a2e62fd216a82a2b36f2eb5
-Size (flake8-3.6.0.tar.gz) = 144684 bytes
+SHA1 (flake8-3.7.1.tar.gz) = 6a4fd670139bd195e444d3c0903a8962853c1128
+RMD160 (flake8-3.7.1.tar.gz) = 5c7c9900e53816c991482b0316733861c4e92397
+SHA512 (flake8-3.7.1.tar.gz) = 647c274f16853b48c8486111c09c75e041f671f5333c61da64b70347eed7b95f922975d0fa143e2de54046927b8b86b8b2a63a7489f37c2f09b132d2247dc498
+Size (flake8-3.7.1.tar.gz) = 146332 bytes



Home | Main Index | Thread Index | Old Index