Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pylint: pylint-1.4.4.ebuild ChangeLog
Date: Thu, 02 Jul 2015 20:20:51
Message-Id: 20150702202042.0278274B@oystercatcher.gentoo.org
1 jlec 15/07/02 20:20:41
2
3 Modified: ChangeLog
4 Added: pylint-1.4.4.ebuild
5 Log:
6 Version Bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
9
10 Revision Changes Path
11 1.132 dev-python/pylint/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.132&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.132&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/ChangeLog?r1=1.131&r2=1.132
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v
20 retrieving revision 1.131
21 retrieving revision 1.132
22 diff -u -r1.131 -r1.132
23 --- ChangeLog 7 Jun 2015 09:12:22 -0000 1.131
24 +++ ChangeLog 2 Jul 2015 20:20:41 -0000 1.132
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pylint
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.131 2015/06/07 09:12:22 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.132 2015/07/02 20:20:41 jlec Exp $
30 +
31 +*pylint-1.4.4 (02 Jul 2015)
32 +
33 + 02 Jul 2015; Justin Lecher <jlec@g.o> +pylint-1.4.4.ebuild:
34 + Version Bump
35
36 07 Jun 2015; Markus Meier <maekke@g.o> pylint-1.4.1.ebuild:
37 arm stable, bug #540290
38
39
40
41 1.1 dev-python/pylint/pylint-1.4.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/pylint-1.4.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/pylint-1.4.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pylint-1.4.4.ebuild
47 ===================================================================
48 # Copyright 1999-2015 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.4.4.ebuild,v 1.1 2015/07/02 20:20:41 jlec Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
55
56 inherit distutils-r1
57
58 RESTRICT="test" # needs pygtk
59
60 DESCRIPTION="Python code static checker"
61 HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
62 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
67 IUSE="doc examples test"
68
69 RDEPEND="
70 >=dev-python/logilab-common-0.53.0[${PYTHON_USEDEP}]
71 >=dev-python/astroid-1.3.6[${PYTHON_USEDEP}]
72 dev-python/six[${PYTHON_USEDEP}]"
73 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
74 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
75 test? ( ${RDEPEND} )"
76
77 # Usual. Requ'd for impl specific failures in test phase
78 DISTUTILS_IN_SOURCE_BUILD=1
79
80 python_compile_all() {
81 # selection of straight html triggers a trivial annoying bug, we skirt it
82 use doc && emake -C doc singlehtml
83 }
84
85 python_test() {
86 # Test suite appears not to work under Python 3.
87 # https://bitbucket.org/logilab/pylint/issue/240/
88 local msg="Test suite broken with ${EPYTHON}"
89 if python_is_python3; then
90 einfo "${msg}"
91 return 0
92 fi
93
94 pytest || die "Tests failed under ${EPYTHON}"
95 }
96
97 python_install_all() {
98 doman man/{pylint,pyreverse}.1
99 use examples && local EXAMPLES=( examples/. )
100 use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
101 distutils-r1_python_install_all
102 }
103
104 pkg_postinst() {
105 # Optional dependency on "tk" USE flag would break support for Jython.
106 elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
107 }