Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/
Date: Tue, 03 Jan 2017 03:18:37
Message-Id: 1483413502.19eca31f00c781b578181105184ae09e04dc0665.williamh@gentoo
1 commit: 19eca31f00c781b578181105184ae09e04dc0665
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 2 20:07:25 2017 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 3 03:18:22 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19eca31f
7
8 dev-python/pylint: 1.6.4 version bump for #598428
9
10 Package-Manager: Portage-2.3.0, Repoman-2.3.1
11
12 dev-python/pylint/Manifest | 1 +
13 dev-python/pylint/pylint-1.6.4.ebuild | 61 +++++++++++++++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
17 index 0cdc30c..0f6aa77 100644
18 --- a/dev-python/pylint/Manifest
19 +++ b/dev-python/pylint/Manifest
20 @@ -6,3 +6,4 @@ DIST pylint-1.5.3.tar.gz 422412 SHA256 c0a5d4123873455292d1e360cceb1ee8527edb747
21 DIST pylint-1.5.4.tar.gz 423215 SHA256 2fe3cc2fc66a56fdc35dbbc2bf1dd96a534abfc79ee6b2ad9ae4fe166e570c4b SHA512 7317ef694133041aabffec3f31366b32de0adcb90b67dd70a6cc1a5abea022e59377afaf4f7f53f59049673697524ccf8a02419fdadc3bf98ceaec625fc5d08d WHIRLPOOL 5587d3be0a5cde145544faf4a2d62fca7c2e6cc100e5a948b8066a4ff756d7a775a0b1458336c1c6802ce605acca90ea809e96c99d06e9ee6ec6ecbd8f15b25a
22 DIST pylint-1.5.5.tar.gz 424040 SHA256 15e949bbeda6c0a66799f34f720ab15e38d0a128e752cff5e74168527e5399c7 SHA512 cb3b532f88d2c75e1cef8fefd6e96e8d12a4d56b4bc7e84e109d5d093c8e2a9465d02cfb650f3dd3916edf753e20541b3ec4162743af9f7c82563ecd4b8cc7c6 WHIRLPOOL 665f8c315d61ba2e08ad4c5dea5e2fd20988fc258a856d5cb64a5da2e52e7f701803cab64672de825dfedf89890c194692491a07155880d309c2d27d121d00d3
23 DIST pylint-1.5.6.tar.gz 425251 SHA256 303bdd755048feec2c1fe1ea16e8f4306636f02845510ff3d5922ae2d6fe35cc SHA512 569a747a0d2c4f60ff2c16af6117f501fa1a9a6546fcc1228909b23024e2bc05951985acf56249919b67b11f161cb1855321115ad9fd7a7c409b71faa5dd8278 WHIRLPOOL 286e32ae39dfc3ce8d13efb9e9acec98db698f742bf399ccd6d7e053a2bdb1b7ea30b36a10a65fa4867bb6316da08c1181c5f0f0f39b0a920ddc3cf60e85f462
24 +DIST pylint-1.6.4.tar.gz 442853 SHA256 ef901a34b62ed7a734370ba5b162d890231ba8822abe88c6dda1268e2575f5f1 SHA512 8252a46f8a7ff6a70f2ea10a94a9e8618a903014210cf87c061e649fbe0c2106fb1b63643605ae0ed3f4652e8ed09442f4fd32a0df11f3639e6e35128e432d51 WHIRLPOOL 1e6863ac76b81a36493e77e3ef66f218d0e57882f3e535f5174afff8346b97bfb92f81579960bf9f5250ce7c8bfa0dca2aed1ce727a93332b10cf34b990c359a
25
26 diff --git a/dev-python/pylint/pylint-1.6.4.ebuild b/dev-python/pylint/pylint-1.6.4.ebuild
27 new file mode 100644
28 index 00000000..33a0d84
29 --- /dev/null
30 +++ b/dev-python/pylint/pylint-1.6.4.ebuild
31 @@ -0,0 +1,61 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
39 +PYTHON_REQ_USE="threads(+)"
40 +
41 +inherit distutils-r1 eutils
42 +
43 +DESCRIPTION="Python code static checker"
44 +HOMEPAGE="
45 + http://www.logilab.org/project/pylint
46 + https://pypi.python.org/pypi/pylint
47 + https://github.com/pycqa/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/astroid-1.4.5[${PYTHON_USEDEP}]
57 + <dev-python/astroid-1.5.0[${PYTHON_USEDEP}]
58 + dev-python/six[${PYTHON_USEDEP}]
59 + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
60 + dev-python/mccabe"
61 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
62 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
63 + test? ( ${RDEPEND} )"
64 +
65 +RESTRICT="test" # multiple failures
66 +
67 +# Usual. Requ'd for impl specific failures in test phase
68 +DISTUTILS_IN_SOURCE_BUILD=1
69 +
70 +python_compile_all() {
71 + # selection of straight html triggers a trivial annoying bug, we skirt it
72 + use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
73 +}
74 +
75 +python_test() {
76 + ${PYTHON} \
77 + -m unittest discover \
78 + -s pylint/test/ -p "*test_*".py \
79 + --verbose || die
80 +}
81 +
82 +python_install_all() {
83 + doman man/{pylint,pyreverse}.1
84 + use examples && local EXAMPLES=( examples/. )
85 + use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
86 + distutils-r1_python_install_all
87 +}
88 +
89 +pkg_postinst() {
90 + # Optional dependency on "tk" USE flag would break support for Jython.
91 + optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." dev-lang/python[tk]
92 +}