pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-lint



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon May 18 12:44:51 UTC 2020

Added Files:
        pkgsrc/devel/py-lint: ALTERNATIVES DESCR Makefile PLIST distinfo

Log Message:
devel/py-lint: import py-lint-2.5.2

Packaged for wip by Aleksej Lebedev and updated by me.

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).
Pylint can be seen as another PyChecker since nearly all tests you
can do with PyChecker can also be done with Pylint. However, Pylint
offers some more features, like checking length of lines of code,
checking if variable names are well-formed according to your coding
standard, or checking if declared interfaces are truly implemented,
and much more. Additionally, it is possible to write plugins to
add your own checks.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.3 pkgsrc/devel/py-lint/ALTERNATIVES \
    pkgsrc/devel/py-lint/DESCR pkgsrc/devel/py-lint/Makefile \
    pkgsrc/devel/py-lint/PLIST pkgsrc/devel/py-lint/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-lint/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-lint/ALTERNATIVES:1.3
--- /dev/null   Mon May 18 12:44:51 2020
+++ pkgsrc/devel/py-lint/ALTERNATIVES   Mon May 18 12:44:51 2020
@@ -0,0 +1,4 @@
+bin/epylint @PREFIX@/bin/epylint-@PYVERSSUFFIX@
+bin/pylint @PREFIX@/bin/pylint-@PYVERSSUFFIX@
+bin/pyreverse @PREFIX@/bin/pyreverse-@PYVERSSUFFIX@
+bin/symilar @PREFIX@/bin/symilar-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-lint/DESCR
diff -u /dev/null pkgsrc/devel/py-lint/DESCR:1.3
--- /dev/null   Mon May 18 12:44:51 2020
+++ pkgsrc/devel/py-lint/DESCR  Mon May 18 12:44:51 2020
@@ -0,0 +1,10 @@
+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).
+Pylint can be seen as another PyChecker since nearly all tests you
+can do with PyChecker can also be done with Pylint. However, Pylint
+offers some more features, like checking length of lines of code,
+checking if variable names are well-formed according to your coding
+standard, or checking if declared interfaces are truly implemented,
+and much more. Additionally, it is possible to write plugins to
+add your own checks.
Index: pkgsrc/devel/py-lint/Makefile
diff -u /dev/null pkgsrc/devel/py-lint/Makefile:1.3
--- /dev/null   Mon May 18 12:44:51 2020
+++ pkgsrc/devel/py-lint/Makefile       Mon May 18 12:44:51 2020
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.3 2020/05/18 12:44:51 wiz Exp $
+
+DISTNAME=      pylint-2.5.2
+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.6.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
+DEPENDS+=      ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
+.endif
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark
+
+PYTHON_VERSIONED_DEPENDENCIES+=        test:test
+
+USE_LANGUAGES= # none
+
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1
+
+post-install:
+.for file in epylint pylint pyreverse symilar
+       ${MV} ${DESTDIR}${PREFIX}/bin/${file} ${DESTDIR}${PREFIX}/bin/${file}-${PYVERSSUFFIX} || ${TRUE}
+       ${INSTALL_DATA} ${WRKSRC}/man/${file}.1 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${file}-${PYVERSSUFFIX}.1
+.endfor
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} PYTHONPATH=. py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-lint/PLIST
diff -u /dev/null pkgsrc/devel/py-lint/PLIST:1.3
--- /dev/null   Mon May 18 12:44:51 2020
+++ pkgsrc/devel/py-lint/PLIST  Mon May 18 12:44:51 2020
@@ -0,0 +1,252 @@
+@comment $NetBSD: PLIST,v 1.3 2020/05/18 12:44:51 wiz Exp $
+bin/epylint-${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/base_checker.py
+${PYSITELIB}/pylint/checkers/base_checker.pyc
+${PYSITELIB}/pylint/checkers/base_checker.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/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
+${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/constants.py
+${PYSITELIB}/pylint/constants.pyc
+${PYSITELIB}/pylint/constants.pyo
+${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
+${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/broad_try_clause.py
+${PYSITELIB}/pylint/extensions/broad_try_clause.pyc
+${PYSITELIB}/pylint/extensions/broad_try_clause.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/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/interfaces.py
+${PYSITELIB}/pylint/interfaces.pyc
+${PYSITELIB}/pylint/interfaces.pyo
+${PYSITELIB}/pylint/lint/__init__.py
+${PYSITELIB}/pylint/lint/__init__.pyc
+${PYSITELIB}/pylint/lint/__init__.pyo
+${PYSITELIB}/pylint/lint/check_parallel.py
+${PYSITELIB}/pylint/lint/check_parallel.pyc
+${PYSITELIB}/pylint/lint/check_parallel.pyo
+${PYSITELIB}/pylint/lint/pylinter.py
+${PYSITELIB}/pylint/lint/pylinter.pyc
+${PYSITELIB}/pylint/lint/pylinter.pyo
+${PYSITELIB}/pylint/lint/report_functions.py
+${PYSITELIB}/pylint/lint/report_functions.pyc
+${PYSITELIB}/pylint/lint/report_functions.pyo
+${PYSITELIB}/pylint/lint/run.py
+${PYSITELIB}/pylint/lint/run.pyc
+${PYSITELIB}/pylint/lint/run.pyo
+${PYSITELIB}/pylint/lint/utils.py
+${PYSITELIB}/pylint/lint/utils.pyc
+${PYSITELIB}/pylint/lint/utils.pyo
+${PYSITELIB}/pylint/message/__init__.py
+${PYSITELIB}/pylint/message/__init__.pyc
+${PYSITELIB}/pylint/message/__init__.pyo
+${PYSITELIB}/pylint/message/message.py
+${PYSITELIB}/pylint/message/message.pyc
+${PYSITELIB}/pylint/message/message.pyo
+${PYSITELIB}/pylint/message/message_definition.py
+${PYSITELIB}/pylint/message/message_definition.pyc
+${PYSITELIB}/pylint/message/message_definition.pyo
+${PYSITELIB}/pylint/message/message_definition_store.py
+${PYSITELIB}/pylint/message/message_definition_store.pyc
+${PYSITELIB}/pylint/message/message_definition_store.pyo
+${PYSITELIB}/pylint/message/message_handler_mix_in.py
+${PYSITELIB}/pylint/message/message_handler_mix_in.pyc
+${PYSITELIB}/pylint/message/message_handler_mix_in.pyo
+${PYSITELIB}/pylint/message/message_id_store.py
+${PYSITELIB}/pylint/message/message_id_store.pyc
+${PYSITELIB}/pylint/message/message_id_store.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/base_reporter.py
+${PYSITELIB}/pylint/reporters/base_reporter.pyc
+${PYSITELIB}/pylint/reporters/base_reporter.pyo
+${PYSITELIB}/pylint/reporters/collecting_reporter.py
+${PYSITELIB}/pylint/reporters/collecting_reporter.pyc
+${PYSITELIB}/pylint/reporters/collecting_reporter.pyo
+${PYSITELIB}/pylint/reporters/json_reporter.py
+${PYSITELIB}/pylint/reporters/json_reporter.pyc
+${PYSITELIB}/pylint/reporters/json_reporter.pyo
+${PYSITELIB}/pylint/reporters/reports_handler_mix_in.py
+${PYSITELIB}/pylint/reporters/reports_handler_mix_in.pyc
+${PYSITELIB}/pylint/reporters/reports_handler_mix_in.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/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/testutils.py
+${PYSITELIB}/pylint/testutils.pyc
+${PYSITELIB}/pylint/testutils.pyo
+${PYSITELIB}/pylint/utils/__init__.py
+${PYSITELIB}/pylint/utils/__init__.pyc
+${PYSITELIB}/pylint/utils/__init__.pyo
+${PYSITELIB}/pylint/utils/ast_walker.py
+${PYSITELIB}/pylint/utils/ast_walker.pyc
+${PYSITELIB}/pylint/utils/ast_walker.pyo
+${PYSITELIB}/pylint/utils/file_state.py
+${PYSITELIB}/pylint/utils/file_state.pyc
+${PYSITELIB}/pylint/utils/file_state.pyo
+${PYSITELIB}/pylint/utils/pragma_parser.py
+${PYSITELIB}/pylint/utils/pragma_parser.pyc
+${PYSITELIB}/pylint/utils/pragma_parser.pyo
+${PYSITELIB}/pylint/utils/utils.py
+${PYSITELIB}/pylint/utils/utils.pyc
+${PYSITELIB}/pylint/utils/utils.pyo
+man/man1/epylint-${PYVERSSUFFIX}.1
+man/man1/pylint-${PYVERSSUFFIX}.1
+man/man1/pyreverse-${PYVERSSUFFIX}.1
+man/man1/symilar-${PYVERSSUFFIX}.1
Index: pkgsrc/devel/py-lint/distinfo
diff -u /dev/null pkgsrc/devel/py-lint/distinfo:1.3
--- /dev/null   Mon May 18 12:44:51 2020
+++ pkgsrc/devel/py-lint/distinfo       Mon May 18 12:44:51 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2020/05/18 12:44:51 wiz Exp $
+
+SHA1 (pylint-2.5.2.tar.gz) = c79bd688a881e42ed68cfa19915b900439258fdc
+RMD160 (pylint-2.5.2.tar.gz) = 1c6af3008c48acd7a9617d2170cc0e3ba68cfda3
+SHA512 (pylint-2.5.2.tar.gz) = 94debcf0a26ac61ce2e161180f300677279b7e251894c4b368ffe7e70e480f53e59475e1d84df7daf7d1bff5256f75d363fe415960986dee99e634fe95e6bd3c
+Size (pylint-2.5.2.tar.gz) = 683111 bytes



Home | Main Index | Thread Index | Old Index