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 3B673138350 for ; Sun, 8 Mar 2020 20:33:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7E5EE0886; Sun, 8 Mar 2020 20:33:01 +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 B156EE0886 for ; Sun, 8 Mar 2020 20:33:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 503EE34F352 for ; Sun, 8 Mar 2020 20:32:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0F3016C for ; Sun, 8 Mar 2020 20:32:56 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1583698390.eaad11ac54028d56af8ebd8122ec8913c8c0a88e.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pylint/pylint-2.4.4-r1.ebuild X-VCS-Directories: dev-python/pylint/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: eaad11ac54028d56af8ebd8122ec8913c8c0a88e X-VCS-Branch: master Date: Sun, 8 Mar 2020 20:32:56 +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: d3f0c034-93b2-472b-acd6-3d2ff846cbc4 X-Archives-Hash: 91657054e3c21b6fa2790f789f79d111 commit: eaad11ac54028d56af8ebd8122ec8913c8c0a88e Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 8 20:13:10 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 8 20:13:10 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaad11ac dev-python/pylint: Raise minimum dev-python/astroid version to 2.3.3 Closes: https://bugs.gentoo.org/710282 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/pylint/pylint-2.4.4-r1.ebuild | 58 ++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/dev-python/pylint/pylint-2.4.4-r1.ebuild b/dev-python/pylint/pylint-2.4.4-r1.ebuild new file mode 100644 index 00000000000..768d9e90bcc --- /dev/null +++ b/dev-python/pylint/pylint-2.4.4-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="threads(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend +# entry_points is added via **kwargs in a dict +_DISTUTILS_SETUPTOOLS_WARNED=1 + +inherit distutils-r1 eutils + +DESCRIPTION="Python code static checker" +HOMEPAGE="https://www.logilab.org/project/pylint + https://pypi.org/project/pylint/ + https://github.com/pycqa/pylint" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/astroid-2.3.3[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + dev-python/mccabe[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/six[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" + "${FILESDIR}/${PN}-2.4.4-no-pytest-runner.patch" + "${FILESDIR}/${PN}-2.4.4-tests.patch" +) + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +python_install_all() { + doman man/{pylint,pyreverse}.1 + if use examples ; then + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + # Optional dependency on "tk" USE flag would break support for Jython. + optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." 'dev-lang/python[tk]' +}