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: Sun, 06 Jun 2021 14:46:55
Message-Id: 1622990808.41662c9f2170bc1c66fea59be6acba3ee0807504.mgorny@gentoo
1 commit: 41662c9f2170bc1c66fea59be6acba3ee0807504
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 6 14:45:45 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 6 14:46:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41662c9f
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.7.4.ebuild | 66 -----------------------------------
14 2 files changed, 67 deletions(-)
15
16 diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
17 index 1f76320c75e..95131704246 100644
18 --- a/dev-python/pylint/Manifest
19 +++ b/dev-python/pylint/Manifest
20 @@ -1,2 +1 @@
21 -DIST pylint-2.7.4.tar.gz 715507 BLAKE2B 141506c067195422d0b052924baf87c363c89e28b3279f5173d989ac9247163184840251bd05dfb7dbb765f7b2e921a851fde0323b6c4cc231bc58911c77f692 SHA512 2b7ec9ab3325209021cb0282a6dacabf7ddd1f5e4049157610015ac8c11413471defc9e0528f81e1a60c2b259260f1bde1d04286776b3f32f771968b9866d734
22 DIST pylint-2.8.2.gh.tar.gz 734667 BLAKE2B 1525273298f39163de4db7946a749768cb9bcf7e11f89791944ccb5fb8d0918eedfc80d5e559d33934d468dd5781d4cb4921b9407daf2842613a8e3ba7d134e0 SHA512 7023603668f540ecc0b35f3289377855c4c0df01e04a9af255f5c8031f568f6b76508bb3a7f0aba8e76a86b63eae423908c30f47258d6dee46bb23320c952701
23
24 diff --git a/dev-python/pylint/pylint-2.7.4.ebuild b/dev-python/pylint/pylint-2.7.4.ebuild
25 deleted file mode 100644
26 index 950aa653126..00000000000
27 --- a/dev-python/pylint/pylint-2.7.4.ebuild
28 +++ /dev/null
29 @@ -1,66 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{7..9} )
36 -PYTHON_REQ_USE="threads(+)"
37 -DISTUTILS_USE_SETUPTOOLS=rdepend
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="Python code static checker"
42 -HOMEPAGE="https://www.logilab.org/project/pylint
43 - https://pypi.org/project/pylint/
44 - https://github.com/pycqa/pylint"
45 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86"
50 -IUSE="examples"
51 -
52 -# Mirror requirements from pylint/__pkginfo__.py
53 -RDEPEND="
54 - <dev-python/astroid-2.6[${PYTHON_USEDEP}]
55 - >=dev-python/astroid-2.5.2[${PYTHON_USEDEP}]
56 - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
57 - <dev-python/isort-6[${PYTHON_USEDEP}]
58 - >=dev-python/mccabe-0.6[${PYTHON_USEDEP}]
59 - <dev-python/mccabe-0.7[${PYTHON_USEDEP}]
60 - >=dev-python/toml-0.7.1[${PYTHON_USEDEP}]
61 -"
62 -BDEPEND="
63 - test? (
64 - dev-python/six[${PYTHON_USEDEP}]
65 - )
66 -"
67 -
68 -PATCHES=(
69 - "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch"
70 -)
71 -
72 -distutils_enable_sphinx doc --no-autodoc
73 -distutils_enable_tests pytest
74 -
75 -python_test() {
76 - local skipped_tests=(
77 - # No need to run the benchmarks
78 - tests/benchmark/test_baseline_benchmarks.py
79 - # Fails when graphviz is installed (?!)
80 - tests/test_import_graph.py::test_missing_graphviz
81 - )
82 - # Specify the test directory explicitly to avoid import file mismatches
83 - epytest tests ${skipped_tests[@]/#/--deselect }
84 -}
85 -
86 -python_install_all() {
87 - doman man/{pylint,pyreverse}.1
88 - if use examples ; then
89 - docompress -x "/usr/share/doc/${PF}/examples"
90 - docinto examples
91 - dodoc -r examples/.
92 - fi
93 -
94 - distutils-r1_python_install_all
95 -}