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