pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-pylint Pylint 1.7.2:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/877fc7737544
branches:  trunk
changeset: 365440:877fc7737544
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jul 16 20:33:32 2017 +0000

description:
Pylint 1.7.2:
* enum34 dependency is forced to be at least version 1.1.3. Fixes spurious
  bug related to enum classes being falsy in boolean context, which caused
  _Inconsistent Hierarchy_ `RuntimeError` in `singledispatch` module.

diffstat:

 devel/py-pylint/ALTERNATIVES |    2 -
 devel/py-pylint/Makefile     |   20 +--
 devel/py-pylint/PLIST        |  261 ++++++++++++++++++++++++++++++++----------
 devel/py-pylint/distinfo     |   12 +-
 4 files changed, 207 insertions(+), 88 deletions(-)

diffs (truncated from 806 to 300 lines):

diff -r 2246bbdb2e76 -r 877fc7737544 devel/py-pylint/ALTERNATIVES
--- a/devel/py-pylint/ALTERNATIVES      Sun Jul 16 20:27:57 2017 +0000
+++ b/devel/py-pylint/ALTERNATIVES      Sun Jul 16 20:33:32 2017 +0000
@@ -1,10 +1,8 @@
 bin/epylint @PREFIX@/bin/epylint@PYVERSSUFFIX@
 bin/pylint @PREFIX@/bin/pylint@PYVERSSUFFIX@
-bin/pylint-gui @PREFIX@/bin/pylint-gui@PYVERSSUFFIX@
 bin/pyreverse @PREFIX@/bin/pyreverse@PYVERSSUFFIX@
 bin/symilar @PREFIX@/bin/symilar@PYVERSSUFFIX@
 man/man1/epylint.1 @PREFIX@/man/man1/epylint@PYVERSSUFFIX@.1
-man/man1/pylint-gui.1 @PREFIX@/man/man1/pylint-gui@PYVERSSUFFIX@.1
 man/man1/pylint.1 @PREFIX@/man/man1/pylint@PYVERSSUFFIX@.1
 man/man1/pyreverse.1 @PREFIX@/man/man1/pyreverse@PYVERSSUFFIX@.1
 man/man1/symilar.1 @PREFIX@/man/man1/symilar@PYVERSSUFFIX@.1
diff -r 2246bbdb2e76 -r 877fc7737544 devel/py-pylint/Makefile
--- a/devel/py-pylint/Makefile  Sun Jul 16 20:27:57 2017 +0000
+++ b/devel/py-pylint/Makefile  Sun Jul 16 20:33:32 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2017/03/01 13:08:43 fhajny Exp $
+# $NetBSD: Makefile,v 1.15 2017/07/16 20:33:32 adam Exp $
 
-DISTNAME=      pylint-1.6.5
+DISTNAME=      pylint-1.7.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pylint/}
@@ -12,37 +12,31 @@
 
 .include "../../lang/python/pyversion.mk"
 
-DEPENDS+=      ${PYPKGPREFIX}-astroid>=1.4.5<1.5.0:../../devel/py-astroid
+DEPENDS+=      ${PYPKGPREFIX}-astroid>=1.5.1:../../devel/py-astroid
 DEPENDS+=      ${PYPKGPREFIX}-isort>=4.2.5:../../devel/py-isort
 DEPENDS+=      ${PYPKGPREFIX}-mccabe-[0-9]*:../../devel/py-mccabe
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-DEPENDS+=      ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
 .if ${PYVERSSUFFIX} == "2.7"
 DEPENDS+=      ${PYPKGPREFIX}-backports.functools_lru_cache-[0-9]*:../../devel/py-backports.functools_lru_cache
 DEPENDS+=      ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
+DEPENDS+=      ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
 .endif
 
 USE_LANGUAGES= # none
 
-SCRIPTS=       epylint pylint pylint-gui pyreverse symilar
-
 INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
 REPLACE_PYTHON+=       pylint/test/data/ascript
 
-pre-configure:
-.for file in ${SCRIPTS}
-       ${MV} ${WRKSRC}/bin/${file} ${WRKSRC}/bin/${file}${PYVERSSUFFIX}
-.endfor
-
 post-install:
-.for file in ${SCRIPTS}
+.for file in epylint pylint pyreverse symilar
+       ${MV} ${DESTDIR}${PREFIX}/bin/${file} ${DESTDIR}${PREFIX}/bin/${file}${PYVERSSUFFIX}
        ${INSTALL_DATA} ${WRKSRC}/man/${file}.1 \
                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${file}${PYVERSSUFFIX}.1
 .endfor
 
 do-test:
-       ${RUN} cd ${WRKSRC}/pylint/test; ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -p "unittest*.py"
+       cd ${WRKSRC}/pylint/test && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -p "unittest*.py"
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
diff -r 2246bbdb2e76 -r 877fc7737544 devel/py-pylint/PLIST
--- a/devel/py-pylint/PLIST     Sun Jul 16 20:27:57 2017 +0000
+++ b/devel/py-pylint/PLIST     Sun Jul 16 20:33:32 2017 +0000
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.6 2017/03/01 13:08:43 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.7 2017/07/16 20:33:32 adam Exp $
 bin/epylint${PYVERSSUFFIX}
-bin/pylint-gui${PYVERSSUFFIX}
 bin/pylint${PYVERSSUFFIX}
 bin/pyreverse${PYVERSSUFFIX}
 bin/symilar${PYVERSSUFFIX}
@@ -58,6 +57,9 @@
 ${PYSITELIB}/pylint/checkers/raw_metrics.py
 ${PYSITELIB}/pylint/checkers/raw_metrics.pyc
 ${PYSITELIB}/pylint/checkers/raw_metrics.pyo
+${PYSITELIB}/pylint/checkers/refactoring.py
+${PYSITELIB}/pylint/checkers/refactoring.pyc
+${PYSITELIB}/pylint/checkers/refactoring.pyo
 ${PYSITELIB}/pylint/checkers/similar.py
 ${PYSITELIB}/pylint/checkers/similar.pyc
 ${PYSITELIB}/pylint/checkers/similar.pyo
@@ -85,6 +87,9 @@
 ${PYSITELIB}/pylint/epylint.py
 ${PYSITELIB}/pylint/epylint.pyc
 ${PYSITELIB}/pylint/epylint.pyo
+${PYSITELIB}/pylint/exceptions.py
+${PYSITELIB}/pylint/exceptions.pyc
+${PYSITELIB}/pylint/exceptions.pyo
 ${PYSITELIB}/pylint/extensions/__init__.py
 ${PYSITELIB}/pylint/extensions/__init__.pyc
 ${PYSITELIB}/pylint/extensions/__init__.pyo
@@ -100,21 +105,30 @@
 ${PYSITELIB}/pylint/extensions/check_elif.py
 ${PYSITELIB}/pylint/extensions/check_elif.pyc
 ${PYSITELIB}/pylint/extensions/check_elif.pyo
+${PYSITELIB}/pylint/extensions/comparetozero.py
+${PYSITELIB}/pylint/extensions/comparetozero.pyc
+${PYSITELIB}/pylint/extensions/comparetozero.pyo
 ${PYSITELIB}/pylint/extensions/docparams.py
 ${PYSITELIB}/pylint/extensions/docparams.pyc
 ${PYSITELIB}/pylint/extensions/docparams.pyo
 ${PYSITELIB}/pylint/extensions/docstyle.py
 ${PYSITELIB}/pylint/extensions/docstyle.pyc
 ${PYSITELIB}/pylint/extensions/docstyle.pyo
+${PYSITELIB}/pylint/extensions/emptystring.py
+${PYSITELIB}/pylint/extensions/emptystring.pyc
+${PYSITELIB}/pylint/extensions/emptystring.pyo
 ${PYSITELIB}/pylint/extensions/mccabe.py
 ${PYSITELIB}/pylint/extensions/mccabe.pyc
 ${PYSITELIB}/pylint/extensions/mccabe.pyo
+${PYSITELIB}/pylint/extensions/overlapping_exceptions.py
+${PYSITELIB}/pylint/extensions/overlapping_exceptions.pyc
+${PYSITELIB}/pylint/extensions/overlapping_exceptions.pyo
+${PYSITELIB}/pylint/extensions/redefined_variable_type.py
+${PYSITELIB}/pylint/extensions/redefined_variable_type.pyc
+${PYSITELIB}/pylint/extensions/redefined_variable_type.pyo
 ${PYSITELIB}/pylint/graph.py
 ${PYSITELIB}/pylint/graph.pyc
 ${PYSITELIB}/pylint/graph.pyo
-${PYSITELIB}/pylint/gui.py
-${PYSITELIB}/pylint/gui.pyc
-${PYSITELIB}/pylint/gui.pyo
 ${PYSITELIB}/pylint/interfaces.py
 ${PYSITELIB}/pylint/interfaces.pyc
 ${PYSITELIB}/pylint/interfaces.pyo
@@ -148,12 +162,6 @@
 ${PYSITELIB}/pylint/reporters/__init__.py
 ${PYSITELIB}/pylint/reporters/__init__.pyc
 ${PYSITELIB}/pylint/reporters/__init__.pyo
-${PYSITELIB}/pylint/reporters/guireporter.py
-${PYSITELIB}/pylint/reporters/guireporter.pyc
-${PYSITELIB}/pylint/reporters/guireporter.pyo
-${PYSITELIB}/pylint/reporters/html.py
-${PYSITELIB}/pylint/reporters/html.pyc
-${PYSITELIB}/pylint/reporters/html.pyo
 ${PYSITELIB}/pylint/reporters/json.py
 ${PYSITELIB}/pylint/reporters/json.pyc
 ${PYSITELIB}/pylint/reporters/json.pyo
@@ -163,15 +171,14 @@
 ${PYSITELIB}/pylint/reporters/ureports/__init__.py
 ${PYSITELIB}/pylint/reporters/ureports/__init__.pyc
 ${PYSITELIB}/pylint/reporters/ureports/__init__.pyo
-${PYSITELIB}/pylint/reporters/ureports/html_writer.py
-${PYSITELIB}/pylint/reporters/ureports/html_writer.pyc
-${PYSITELIB}/pylint/reporters/ureports/html_writer.pyo
 ${PYSITELIB}/pylint/reporters/ureports/nodes.py
 ${PYSITELIB}/pylint/reporters/ureports/nodes.pyc
 ${PYSITELIB}/pylint/reporters/ureports/nodes.pyo
 ${PYSITELIB}/pylint/reporters/ureports/text_writer.py
 ${PYSITELIB}/pylint/reporters/ureports/text_writer.pyc
 ${PYSITELIB}/pylint/reporters/ureports/text_writer.pyo
+${PYSITELIB}/pylint/test/a.py
+${PYSITELIB}/pylint/test/conftest.py
 ${PYSITELIB}/pylint/test/data/__init__.py
 ${PYSITELIB}/pylint/test/data/ascript
 ${PYSITELIB}/pylint/test/data/classes_No_Name.dot
@@ -180,17 +187,27 @@
 ${PYSITELIB}/pylint/test/data/suppliermodule_test.py
 ${PYSITELIB}/pylint/test/extensions/__init__.py
 ${PYSITELIB}/pylint/test/extensions/data/bad_builtin.py
+${PYSITELIB}/pylint/test/extensions/data/compare_to_zero.py
 ${PYSITELIB}/pylint/test/extensions/data/docstring.py
 ${PYSITELIB}/pylint/test/extensions/data/elif.py
+${PYSITELIB}/pylint/test/extensions/data/empty_string_comparison.py
 ${PYSITELIB}/pylint/test/extensions/data/mccabe.py
+${PYSITELIB}/pylint/test/extensions/data/overlapping_exceptions.py
+${PYSITELIB}/pylint/test/extensions/data/overlapping_exceptions_py33.py
+${PYSITELIB}/pylint/test/extensions/data/redefined.py
 ${PYSITELIB}/pylint/test/extensions/test_bad_builtin.py
 ${PYSITELIB}/pylint/test/extensions/test_check_docs.py
 ${PYSITELIB}/pylint/test/extensions/test_check_docs_utils.py
 ${PYSITELIB}/pylint/test/extensions/test_check_mccabe.py
 ${PYSITELIB}/pylint/test/extensions/test_check_raise_docs.py
 ${PYSITELIB}/pylint/test/extensions/test_check_return_docs.py
+${PYSITELIB}/pylint/test/extensions/test_check_yields_docs.py
+${PYSITELIB}/pylint/test/extensions/test_comparetozero.py
 ${PYSITELIB}/pylint/test/extensions/test_docstyle.py
 ${PYSITELIB}/pylint/test/extensions/test_elseif_used.py
+${PYSITELIB}/pylint/test/extensions/test_emptystring.py
+${PYSITELIB}/pylint/test/extensions/test_overlapping_exceptions.py
+${PYSITELIB}/pylint/test/extensions/test_redefined.py
 ${PYSITELIB}/pylint/test/functional/__init__.py
 ${PYSITELIB}/pylint/test/functional/abstract_abc_methods.py
 ${PYSITELIB}/pylint/test/functional/abstract_class_instantiated_in_class.py
@@ -225,6 +242,9 @@
 ${PYSITELIB}/pylint/test/functional/arguments.txt
 ${PYSITELIB}/pylint/test/functional/arguments_differ.py
 ${PYSITELIB}/pylint/test/functional/arguments_differ.txt
+${PYSITELIB}/pylint/test/functional/arguments_differ_py3.py
+${PYSITELIB}/pylint/test/functional/arguments_differ_py3.rc
+${PYSITELIB}/pylint/test/functional/arguments_differ_py3.txt
 ${PYSITELIB}/pylint/test/functional/assert_on_tuple.py
 ${PYSITELIB}/pylint/test/functional/assert_on_tuple.txt
 ${PYSITELIB}/pylint/test/functional/assigning_non_slot.py
@@ -236,6 +256,10 @@
 ${PYSITELIB}/pylint/test/functional/attribute_defined_outside_init.txt
 ${PYSITELIB}/pylint/test/functional/bad_continuation.py
 ${PYSITELIB}/pylint/test/functional/bad_continuation.txt
+${PYSITELIB}/pylint/test/functional/bad_continuation_py36.py
+${PYSITELIB}/pylint/test/functional/bad_continuation_py36.rc
+${PYSITELIB}/pylint/test/functional/bad_except_order.py
+${PYSITELIB}/pylint/test/functional/bad_except_order.txt
 ${PYSITELIB}/pylint/test/functional/bad_exception_context.py
 ${PYSITELIB}/pylint/test/functional/bad_exception_context.rc
 ${PYSITELIB}/pylint/test/functional/bad_exception_context.txt
@@ -263,6 +287,10 @@
 ${PYSITELIB}/pylint/test/functional/boolean_datetime.py
 ${PYSITELIB}/pylint/test/functional/boolean_datetime.rc
 ${PYSITELIB}/pylint/test/functional/boolean_datetime.txt
+${PYSITELIB}/pylint/test/functional/broad_except.py
+${PYSITELIB}/pylint/test/functional/broad_except.txt
+${PYSITELIB}/pylint/test/functional/bugfix_local_scope_metaclass_1177.py
+${PYSITELIB}/pylint/test/functional/bugfix_local_scope_metaclass_1177.rc
 ${PYSITELIB}/pylint/test/functional/cellvar_escaping_loop.py
 ${PYSITELIB}/pylint/test/functional/cellvar_escaping_loop.txt
 ${PYSITELIB}/pylint/test/functional/class_members_py27.py
@@ -280,6 +308,8 @@
 ${PYSITELIB}/pylint/test/functional/confusing_with_statement.txt
 ${PYSITELIB}/pylint/test/functional/consider_iterating_dictionary.py
 ${PYSITELIB}/pylint/test/functional/consider_iterating_dictionary.txt
+${PYSITELIB}/pylint/test/functional/consider_merging_isinstance.py
+${PYSITELIB}/pylint/test/functional/consider_merging_isinstance.txt
 ${PYSITELIB}/pylint/test/functional/consider_using_enumerate.py
 ${PYSITELIB}/pylint/test/functional/consider_using_enumerate.txt
 ${PYSITELIB}/pylint/test/functional/continue_in_finally.py
@@ -298,24 +328,35 @@
 ${PYSITELIB}/pylint/test/functional/deprecated_lambda.py
 ${PYSITELIB}/pylint/test/functional/deprecated_lambda.rc
 ${PYSITELIB}/pylint/test/functional/deprecated_lambda.txt
+${PYSITELIB}/pylint/test/functional/deprecated_method_getmoduleinfo.py
+${PYSITELIB}/pylint/test/functional/deprecated_method_getmoduleinfo.rc
+${PYSITELIB}/pylint/test/functional/deprecated_method_getmoduleinfo.txt
 ${PYSITELIB}/pylint/test/functional/deprecated_methods_py2.py
 ${PYSITELIB}/pylint/test/functional/deprecated_methods_py2.rc
 ${PYSITELIB}/pylint/test/functional/deprecated_methods_py2.txt
 ${PYSITELIB}/pylint/test/functional/deprecated_methods_py3.py
 ${PYSITELIB}/pylint/test/functional/deprecated_methods_py3.rc
 ${PYSITELIB}/pylint/test/functional/deprecated_methods_py3.txt
+${PYSITELIB}/pylint/test/functional/deprecated_methods_py36.py
+${PYSITELIB}/pylint/test/functional/deprecated_methods_py36.rc
+${PYSITELIB}/pylint/test/functional/deprecated_methods_py36.txt
 ${PYSITELIB}/pylint/test/functional/deprecated_module_py2.py
 ${PYSITELIB}/pylint/test/functional/deprecated_module_py2.rc
 ${PYSITELIB}/pylint/test/functional/deprecated_module_py2.txt
 ${PYSITELIB}/pylint/test/functional/deprecated_module_py3.py
 ${PYSITELIB}/pylint/test/functional/deprecated_module_py3.rc
 ${PYSITELIB}/pylint/test/functional/deprecated_module_py3.txt
+${PYSITELIB}/pylint/test/functional/deprecated_module_py36.py
+${PYSITELIB}/pylint/test/functional/deprecated_module_py36.rc
+${PYSITELIB}/pylint/test/functional/deprecated_module_py36.txt
 ${PYSITELIB}/pylint/test/functional/deprecated_module_py4.py
 ${PYSITELIB}/pylint/test/functional/deprecated_module_py4.rc
 ${PYSITELIB}/pylint/test/functional/deprecated_module_py4.txt
 ${PYSITELIB}/pylint/test/functional/deprecated_module_uninstalled.py
 ${PYSITELIB}/pylint/test/functional/deprecated_module_uninstalled.rc
 ${PYSITELIB}/pylint/test/functional/deprecated_module_uninstalled.txt
+${PYSITELIB}/pylint/test/functional/disable_msg_github_issue_1389.py
+${PYSITELIB}/pylint/test/functional/disable_msg_github_issue_1389.rc
 ${PYSITELIB}/pylint/test/functional/docstrings.py
 ${PYSITELIB}/pylint/test/functional/docstrings.txt
 ${PYSITELIB}/pylint/test/functional/duplicate_argument_name.py
@@ -330,6 +371,9 @@
 ${PYSITELIB}/pylint/test/functional/eval_used.txt
 ${PYSITELIB}/pylint/test/functional/exception_is_binary_op.py
 ${PYSITELIB}/pylint/test/functional/exception_is_binary_op.txt
+${PYSITELIB}/pylint/test/functional/exception_message.py
+${PYSITELIB}/pylint/test/functional/exception_message.rc
+${PYSITELIB}/pylint/test/functional/exception_message.txt
 ${PYSITELIB}/pylint/test/functional/exec_used_py2.py
 ${PYSITELIB}/pylint/test/functional/exec_used_py2.rc
 ${PYSITELIB}/pylint/test/functional/exec_used_py2.txt
@@ -343,6 +387,9 @@
 ${PYSITELIB}/pylint/test/functional/fallback_import_enabled.txt
 ${PYSITELIB}/pylint/test/functional/fixme.py
 ${PYSITELIB}/pylint/test/functional/fixme.txt
+${PYSITELIB}/pylint/test/functional/fixme_bad_formatting_1139.py
+${PYSITELIB}/pylint/test/functional/fixme_bad_formatting_1139.rc
+${PYSITELIB}/pylint/test/functional/fixme_bad_formatting_1139.txt
 ${PYSITELIB}/pylint/test/functional/formatting.txt
 ${PYSITELIB}/pylint/test/functional/function_redefined.py
 ${PYSITELIB}/pylint/test/functional/function_redefined.txt
@@ -352,6 +399,8 @@
 ${PYSITELIB}/pylint/test/functional/future_unicode_literals.txt
 ${PYSITELIB}/pylint/test/functional/generated_members.py
 ${PYSITELIB}/pylint/test/functional/generated_members.rc
+${PYSITELIB}/pylint/test/functional/genexp_in_class_scope.py
+${PYSITELIB}/pylint/test/functional/genexp_in_class_scope.txt
 ${PYSITELIB}/pylint/test/functional/genexpr_variable_scope.py
 ${PYSITELIB}/pylint/test/functional/genexpr_variable_scope.txt
 ${PYSITELIB}/pylint/test/functional/globals.py
@@ -369,6 +418,8 @@



Home | Main Index | Thread Index | Old Index