From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8591139337 for ; Thu, 29 Jul 2021 05:51:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FB9EE0932; Thu, 29 Jul 2021 05:51:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86A55E0932 for ; Thu, 29 Jul 2021 05:51:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3756342BB4 for ; Thu, 29 Jul 2021 05:51:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12DF484C for ; Thu, 29 Jul 2021 05:51:32 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1627537884.9089cd9a5978df3c70afe2223f7ee6fcdfd93613.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pylint/Manifest dev-python/pylint/pylint-2.9.6.ebuild X-VCS-Directories: dev-python/pylint/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9089cd9a5978df3c70afe2223f7ee6fcdfd93613 X-VCS-Branch: master Date: Thu, 29 Jul 2021 05:51:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b4ad23ea-d6ea-4e1b-b85f-9abb666bbb20 X-Archives-Hash: d2b7249e7d2bea2266e8c7abc119c1b4 commit: 9089cd9a5978df3c70afe2223f7ee6fcdfd93613 Author: Michał Górny gentoo org> AuthorDate: Thu Jul 29 05:10:44 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 29 05:51:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9089cd9a dev-python/pylint: Bump to 2.9.6 Signed-off-by: Michał Górny gentoo.org> dev-python/pylint/Manifest | 1 + dev-python/pylint/pylint-2.9.6.ebuild | 57 +++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index 3d1653ded47..3ab1c52bfe6 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -4,3 +4,4 @@ DIST pylint-2.9.1.gh.tar.gz 769124 BLAKE2B feabb520c22722df73471e87e05f22f0fb937 DIST pylint-2.9.3.gh.tar.gz 770364 BLAKE2B 3892286ffbd79b417c6decba44bce97f45192299ac8e2ec0e24770b2dd6cf1c28bac790626a478d47a6124ec0470ea9fc0d4230c5a1e807532852844445bb95a SHA512 45c037b970b66254b54a4810a5609dc098b5493d409826333e6a75f9ff0fc02921162711d88c45fd2f437e6521f639c33b25b714830a977c501612ee497501bb DIST pylint-2.9.4.gh.tar.gz 777252 BLAKE2B 84bc535b3c471be5d01a02ee67494d993cc257f0938e1bb0e35b1d64415d256c4f0dabd45cdc3319716c67e5e71ea935b63633f56b97013bd8616296343709d5 SHA512 9b5db20cf2d858e662c309b11cf28bf247b7c5f90de4f747733a0288ff4acced02e0e6b83145e7d940772eb9debf297b9ee6976e0f3ffbd73aaacaa3f4cb51e6 DIST pylint-2.9.5.gh.tar.gz 778090 BLAKE2B cbcf5427665f56cc37afd08fb537fcc3f17697ca7cdbd7da97bad4093f344c9b961a156f5d141e070fa84c7e07293175a70585a8c996c9cffb7cef80717752af SHA512 84695bae88704391752f4b0944e39f5b44933fee8d88a8839729845b93bbe59876da08ab98645217c4ff2a98fd793a92063123b25a595fb332ce0a3943bcf7e7 +DIST pylint-2.9.6.gh.tar.gz 779390 BLAKE2B b1d8794e1e7ccdde87919eb943f83287c0a7b85b67f3722cbbe68887f2c61ab30b354548e25b70c661234647e35f79beb6aaad5f6be6bfde8c2475cf03676922 SHA512 a23ff089853398df2e4232767ca87c21e4ab4fc6805de80db796c78c56e0da1ade9b0586f5c14a98524bf607e0d240c354cf63287eec7dfdce263188eb19ddce diff --git a/dev-python/pylint/pylint-2.9.6.ebuild b/dev-python/pylint/pylint-2.9.6.ebuild new file mode 100644 index 00000000000..75d26e73965 --- /dev/null +++ b/dev-python/pylint/pylint-2.9.6.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python code static checker" +HOMEPAGE="https://www.logilab.org/project/pylint + https://pypi.org/project/pylint/ + https://github.com/pycqa/pylint/" +SRC_URI=" + https://github.com/pycqa/pylint/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + =dev-python/astroid-2.6.5[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + =dev-python/mccabe-0.6[${PYTHON_USEDEP}] + =dev-python/toml-0.7.1[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" +) + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest + +python_test() { + local skipped_tests=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + # Specify the test directory explicitly to avoid import file mismatches + epytest tests ${skipped_tests[@]/#/--deselect } +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +}