1 |
patrick 09/01/24 17:42:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pylint-0.15.2.ebuild |
5 |
Log: |
6 |
Bump to 0.15.2, fixes #254653 |
7 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.46 dev-python/pylint/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.46&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.46&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/ChangeLog?r1=1.45&r2=1.46 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v |
19 |
retrieving revision 1.45 |
20 |
retrieving revision 1.46 |
21 |
diff -u -r1.45 -r1.46 |
22 |
--- ChangeLog 21 Oct 2008 17:28:23 -0000 1.45 |
23 |
+++ ChangeLog 24 Jan 2009 17:42:16 -0000 1.46 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-python/pylint |
26 |
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.45 2008/10/21 17:28:23 hawking Exp $ |
28 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.46 2009/01/24 17:42:16 patrick Exp $ |
30 |
+ |
31 |
+*pylint-0.15.2 (24 Jan 2009) |
32 |
+ |
33 |
+ 24 Jan 2009; Patrick Lauer <patrick@g.o> +pylint-0.15.2.ebuild: |
34 |
+ Bump to 0.15.2, fixes #254653 |
35 |
|
36 |
21 Oct 2008; Ali Polatel <hawking@g.o> pylint-0.14.0.ebuild: |
37 |
Fix astng dependency, #236455. |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/pylint/pylint-0.15.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/pylint-0.15.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/pylint-0.15.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pylint-0.15.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 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.15.2.ebuild,v 1.1 2009/01/24 17:42:16 patrick Exp $ |
51 |
|
52 |
inherit distutils eutils |
53 |
|
54 |
DESCRIPTION="PyLint is a tool to check if a Python module satisfies a coding standard" |
55 |
SRC_URI="ftp://ftp.logilab.org/pub/pylint/${P}.tar.gz" |
56 |
HOMEPAGE="http://www.logilab.org/projects/pylint/" |
57 |
|
58 |
IUSE="tk" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" |
61 |
LICENSE="GPL-2" |
62 |
DEPEND=">=dev-python/logilab-common-0.21.0 |
63 |
>=dev-python/astng-0.17.2 |
64 |
tk? ( >=dev-lang/tk-8.4.9 )" |
65 |
|
66 |
DOCS="doc/*.txt" |
67 |
|
68 |
pkg_setup() { |
69 |
if use tk && ! built_with_use dev-lang/python tk; then |
70 |
eerror "You have USE='tk' enabled." |
71 |
eerror "Python has not been compiled with tkinter support." |
72 |
eerror "Please re-emerge python with the 'tk' USE-flag set." |
73 |
die "Missing USE-flag for dev-lang/python" |
74 |
fi |
75 |
} |
76 |
|
77 |
src_unpack() { |
78 |
unpack ${A} |
79 |
cd "${S}" |
80 |
|
81 |
# Make the test that tries to import gtk a bit less strict |
82 |
epatch "${FILESDIR}/${PN}-0.10.0-extra-gtk-disable.patch" |
83 |
|
84 |
# Make pylint-gui print a gentoo-specific message if Tkinter is missing |
85 |
epatch "${FILESDIR}/${PN}-0.11.0-gui-no-tkinter.patch" |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
distutils_src_install |
90 |
# do not install the test suite (we ran it from src_test already |
91 |
# and it makes .py[co] generation very noisy because there are |
92 |
# files with SyntaxErrors in there) |
93 |
python_version |
94 |
rm -rf "${D}"/usr/lib*/python${PYVER}/site-packages/pylint/test |
95 |
|
96 |
doman man/pylint.1 |
97 |
dohtml doc/*.html |
98 |
} |
99 |
|
100 |
src_test() { |
101 |
# The tests will not work properly from the source dir, so do a |
102 |
# temporary install: |
103 |
"${python}" setup.py install --home="${T}/test" || die "test copy failed" |
104 |
# dir needs to be this or the tests fail |
105 |
cd "${T}/test/lib/python/pylint/test" |
106 |
|
107 |
# These fail, have not been able to track down why. |
108 |
rm rpythoninput/func_unsupported_protocol.py || die "rm failed" |
109 |
rm func_test_rpython.py || die "rm failed" |
110 |
PYTHONPATH="${T}/test/lib/python" "${python}" runtests.py || \ |
111 |
die "tests failed" |
112 |
cd "${S}" |
113 |
rm -rf "${T}/test" |
114 |
} |
115 |
|
116 |
pkg_postinst() { |
117 |
distutils_pkg_postinst |
118 |
elog 'A couple of important configuration settings (like "disable-msg")' |
119 |
elog 'moved from the "MASTER" to "MESSAGES CONTROL" section.' |
120 |
elog 'See "pylint --help".' |
121 |
} |