Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pylint: pylint-0.25.1.ebuild ChangeLog
Date: Wed, 08 Feb 2012 04:52:38
Message-Id: 20120208045228.69B1D2004B@flycatcher.gentoo.org
1 patrick 12/02/08 04:52:28
2
3 Modified: ChangeLog
4 Added: pylint-0.25.1.ebuild
5 Log:
6 Bump for #401991
7
8 (Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.86 dev-python/pylint/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.86&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.86&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/ChangeLog?r1=1.85&r2=1.86
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v
20 retrieving revision 1.85
21 retrieving revision 1.86
22 diff -u -r1.85 -r1.86
23 --- ChangeLog 18 Oct 2011 19:11:54 -0000 1.85
24 +++ ChangeLog 8 Feb 2012 04:52:28 -0000 1.86
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pylint
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.85 2011/10/18 19:11:54 radhermit Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.86 2012/02/08 04:52:28 patrick Exp $
31 +
32 +*pylint-0.25.1 (08 Feb 2012)
33 +
34 + 08 Feb 2012; Patrick Lauer <patrick@g.o> +pylint-0.25.1.ebuild:
35 + Bump for #401991
36
37 18 Oct 2011; Tim Harder <radhermit@g.o> -pylint-0.21.3.ebuild,
38 -pylint-0.22.0.ebuild:
39
40
41
42 1.1 dev-python/pylint/pylint-0.25.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/pylint-0.25.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pylint/pylint-0.25.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pylint-0.25.1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.25.1.ebuild,v 1.1 2012/02/08 04:52:28 patrick Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="*:2.5"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="2.4"
57
58 inherit distutils
59
60 DESCRIPTION="Python code static checker"
61 HOMEPAGE="http://www.logilab.org/projects/pylint/ http://pypi.python.org/pypi/pylint"
62 SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
67 IUSE="examples"
68
69 # Versions specified in __pkginfo__.py.
70 RDEPEND=">=dev-python/logilab-common-0.53.0
71 >=dev-python/astng-0.21.1"
72 DEPEND="${RDEPEND}
73 dev-python/setuptools"
74
75 DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
76 DOCS="doc/*.txt"
77
78 src_test() {
79 testing() {
80 # Test suite broken with Python 3.
81 [[ "${PYTHON_ABI}" == 3.* ]] && return
82
83 PYTHONPATH="build/lib" pytest -v
84 }
85 python_execute_function -s testing
86 }
87
88 src_install() {
89 distutils_src_install
90
91 doman man/{pylint,pyreverse}.1 || die "doman failed"
92
93 if use examples; then
94 docinto examples
95 dodoc examples/* || die "dodoc failed"
96 fi
97
98 delete_tests() {
99 rm -fr "${ED}$(python_get_sitedir)/pylint/test"
100 }
101 python_execute_function -q delete_tests
102 }
103
104 pkg_postinst() {
105 distutils_pkg_postinst
106
107 # Optional dependency on "tk" USE flag would break support for Jython.
108 elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
109 }