Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/
Date: Mon, 11 May 2020 17:49:03
Message-Id: 1589218472.8324bfe9a29ac119941a6e2b7b1d7a6b42ad9980.mgorny@gentoo
1 commit: 8324bfe9a29ac119941a6e2b7b1d7a6b42ad9980
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 11 17:34:32 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 11 17:34:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8324bfe9
7
8 dev-python/pylint: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pylint/Manifest | 1 -
13 dev-python/pylint/pylint-2.3.1.ebuild | 61 -----------------------------------
14 2 files changed, 62 deletions(-)
15
16 diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
17 index 8d95771f995..8d809f2782b 100644
18 --- a/dev-python/pylint/Manifest
19 +++ b/dev-python/pylint/Manifest
20 @@ -1,2 +1 @@
21 -DIST pylint-2.3.1.tar.gz 577767 BLAKE2B 2af206a9d9be04f369c2bbc39c5ddb80c29a5a39c20d75bfec84498882eab628a7cf5abcc5786933304ed99bd00ffa142b9a58abab348c947799f962b877bb30 SHA512 924d8adc95f04ba750b3b44fe79ac569151ea7c8f693cc9867bcda3878209ebc2202931702b98f80709d161d3781b6e181aea0ded35a3323c023497e2a749ea9
22 DIST pylint-2.4.4.tar.gz 646113 BLAKE2B d62b66b056e01cc13e90f45ff4a11f94983e0b9b42b9a05e5c7b7385280000d15ead9a282e7eea31a8ee6a24ffe539576a6e9bd40dc4d89093263da99029123b SHA512 835e0687ebc76c530e0042c5a5188b8aedab446531f621627e990cbeb37ab6ecc8de0f8c6ab171abaa63488e049e8d7782958461421f9a4127435f56b6d2ed0b
23
24 diff --git a/dev-python/pylint/pylint-2.3.1.ebuild b/dev-python/pylint/pylint-2.3.1.ebuild
25 deleted file mode 100644
26 index 37cbf77e4ef..00000000000
27 --- a/dev-python/pylint/pylint-2.3.1.ebuild
28 +++ /dev/null
29 @@ -1,61 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{6,7} )
36 -PYTHON_REQ_USE="threads(+)"
37 -
38 -inherit distutils-r1 eutils
39 -
40 -DESCRIPTION="Python code static checker"
41 -HOMEPAGE="https://www.logilab.org/project/pylint
42 - https://pypi.org/project/pylint/
43 - https://github.com/pycqa/pylint"
44 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0"
48 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86"
49 -IUSE="doc examples test"
50 -RESTRICT="!test? ( test )"
51 -
52 -RDEPEND="
53 - >=dev-python/astroid-2.2.0[${PYTHON_USEDEP}]
54 - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
55 - dev-python/mccabe[${PYTHON_USEDEP}]"
56 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
57 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
58 - test? ( ${RDEPEND}
59 - dev-python/pytest[${PYTHON_USEDEP}]
60 - dev-python/six[${PYTHON_USEDEP}]
61 - )"
62 -
63 -PATCHES=(
64 - "${FILESDIR}/${PN}-2.3.1-sphinx-theme.patch"
65 - "${FILESDIR}/${PN}-2.3.1-no-pytest-runner.patch"
66 -)
67 -
68 -python_compile_all() {
69 - # selection of straight html triggers a trivial annoying bug, we skirt it
70 - use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
71 -}
72 -
73 -python_test() {
74 - ${EPYTHON} -m pytest -v pylint/test/ || die "tests failed"
75 -}
76 -
77 -python_install_all() {
78 - doman man/{pylint,pyreverse}.1
79 - if use examples ; then
80 - docinto examples
81 - dodoc -r examples/.
82 - fi
83 - use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
84 - distutils-r1_python_install_all
85 -}
86 -
87 -pkg_postinst() {
88 - # Optional dependency on "tk" USE flag would break support for Jython.
89 - optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." 'dev-lang/python[tk]'
90 -}