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