From nobody Wed Aug 31 18:50:40 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MHtXw5j2kz4ZwvR; Wed, 31 Aug 2022 18:50:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MHtXw4rm0z3FdZ; Wed, 31 Aug 2022 18:50:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661971840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H9EoPqYQ6AUIb3+Hln8OM9iNZScL4h4bOOzyUtRPiVA=; b=PMs2CAQqpDtja/9RTF0dBcAyi2mko5u7smcRgZB7lLIn9zuij+wkZs7xKY+SHPkfIGA7Rl qRroUt3SPwYhYJdozmGrWg9TdngC/I/rl9BNjxJHZSLo/SCZ3TR2MRx+P6XjfoDzJwkcZr T/bpxV1pzatqr5XzH/5w4VIIs+k2sWdq81h7J4hHOYdhMQQrnbWnwXMaEFjCeRRMLIPlkV 9ja4SzCL8ZikLl1JJ7WudJGLebZ3H0+dQWT5TJPjh6oVPDJZaGMmsi9MDq/hrcjBugwKFn FSVEfwNDQb3htkJJNKK16YektphuZQUrTSRNKyIqvgToWlVXC/gWg39y8czxGw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MHtXw3v7Wz1CkF; Wed, 31 Aug 2022 18:50:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27VIoekr034977; Wed, 31 Aug 2022 18:50:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27VIoeGf034976; Wed, 31 Aug 2022 18:50:40 GMT (envelope-from git) Date: Wed, 31 Aug 2022 18:50:40 GMT Message-Id: <202208311850.27VIoeGf034976@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5a979b3fb78a - main - devel/pylint: Update to 2.15.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5a979b3fb78a296920b3e82edd1b221d3018777b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661971840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H9EoPqYQ6AUIb3+Hln8OM9iNZScL4h4bOOzyUtRPiVA=; b=pwGn/w5Vz3S0D7FA8ltoZMrknnCloePkjV32z4rnFYa8/2IVU8FGLzFJqIkjg3ntrhTIKD G2Q9cohFNvb7gcIIZ0eCRbMAifMeeTx+cBKYvfLlMZVRK3iTiAZYlIa2qVxcGp22JZqGek YRRsvZazBAgnH2AFQ6LNN/EzOWxjuQgWAI8ddOKyxjkHQBpfhZrgt+gWowH1hHJoKlN2zW EPzww+WSarhlVMhuAE086dSaVLqNLKmVjP3xVfLJrqnQ8Z+pvPAJuU8KFxGh8YmRlznytc RJeArthHgylW3s4ko66q/oN0JyelMyyaKYznmTla7c/b5m3YDGeokkSTK/18PQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661971840; a=rsa-sha256; cv=none; b=RQuW/7L/l46PEKjp1qd6DdPd0uDLY28uUSPIF3GO5dtZ1rHzdL6+CRvdPokYdxTJm4MRJT a/CptFqijaOT0oHspT29O4G09yIWyBseJyltpxsdTdenmiC3/5L8zQTH6V6VDtuhW+d3DI 81xXcnPGjD42eLlaylUBojW/aurc9V4CeaCd9zBhHT0UZhy1ymkQdO+7xJVa/aJbL4kHig nM8PTlHWx7CAVwXKTeEdG4c78ncKGAxD066cJjoGyRmjsq+R8T4NzvxCt2NlUA/xz6rM7z CTAZRZlLZKGP4bpwNNYF2ADBD68FwMJ5SUL2Qgo3ofoaTS1YMAaTvY5HEZ5saA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a979b3fb78a296920b3e82edd1b221d3018777b commit 5a979b3fb78a296920b3e82edd1b221d3018777b Author: Po-Chuan Hsieh AuthorDate: 2022-08-31 18:25:31 +0000 Commit: Po-Chuan Hsieh 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 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 ', + 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', + )