git: 5a979b3fb78a - main - devel/pylint: Update to 2.15.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Aug 2022 18:50:40 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a979b3fb78a296920b3e82edd1b221d3018777b commit 5a979b3fb78a296920b3e82edd1b221d3018777b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-08-31 18:25:31 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-08-31 18:49:29 +0000 devel/pylint: Update to 2.15.0 Changes: https://github.com/PyCQA/pylint/releases --- devel/pylint/Makefile | 11 ++++--- devel/pylint/distinfo | 6 ++-- devel/pylint/files/patch-setup.cfg | 11 ------- devel/pylint/files/setup.py | 63 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 72 insertions(+), 19 deletions(-) diff --git a/devel/pylint/Makefile b/devel/pylint/Makefile index 08d7f101a8c4..63e199192f70 100644 --- a/devel/pylint/Makefile +++ b/devel/pylint/Makefile @@ -1,5 +1,5 @@ PORTNAME= pylint -PORTVERSION= 2.14.5 +PORTVERSION= 2.15.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} @@ -10,15 +10,13 @@ COMMENT= Analyzes python source code looking for bugs and signs of poor quality LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astroid>=2.11.6:devel/py-astroid@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astroid>=2.12.4<2.14.0_99:devel/py-astroid@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dill>=0.2:devel/py-dill@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}isort>=4.2.5<6:devel/py-isort@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mccabe>=0.6<0.8:devel/py-mccabe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.2.0:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.10.1:textproc/py-tomlkit@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils @@ -35,4 +33,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0:devel/py-typing-e RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} .endif +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include <bsd.port.post.mk> diff --git a/devel/pylint/distinfo b/devel/pylint/distinfo index 0179b917a586..a8318c3957dc 100644 --- a/devel/pylint/distinfo +++ b/devel/pylint/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1658151337 -SHA256 (pylint-2.14.5.tar.gz) = 487ce2192eee48211269a0e976421f334cf94de1806ca9d0a99449adcdf0285e -SIZE (pylint-2.14.5.tar.gz) = 393838 +TIMESTAMP = 1661950820 +SHA256 (pylint-2.15.0.tar.gz) = 4f3f7e869646b0bd63b3dfb79f3c0f28fc3d2d923ea220d52620fd625aed92b0 +SIZE (pylint-2.15.0.tar.gz) = 407302 diff --git a/devel/pylint/files/patch-setup.cfg b/devel/pylint/files/patch-setup.cfg deleted file mode 100644 index c8fd7768df64..000000000000 --- a/devel/pylint/files/patch-setup.cfg +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.cfg.orig 2022-06-29 13:48:27 UTC -+++ setup.cfg -@@ -44,7 +44,7 @@ packages = find: - install_requires = - dill>=0.2 - platformdirs>=2.2.0 -- astroid>=2.11.6,<=2.12.0-dev0 -+ astroid>=2.11.6 - isort>=4.2.5,<6 - mccabe>=0.6,<0.8 - tomli>=1.1.0;python_version<"3.11" diff --git a/devel/pylint/files/setup.py b/devel/pylint/files/setup.py new file mode 100644 index 000000000000..9f9eb927710b --- /dev/null +++ b/devel/pylint/files/setup.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['pylint', + 'pylint.checkers', + 'pylint.checkers.base', + 'pylint.checkers.base.name_checker', + 'pylint.checkers.classes', + 'pylint.checkers.refactoring', + 'pylint.config', + 'pylint.config._pylint_config', + 'pylint.extensions', + 'pylint.lint', + 'pylint.message', + 'pylint.pyreverse', + 'pylint.reporters', + 'pylint.reporters.ureports', + 'pylint.testutils', + 'pylint.testutils._primer', + 'pylint.testutils.functional', + 'pylint.utils'] + +package_data = \ +{'': ['*']} + +install_requires = \ +['dill>=0.2', + 'platformdirs>=2.2.0', + 'astroid>=2.12.4,<=2.14.0-dev0', + 'isort>=4.2.5,<6', + 'mccabe>=0.6,<0.8', + 'tomlkit>=0.10.1'] + +extras_require = \ +{":python_version<'3.10'": ['typing-extensions>=3.10.0'], + ":python_version<'3.11'": ['tomli>=1.1.0'], + ":sys_platform=='win32'": ['colorama>=0.4.5'], + 'spelling': ['pyenchant~=3.2'], + 'testutils': ['gitpython>3']} + +entry_points = \ +{'console_scripts': ['epylint = pylint:run_epylint', + 'pylint = pylint:run_pylint', + 'pylint-config = pylint:_run_pylint_config', + 'pyreverse = pylint:run_pyreverse', + 'symilar = pylint:run_symilar']} + +setup(name='pylint', + version='%%PORTVERSION%%', + description='python code static checker', + author=None, + author_email='Python Code Quality Authority <code-quality@python.org>', + url=None, + packages=packages, + package_data=package_data, + install_requires=install_requires, + extras_require=extras_require, + entry_points=entry_points, + python_requires='>=3.7.2', + )