pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-lint Import pylint 1.6.5 as devel/py-lint.
details: https://anonhg.NetBSD.org/pkgsrc/rev/81775704d018
branches: trunk
changeset: 359155:81775704d018
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Tue Feb 28 20:56:33 2017 +0000
description:
Import pylint 1.6.5 as devel/py-lint.
Pylint is a Python source code analyzer which looks for
programming errors, helps enforcing a coding standard and sniffs
for some code smells (as defined in Martin Fowler's Refactoring
book).
diffstat:
devel/py-lint/ALTERNATIVES | 10 +
devel/py-lint/DESCR | 4 +
devel/py-lint/Makefile | 45 +
devel/py-lint/PLIST | 938 ++++++++++++++++++
devel/py-lint/distinfo | 8 +
devel/py-lint/patches/patch-pylint_____pkginfo____.py | 24 +
devel/py-lint/patches/patch-setup.py | 23 +
7 files changed, 1052 insertions(+), 0 deletions(-)
diffs (truncated from 1080 to 300 lines):
diff -r ea8d168caf43 -r 81775704d018 devel/py-lint/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-lint/ALTERNATIVES Tue Feb 28 20:56:33 2017 +0000
@@ -0,0 +1,10 @@
+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 ea8d168caf43 -r 81775704d018 devel/py-lint/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-lint/DESCR Tue Feb 28 20:56:33 2017 +0000
@@ -0,0 +1,4 @@
+Pylint is a Python source code analyzer which looks for
+programming errors, helps enforcing a coding standard and sniffs
+for some code smells (as defined in Martin Fowler's Refactoring
+book).
diff -r ea8d168caf43 -r 81775704d018 devel/py-lint/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-lint/Makefile Tue Feb 28 20:56:33 2017 +0000
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2017/02/28 20:56:33 fhajny Exp $
+
+DISTNAME= pylint-1.6.5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pylint/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.pylint.org/
+COMMENT= Python source code analyzer
+LICENSE= gnu-gpl-v2
+
+.include "../../lang/python/pyversion.mk"
+
+DEPENDS+= ${PYPKGPREFIX}-astroid>=1.4.5<1.5.0:../../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
+.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
+.endif
+
+USE_LANGUAGES= # none
+
+REPLACE_PYTHON+= pylint/test/data/ascript
+
+SCRIPTS= epylint pylint pylint-gui pyreverse symilar
+
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+
+pre-configure:
+.for file in ${SCRIPTS}
+ ${MV} ${WRKSRC}/bin/${file} ${WRKSRC}/bin/${file}${PYVERSSUFFIX}
+.endfor
+
+post-install:
+.for file in ${SCRIPTS}
+ ${INSTALL_DATA} ${WRKSRC}/man/${file}.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${file}${PYVERSSUFFIX}.1
+.endfor
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ea8d168caf43 -r 81775704d018 devel/py-lint/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-lint/PLIST Tue Feb 28 20:56:33 2017 +0000
@@ -0,0 +1,938 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/28 20:56:33 fhajny Exp $
+bin/epylint${PYVERSSUFFIX}
+bin/pylint-gui${PYVERSSUFFIX}
+bin/pylint${PYVERSSUFFIX}
+bin/pyreverse${PYVERSSUFFIX}
+bin/symilar${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pylint/__init__.py
+${PYSITELIB}/pylint/__init__.pyc
+${PYSITELIB}/pylint/__init__.pyo
+${PYSITELIB}/pylint/__main__.py
+${PYSITELIB}/pylint/__main__.pyc
+${PYSITELIB}/pylint/__main__.pyo
+${PYSITELIB}/pylint/__pkginfo__.py
+${PYSITELIB}/pylint/__pkginfo__.pyc
+${PYSITELIB}/pylint/__pkginfo__.pyo
+${PYSITELIB}/pylint/checkers/__init__.py
+${PYSITELIB}/pylint/checkers/__init__.pyc
+${PYSITELIB}/pylint/checkers/__init__.pyo
+${PYSITELIB}/pylint/checkers/async.py
+${PYSITELIB}/pylint/checkers/async.pyc
+${PYSITELIB}/pylint/checkers/async.pyo
+${PYSITELIB}/pylint/checkers/base.py
+${PYSITELIB}/pylint/checkers/base.pyc
+${PYSITELIB}/pylint/checkers/base.pyo
+${PYSITELIB}/pylint/checkers/classes.py
+${PYSITELIB}/pylint/checkers/classes.pyc
+${PYSITELIB}/pylint/checkers/classes.pyo
+${PYSITELIB}/pylint/checkers/design_analysis.py
+${PYSITELIB}/pylint/checkers/design_analysis.pyc
+${PYSITELIB}/pylint/checkers/design_analysis.pyo
+${PYSITELIB}/pylint/checkers/exceptions.py
+${PYSITELIB}/pylint/checkers/exceptions.pyc
+${PYSITELIB}/pylint/checkers/exceptions.pyo
+${PYSITELIB}/pylint/checkers/format.py
+${PYSITELIB}/pylint/checkers/format.pyc
+${PYSITELIB}/pylint/checkers/format.pyo
+${PYSITELIB}/pylint/checkers/imports.py
+${PYSITELIB}/pylint/checkers/imports.pyc
+${PYSITELIB}/pylint/checkers/imports.pyo
+${PYSITELIB}/pylint/checkers/logging.py
+${PYSITELIB}/pylint/checkers/logging.pyc
+${PYSITELIB}/pylint/checkers/logging.pyo
+${PYSITELIB}/pylint/checkers/misc.py
+${PYSITELIB}/pylint/checkers/misc.pyc
+${PYSITELIB}/pylint/checkers/misc.pyo
+${PYSITELIB}/pylint/checkers/newstyle.py
+${PYSITELIB}/pylint/checkers/newstyle.pyc
+${PYSITELIB}/pylint/checkers/newstyle.pyo
+${PYSITELIB}/pylint/checkers/python3.py
+${PYSITELIB}/pylint/checkers/python3.pyc
+${PYSITELIB}/pylint/checkers/python3.pyo
+${PYSITELIB}/pylint/checkers/raw_metrics.py
+${PYSITELIB}/pylint/checkers/raw_metrics.pyc
+${PYSITELIB}/pylint/checkers/raw_metrics.pyo
+${PYSITELIB}/pylint/checkers/similar.py
+${PYSITELIB}/pylint/checkers/similar.pyc
+${PYSITELIB}/pylint/checkers/similar.pyo
+${PYSITELIB}/pylint/checkers/spelling.py
+${PYSITELIB}/pylint/checkers/spelling.pyc
+${PYSITELIB}/pylint/checkers/spelling.pyo
+${PYSITELIB}/pylint/checkers/stdlib.py
+${PYSITELIB}/pylint/checkers/stdlib.pyc
+${PYSITELIB}/pylint/checkers/stdlib.pyo
+${PYSITELIB}/pylint/checkers/strings.py
+${PYSITELIB}/pylint/checkers/strings.pyc
+${PYSITELIB}/pylint/checkers/strings.pyo
+${PYSITELIB}/pylint/checkers/typecheck.py
+${PYSITELIB}/pylint/checkers/typecheck.pyc
+${PYSITELIB}/pylint/checkers/typecheck.pyo
+${PYSITELIB}/pylint/checkers/utils.py
+${PYSITELIB}/pylint/checkers/utils.pyc
+${PYSITELIB}/pylint/checkers/utils.pyo
+${PYSITELIB}/pylint/checkers/variables.py
+${PYSITELIB}/pylint/checkers/variables.pyc
+${PYSITELIB}/pylint/checkers/variables.pyo
+${PYSITELIB}/pylint/config.py
+${PYSITELIB}/pylint/config.pyc
+${PYSITELIB}/pylint/config.pyo
+${PYSITELIB}/pylint/epylint.py
+${PYSITELIB}/pylint/epylint.pyc
+${PYSITELIB}/pylint/epylint.pyo
+${PYSITELIB}/pylint/extensions/__init__.py
+${PYSITELIB}/pylint/extensions/__init__.pyc
+${PYSITELIB}/pylint/extensions/__init__.pyo
+${PYSITELIB}/pylint/extensions/_check_docs_utils.py
+${PYSITELIB}/pylint/extensions/_check_docs_utils.pyc
+${PYSITELIB}/pylint/extensions/_check_docs_utils.pyo
+${PYSITELIB}/pylint/extensions/bad_builtin.py
+${PYSITELIB}/pylint/extensions/bad_builtin.pyc
+${PYSITELIB}/pylint/extensions/bad_builtin.pyo
+${PYSITELIB}/pylint/extensions/check_docs.py
+${PYSITELIB}/pylint/extensions/check_docs.pyc
+${PYSITELIB}/pylint/extensions/check_docs.pyo
+${PYSITELIB}/pylint/extensions/check_elif.py
+${PYSITELIB}/pylint/extensions/check_elif.pyc
+${PYSITELIB}/pylint/extensions/check_elif.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/mccabe.py
+${PYSITELIB}/pylint/extensions/mccabe.pyc
+${PYSITELIB}/pylint/extensions/mccabe.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
+${PYSITELIB}/pylint/lint.py
+${PYSITELIB}/pylint/lint.pyc
+${PYSITELIB}/pylint/lint.pyo
+${PYSITELIB}/pylint/pyreverse/__init__.py
+${PYSITELIB}/pylint/pyreverse/__init__.pyc
+${PYSITELIB}/pylint/pyreverse/__init__.pyo
+${PYSITELIB}/pylint/pyreverse/diadefslib.py
+${PYSITELIB}/pylint/pyreverse/diadefslib.pyc
+${PYSITELIB}/pylint/pyreverse/diadefslib.pyo
+${PYSITELIB}/pylint/pyreverse/diagrams.py
+${PYSITELIB}/pylint/pyreverse/diagrams.pyc
+${PYSITELIB}/pylint/pyreverse/diagrams.pyo
+${PYSITELIB}/pylint/pyreverse/inspector.py
+${PYSITELIB}/pylint/pyreverse/inspector.pyc
+${PYSITELIB}/pylint/pyreverse/inspector.pyo
+${PYSITELIB}/pylint/pyreverse/main.py
+${PYSITELIB}/pylint/pyreverse/main.pyc
+${PYSITELIB}/pylint/pyreverse/main.pyo
+${PYSITELIB}/pylint/pyreverse/utils.py
+${PYSITELIB}/pylint/pyreverse/utils.pyc
+${PYSITELIB}/pylint/pyreverse/utils.pyo
+${PYSITELIB}/pylint/pyreverse/vcgutils.py
+${PYSITELIB}/pylint/pyreverse/vcgutils.pyc
+${PYSITELIB}/pylint/pyreverse/vcgutils.pyo
+${PYSITELIB}/pylint/pyreverse/writer.py
+${PYSITELIB}/pylint/pyreverse/writer.pyc
+${PYSITELIB}/pylint/pyreverse/writer.pyo
+${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
+${PYSITELIB}/pylint/reporters/text.py
+${PYSITELIB}/pylint/reporters/text.pyc
+${PYSITELIB}/pylint/reporters/text.pyo
+${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/data/__init__.py
+${PYSITELIB}/pylint/test/data/ascript
+${PYSITELIB}/pylint/test/data/classes_No_Name.dot
+${PYSITELIB}/pylint/test/data/clientmodule_test.py
+${PYSITELIB}/pylint/test/data/packages_No_Name.dot
+${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/docstring.py
+${PYSITELIB}/pylint/test/extensions/data/elif.py
+${PYSITELIB}/pylint/test/extensions/data/mccabe.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_docstyle.py
+${PYSITELIB}/pylint/test/extensions/test_elseif_used.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
+${PYSITELIB}/pylint/test/functional/abstract_class_instantiated_py2.py
+${PYSITELIB}/pylint/test/functional/abstract_class_instantiated_py2.rc
+${PYSITELIB}/pylint/test/functional/abstract_class_instantiated_py2.txt
+${PYSITELIB}/pylint/test/functional/abstract_class_instantiated_py3.py
+${PYSITELIB}/pylint/test/functional/abstract_class_instantiated_py3.rc
+${PYSITELIB}/pylint/test/functional/abstract_class_instantiated_py3.txt
+${PYSITELIB}/pylint/test/functional/abstract_class_instantiated_py34.py
+${PYSITELIB}/pylint/test/functional/abstract_class_instantiated_py34.rc
+${PYSITELIB}/pylint/test/functional/abstract_class_instantiated_py34.txt
+${PYSITELIB}/pylint/test/functional/abstract_method_py2.py
+${PYSITELIB}/pylint/test/functional/abstract_method_py2.rc
+${PYSITELIB}/pylint/test/functional/abstract_method_py2.txt
+${PYSITELIB}/pylint/test/functional/abstract_method_py3.py
+${PYSITELIB}/pylint/test/functional/abstract_method_py3.rc
+${PYSITELIB}/pylint/test/functional/abstract_method_py3.txt
+${PYSITELIB}/pylint/test/functional/access_member_before_definition.py
+${PYSITELIB}/pylint/test/functional/access_member_before_definition.txt
+${PYSITELIB}/pylint/test/functional/access_to__name__.py
+${PYSITELIB}/pylint/test/functional/access_to__name__.txt
+${PYSITELIB}/pylint/test/functional/access_to_protected_members.py
+${PYSITELIB}/pylint/test/functional/access_to_protected_members.txt
+${PYSITELIB}/pylint/test/functional/anomalous_unicode_escape_py2.py
+${PYSITELIB}/pylint/test/functional/anomalous_unicode_escape_py2.rc
+${PYSITELIB}/pylint/test/functional/anomalous_unicode_escape_py2.txt
+${PYSITELIB}/pylint/test/functional/anomalous_unicode_escape_py3.py
+${PYSITELIB}/pylint/test/functional/anomalous_unicode_escape_py3.rc
+${PYSITELIB}/pylint/test/functional/anomalous_unicode_escape_py3.txt
+${PYSITELIB}/pylint/test/functional/arguments.py
+${PYSITELIB}/pylint/test/functional/arguments.txt
Home |
Main Index |
Thread Index |
Old Index