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, 30 Aug 2021 05:57:57
Message-Id: 1630303063.453b768b838a0df922266a619b99cdf27762ee2e.mgorny@gentoo
1 commit: 453b768b838a0df922266a619b99cdf27762ee2e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 30 05:55:13 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 30 05:57:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=453b768b
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 | 2 --
13 dev-python/pylint/pylint-2.10.1.ebuild | 58 ----------------------------------
14 dev-python/pylint/pylint-2.9.3.ebuild | 57 ---------------------------------
15 3 files changed, 117 deletions(-)
16
17 diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
18 index 9275f54925c..d3c387d2fb8 100644
19 --- a/dev-python/pylint/Manifest
20 +++ b/dev-python/pylint/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST pylint-2.10.1.gh.tar.gz 813052 BLAKE2B 487c95851c6aa68ae6fa81a345959fa6b7c1ffe9f7c4c1d722f6ceb4c50671870f16c2a24392cc374cdaffa279028d38a23b9cb94376f58f4ff0e448da49d83b SHA512 c32948ef2eceab8857fcd789690c4766a606b053c1f931da13acdc0265f76fe96622439da12661e8ab899cdeccd93427a4561181670f14dfbb36e4e9c720ea07
23 DIST pylint-2.10.2.gh.tar.gz 813391 BLAKE2B 109f8817e32ddf8d93c9120518e77a1d2f7e61cd1a6362eb1cf9e6d242db72fa1a9271588a3abb28efca54bcc449dce623ae5d5fd63153ec2bc367e008aab465 SHA512 5d694587956c4f11eb4afaec26cefb66ccbe14dc2aacf378a0362326506d80eb2633e0d351c0a20715a3359a9bc438092d77b2e46f7f787210c7ab0555f2722f
24 -DIST pylint-2.9.3.gh.tar.gz 770364 BLAKE2B 3892286ffbd79b417c6decba44bce97f45192299ac8e2ec0e24770b2dd6cf1c28bac790626a478d47a6124ec0470ea9fc0d4230c5a1e807532852844445bb95a SHA512 45c037b970b66254b54a4810a5609dc098b5493d409826333e6a75f9ff0fc02921162711d88c45fd2f437e6521f639c33b25b714830a977c501612ee497501bb
25 DIST pylint-2.9.6.gh.tar.gz 779390 BLAKE2B b1d8794e1e7ccdde87919eb943f83287c0a7b85b67f3722cbbe68887f2c61ab30b354548e25b70c661234647e35f79beb6aaad5f6be6bfde8c2475cf03676922 SHA512 a23ff089853398df2e4232767ca87c21e4ab4fc6805de80db796c78c56e0da1ade9b0586f5c14a98524bf607e0d240c354cf63287eec7dfdce263188eb19ddce
26
27 diff --git a/dev-python/pylint/pylint-2.10.1.ebuild b/dev-python/pylint/pylint-2.10.1.ebuild
28 deleted file mode 100644
29 index 3bcbddbbc35..00000000000
30 --- a/dev-python/pylint/pylint-2.10.1.ebuild
31 +++ /dev/null
32 @@ -1,58 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -PYTHON_COMPAT=( python3_{8..9} )
39 -PYTHON_REQ_USE="threads(+)"
40 -
41 -inherit distutils-r1
42 -
43 -DESCRIPTION="Python code static checker"
44 -HOMEPAGE="https://www.logilab.org/project/pylint
45 - https://pypi.org/project/pylint/
46 - https://github.com/pycqa/pylint/"
47 -SRC_URI="
48 - https://github.com/pycqa/pylint/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
49 -
50 -LICENSE="GPL-2"
51 -SLOT="0"
52 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
53 -IUSE="examples"
54 -
55 -RDEPEND="
56 - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
57 - <dev-python/astroid-2.8[${PYTHON_USEDEP}]
58 - >=dev-python/astroid-2.7.2[${PYTHON_USEDEP}]
59 - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
60 - <dev-python/isort-6[${PYTHON_USEDEP}]
61 - >=dev-python/mccabe-0.6[${PYTHON_USEDEP}]
62 - <dev-python/mccabe-0.7[${PYTHON_USEDEP}]
63 - >=dev-python/toml-0.7.1[${PYTHON_USEDEP}]
64 -"
65 -
66 -PATCHES=(
67 - "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch"
68 -)
69 -
70 -distutils_enable_sphinx doc --no-autodoc
71 -distutils_enable_tests pytest
72 -
73 -python_test() {
74 - local EPYTEST_DESELECT=(
75 - # No need to run the benchmarks
76 - tests/benchmark/test_baseline_benchmarks.py
77 - )
78 - # Specify the test directory explicitly to avoid import file mismatches
79 - epytest tests
80 -}
81 -
82 -python_install_all() {
83 - if use examples ; then
84 - docompress -x "/usr/share/doc/${PF}/examples"
85 - docinto examples
86 - dodoc -r examples/.
87 - fi
88 -
89 - distutils-r1_python_install_all
90 -}
91
92 diff --git a/dev-python/pylint/pylint-2.9.3.ebuild b/dev-python/pylint/pylint-2.9.3.ebuild
93 deleted file mode 100644
94 index bdecb18a46f..00000000000
95 --- a/dev-python/pylint/pylint-2.9.3.ebuild
96 +++ /dev/null
97 @@ -1,57 +0,0 @@
98 -# Copyright 1999-2021 Gentoo Authors
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI=8
102 -
103 -PYTHON_COMPAT=( python3_{8..9} )
104 -PYTHON_REQ_USE="threads(+)"
105 -
106 -inherit distutils-r1
107 -
108 -DESCRIPTION="Python code static checker"
109 -HOMEPAGE="https://www.logilab.org/project/pylint
110 - https://pypi.org/project/pylint/
111 - https://github.com/pycqa/pylint/"
112 -SRC_URI="
113 - https://github.com/pycqa/pylint/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
114 -
115 -LICENSE="GPL-2"
116 -SLOT="0"
117 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86"
118 -IUSE="examples"
119 -
120 -RDEPEND="
121 - <dev-python/astroid-2.7[${PYTHON_USEDEP}]
122 - >=dev-python/astroid-2.6.2[${PYTHON_USEDEP}]
123 - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
124 - <dev-python/isort-6[${PYTHON_USEDEP}]
125 - >=dev-python/mccabe-0.6[${PYTHON_USEDEP}]
126 - <dev-python/mccabe-0.7[${PYTHON_USEDEP}]
127 - >=dev-python/toml-0.7.1[${PYTHON_USEDEP}]
128 -"
129 -
130 -PATCHES=(
131 - "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch"
132 -)
133 -
134 -distutils_enable_sphinx doc --no-autodoc
135 -distutils_enable_tests pytest
136 -
137 -python_test() {
138 - local skipped_tests=(
139 - # No need to run the benchmarks
140 - tests/benchmark/test_baseline_benchmarks.py
141 - )
142 - # Specify the test directory explicitly to avoid import file mismatches
143 - epytest tests ${skipped_tests[@]/#/--deselect }
144 -}
145 -
146 -python_install_all() {
147 - if use examples ; then
148 - docompress -x "/usr/share/doc/${PF}/examples"
149 - docinto examples
150 - dodoc -r examples/.
151 - fi
152 -
153 - distutils-r1_python_install_all
154 -}