Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pylint: pylint-1.3.0.ebuild ChangeLog
Date: Thu, 31 Jul 2014 06:56:52
Message-Id: 20140731065645.D414C2004E@flycatcher.gentoo.org
1 idella4 14/07/31 06:56:44
2
3 Modified: ChangeLog
4 Added: pylint-1.3.0.ebuild
5 Log:
6 bump; adjust SRC_URI, update deps, fixes Bug #518272
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.109 dev-python/pylint/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.109&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.109&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/ChangeLog?r1=1.108&r2=1.109
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v
20 retrieving revision 1.108
21 retrieving revision 1.109
22 diff -u -r1.108 -r1.109
23 --- ChangeLog 9 May 2014 05:21:12 -0000 1.108
24 +++ ChangeLog 31 Jul 2014 06:56:44 -0000 1.109
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pylint
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.108 2014/05/09 05:21:12 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.109 2014/07/31 06:56:44 idella4 Exp $
30 +
31 +*pylint-1.3.0 (31 Jul 2014)
32 +
33 + 31 Jul 2014; Ian Delaney <idella4@g.o> +pylint-1.3.0.ebuild:
34 + bump; adjust SRC_URI, update deps, fixes Bug #518272
35
36 09 May 2014; Patrick Lauer <patrick@g.o> pylint-1.2.1.ebuild:
37 Whitespace
38
39
40
41 1.1 dev-python/pylint/pylint-1.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/pylint-1.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/pylint-1.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pylint-1.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-1.3.0.ebuild,v 1.1 2014/07/31 06:56:44 idella4 Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
55
56 inherit distutils-r1
57
58 DESCRIPTION="Python code static checker"
59 HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
60 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
65 IUSE="doc examples test"
66
67 RDEPEND=">=dev-python/logilab-common-0.53.0[${PYTHON_USEDEP}]
68 ~dev-python/astroid-1.2.0[${PYTHON_USEDEP}]"
69 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
70 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
71 test? ( "${RDEPEND}" )"
72
73 PATCHES=( "${FILESDIR}"/${PN}-0.26.0-gtktest.patch )
74
75 # Usual. Requ'd for impl specific failures in test phase
76 DISTUTILS_IN_SOURCE_BUILD=1
77
78 python_prepare_all() {
79 # selection of straight html triggers a trivial annoying bug, we skirt it
80 use doc && emake -C doc singlehtml
81 distutils-r1_python_prepare_all
82 }
83
84 python_test() {
85 # Test suite appears not to work under Python 3.
86 # https://bitbucket.org/logilab/pylint/issue/240/
87 local msg="Test suite broken with ${EPYTHON}"
88 if [[ "${EPYTHON}" == python3* ]]; then
89 einfo "${msg}"
90 return 0
91 fi
92
93 pytest || die "Tests failed under ${EPYTHON}"
94 }
95
96 python_install_all() {
97 doman man/{pylint,pyreverse}.1
98 use examples && local EXAMPLES=( examples/. )
99 use doc && HTML_DOCS=( doc/_build/html/. )
100 distutils-r1_python_install_all
101 }
102
103 pkg_postinst() {
104 # Optional dependency on "tk" USE flag would break support for Jython.
105 elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
106 }