Gentoo Archives: gentoo-commits

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