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: Tue, 02 Jan 2018 22:14:13
Message-Id: 1514931238.7f67525a9b046d7f515e9a5771b477a6946057bb.mgorny@gentoo
1 commit: 7f67525a9b046d7f515e9a5771b477a6946057bb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 2 16:46:17 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 2 22:13:58 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f67525a
7
8 dev-python/pylint: Clean old up
9
10 dev-python/pylint/Manifest | 3 --
11 dev-python/pylint/pylint-1.4.4.ebuild | 61 -----------------------------
12 dev-python/pylint/pylint-1.5.6.ebuild | 59 ----------------------------
13 dev-python/pylint/pylint-1.6.5.ebuild | 63 ------------------------------
14 dev-python/pylint/pylint-1.7.1-r1.ebuild | 66 --------------------------------
15 5 files changed, 252 deletions(-)
16
17 diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
18 index 3449c4072e7..c8b1726a13f 100644
19 --- a/dev-python/pylint/Manifest
20 +++ b/dev-python/pylint/Manifest
21 @@ -1,5 +1,2 @@
22 -DIST pylint-1.4.4.tar.gz 342461 BLAKE2B 5d9be4634e87305f38710dd85601ba385262754dcd63b68bb779a6c9a655d048ffe3a9ebfd96ea8fbf467aca40dcda449076ffe882e65d3605e4964221d00331 SHA512 bcbf5439628a071055cea441455f6c0fe0cbfae2617c473bc376b880421f17f78653901d7cf49950653436a0991a3bafbc2df15744ff24a3b059de53e518b331
23 -DIST pylint-1.5.6.tar.gz 425251 BLAKE2B ffcf510681bcbbae0b6ac41e28f06132d026a8318cf989681262b7a8d03f97c207a381315a7c7af6ede6cea6c75dfba09d8ced8893277012addf9ce9829300eb SHA512 569a747a0d2c4f60ff2c16af6117f501fa1a9a6546fcc1228909b23024e2bc05951985acf56249919b67b11f161cb1855321115ad9fd7a7c409b71faa5dd8278
24 DIST pylint-1.6.5.tar.gz 465578 BLAKE2B 05412a528878633ef7529dd2f2d2d1989bc9406666626d62764f476bbc024e34fea06883fae829fe6617ebfffde54dfa5600c140b9a25e6c9633f48d76f5c331 SHA512 2fac352dc752b37f1ce4f7fefe5afbbc880d7e6c38f164d1c50734716af1dd6fe31f7d41e145a8256837d5a63b1989efec40c169fc14840cf8eb4e18d9bb2410
25 -DIST pylint-1.7.1.tar.gz 489108 BLAKE2B 7c14e2f2a3d85a33b98a1cacc487d75f4c2362e158f28df773f4dad4e06c88ff783dfb6f898a6c3bf75d73e7915610d6d5e45b007bc0723405282481e3a61879 SHA512 e0efbaad3ca3205a2e2e1e4bc444e635540db12e139e008ff2ca8b454dd117488e767f070126074389d6d82c17622da747b9a948711225246877fed69ac81148
26 DIST pylint-1.7.2.tar.gz 488628 BLAKE2B 6f2902bdd18939f251515d652d2e9df43162c1b0c27c2e2ed7392ee77be9e7f81bbd62cede4f2eb1e7aa646bf47c48b01436e04cbf46a20458a1c89eff752d9d SHA512 268f141f017fa4df6024596bcf1dfb32a578e9459864e2ace8c2725c8f5e117e0b01d9d745f1632bb43102a01f7075dc3fb69b839b79371f7df47740a56fc1cb
27
28 diff --git a/dev-python/pylint/pylint-1.4.4.ebuild b/dev-python/pylint/pylint-1.4.4.ebuild
29 deleted file mode 100644
30 index 30d27988200..00000000000
31 --- a/dev-python/pylint/pylint-1.4.4.ebuild
32 +++ /dev/null
33 @@ -1,61 +0,0 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -
39 -PYTHON_COMPAT=( python{2_7,3_4} pypy )
40 -PYTHON_REQ_USE="threads(+)"
41 -
42 -inherit distutils-r1
43 -
44 -RESTRICT="test" # needs pygtk
45 -
46 -DESCRIPTION="Python code static checker"
47 -HOMEPAGE="http://www.logilab.org/project/pylint https://pypi.python.org/pypi/pylint"
48 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
49 -
50 -LICENSE="GPL-2"
51 -SLOT="0"
52 -KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
53 -IUSE="doc examples test"
54 -
55 -RDEPEND="
56 - >=dev-python/logilab-common-0.53.0[${PYTHON_USEDEP}]
57 - >=dev-python/astroid-1.3.6[${PYTHON_USEDEP}]
58 - <dev-python/astroid-1.4[${PYTHON_USEDEP}]
59 - dev-python/six[${PYTHON_USEDEP}]"
60 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
61 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
62 - test? ( ${RDEPEND} )"
63 -
64 -# Usual. Requ'd for impl specific failures in test phase
65 -DISTUTILS_IN_SOURCE_BUILD=1
66 -
67 -python_compile_all() {
68 - # selection of straight html triggers a trivial annoying bug, we skirt it
69 - use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
70 -}
71 -
72 -python_test() {
73 - # Test suite appears not to work under Python 3.
74 - # https://bitbucket.org/logilab/pylint/issue/240/
75 - local msg="Test suite broken with ${EPYTHON}"
76 - if python_is_python3; then
77 - einfo "${msg}"
78 - return 0
79 - fi
80 -
81 - pytest || die "Tests failed under ${EPYTHON}"
82 -}
83 -
84 -python_install_all() {
85 - doman man/{pylint,pyreverse}.1
86 - use examples && local EXAMPLES=( examples/. )
87 - use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
88 - distutils-r1_python_install_all
89 -}
90 -
91 -pkg_postinst() {
92 - # Optional dependency on "tk" USE flag would break support for Jython.
93 - elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
94 -}
95
96 diff --git a/dev-python/pylint/pylint-1.5.6.ebuild b/dev-python/pylint/pylint-1.5.6.ebuild
97 deleted file mode 100644
98 index e6fd948fc77..00000000000
99 --- a/dev-python/pylint/pylint-1.5.6.ebuild
100 +++ /dev/null
101 @@ -1,59 +0,0 @@
102 -# Copyright 1999-2017 Gentoo Foundation
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=5
106 -
107 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
108 -PYTHON_REQ_USE="threads(+)"
109 -
110 -inherit distutils-r1 eutils
111 -
112 -DESCRIPTION="Python code static checker"
113 -HOMEPAGE="
114 - http://www.logilab.org/project/pylint
115 - https://pypi.python.org/pypi/pylint
116 - https://github.com/pycqa/pylint"
117 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
118 -
119 -LICENSE="GPL-2"
120 -SLOT="0"
121 -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
122 -IUSE="doc examples test"
123 -
124 -RDEPEND="
125 - >=dev-python/astroid-1.4.5[${PYTHON_USEDEP}]
126 - <dev-python/astroid-1.5.0[${PYTHON_USEDEP}]
127 - dev-python/colorama[${PYTHON_USEDEP}]
128 - dev-python/six[${PYTHON_USEDEP}]"
129 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
130 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
131 - test? ( ${RDEPEND} )"
132 -
133 -RESTRICT="test" # multiple failures
134 -
135 -# Usual. Requ'd for impl specific failures in test phase
136 -DISTUTILS_IN_SOURCE_BUILD=1
137 -
138 -python_compile_all() {
139 - # selection of straight html triggers a trivial annoying bug, we skirt it
140 - use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
141 -}
142 -
143 -python_test() {
144 - ${PYTHON} \
145 - -m unittest discover \
146 - -s pylint/test/ -p "*test_*".py \
147 - --verbose || die
148 -}
149 -
150 -python_install_all() {
151 - doman man/{pylint,pyreverse}.1
152 - use examples && local EXAMPLES=( examples/. )
153 - use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
154 - distutils-r1_python_install_all
155 -}
156 -
157 -pkg_postinst() {
158 - # Optional dependency on "tk" USE flag would break support for Jython.
159 - optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." dev-lang/python[tk]
160 -}
161
162 diff --git a/dev-python/pylint/pylint-1.6.5.ebuild b/dev-python/pylint/pylint-1.6.5.ebuild
163 deleted file mode 100644
164 index b8ad4438224..00000000000
165 --- a/dev-python/pylint/pylint-1.6.5.ebuild
166 +++ /dev/null
167 @@ -1,63 +0,0 @@
168 -# Copyright 1999-2017 Gentoo Foundation
169 -# Distributed under the terms of the GNU General Public License v2
170 -
171 -EAPI=6
172 -
173 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
174 -PYTHON_REQ_USE="threads(+)"
175 -
176 -inherit distutils-r1 eutils
177 -
178 -DESCRIPTION="Python code static checker"
179 -HOMEPAGE="
180 - http://www.logilab.org/project/pylint
181 - https://pypi.python.org/pypi/pylint
182 - https://github.com/pycqa/pylint"
183 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
184 -
185 -LICENSE="GPL-2"
186 -SLOT="0"
187 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
188 -IUSE="doc examples test"
189 -
190 -RDEPEND="
191 - >=dev-python/astroid-1.4.5[${PYTHON_USEDEP}]
192 - <dev-python/astroid-1.5.0[${PYTHON_USEDEP}]
193 - dev-python/six[${PYTHON_USEDEP}]
194 - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
195 - dev-python/mccabe"
196 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
197 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
198 - test? ( ${RDEPEND} )"
199 -
200 -RESTRICT="test" # multiple failures
201 -
202 -# Usual. Requ'd for impl specific failures in test phase
203 -DISTUTILS_IN_SOURCE_BUILD=1
204 -
205 -python_compile_all() {
206 - # selection of straight html triggers a trivial annoying bug, we skirt it
207 - use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
208 -}
209 -
210 -python_test() {
211 - ${EPYTHON} \
212 - -m unittest discover \
213 - -s pylint/test/ -p "*test_*".py \
214 - --verbose || die
215 -}
216 -
217 -python_install_all() {
218 - doman man/{pylint,pyreverse}.1
219 - if use examples ; then
220 - docinto examples
221 - dodoc -r examples/.
222 - fi
223 - use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
224 - distutils-r1_python_install_all
225 -}
226 -
227 -pkg_postinst() {
228 - # Optional dependency on "tk" USE flag would break support for Jython.
229 - optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." dev-lang/python[tk]
230 -}
231
232 diff --git a/dev-python/pylint/pylint-1.7.1-r1.ebuild b/dev-python/pylint/pylint-1.7.1-r1.ebuild
233 deleted file mode 100644
234 index d2b95b6b8b0..00000000000
235 --- a/dev-python/pylint/pylint-1.7.1-r1.ebuild
236 +++ /dev/null
237 @@ -1,66 +0,0 @@
238 -# Copyright 1999-2017 Gentoo Foundation
239 -# Distributed under the terms of the GNU General Public License v2
240 -
241 -EAPI=6
242 -
243 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
244 -PYTHON_REQ_USE="threads(+)"
245 -
246 -inherit distutils-r1 eutils
247 -
248 -DESCRIPTION="Python code static checker"
249 -HOMEPAGE="
250 - http://www.logilab.org/project/pylint
251 - https://pypi.python.org/pypi/pylint
252 - https://github.com/pycqa/pylint"
253 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
254 -
255 -LICENSE="GPL-2"
256 -SLOT="0"
257 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
258 -IUSE="doc examples test"
259 -
260 -RDEPEND="
261 - >=dev-python/astroid-1.5.1[${PYTHON_USEDEP}]
262 - dev-python/six[${PYTHON_USEDEP}]
263 - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
264 - dev-python/mccabe[${PYTHON_USEDEP}]
265 - virtual/python-singledispatch[${PYTHON_USEDEP}]
266 - $(python_gen_cond_dep '
267 - dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]
268 - dev-python/configparser[${PYTHON_USEDEP}]' -2)"
269 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
270 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
271 - test? ( ${RDEPEND}
272 - dev-python/pytest[${PYTHON_USEDEP}] )"
273 -
274 -python_prepare_all() {
275 - # remove unused dep
276 - sed -i -e '/pytest-runner/d' setup.py || die
277 -
278 - distutils-r1_python_prepare_all
279 -}
280 -
281 -python_compile_all() {
282 - # selection of straight html triggers a trivial annoying bug, we skirt it
283 - use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
284 -}
285 -
286 -python_test() {
287 - py.test -v || die "Tests fail with ${EPYTHON}"
288 -}
289 -
290 -python_install_all() {
291 - doman man/{pylint,pyreverse}.1
292 - if use examples ; then
293 - docinto examples
294 - dodoc -r examples/.
295 - fi
296 - use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
297 - distutils-r1_python_install_all
298 -}
299 -
300 -pkg_postinst() {
301 - # Optional dependency on "tk" USE flag would break support for Jython.
302 - optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." 'dev-lang/python[tk]'
303 -}