1 |
patrick 09/09/04 20:15:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pylint-0.18.1.ebuild |
5 |
Removed: pylint-0.14.0.ebuild pylint-0.15.2.ebuild |
6 |
Log: |
7 |
Bump to 0.18.1, remove old. Tests still fail. |
8 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.50 dev-python/pylint/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.50&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.50&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/ChangeLog?r1=1.49&r2=1.50 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v |
20 |
retrieving revision 1.49 |
21 |
retrieving revision 1.50 |
22 |
diff -u -r1.49 -r1.50 |
23 |
--- ChangeLog 25 Aug 2009 15:53:35 -0000 1.49 |
24 |
+++ ChangeLog 4 Sep 2009 20:15:35 -0000 1.50 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/pylint |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.49 2009/08/25 15:53:35 arfrever Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.50 2009/09/04 20:15:35 patrick Exp $ |
30 |
+ |
31 |
+*pylint-0.18.1 (04 Sep 2009) |
32 |
+ |
33 |
+ 04 Sep 2009; Patrick Lauer <patrick@g.o> -pylint-0.14.0.ebuild, |
34 |
+ -pylint-0.15.2.ebuild, +pylint-0.18.1.ebuild: |
35 |
+ Bump to 0.18.1, remove old. Tests still fail. |
36 |
|
37 |
25 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
38 |
pylint-0.18.0.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/pylint/pylint-0.18.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/pylint-0.18.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/pylint-0.18.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pylint-0.18.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 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.18.1.ebuild,v 1.1 2009/09/04 20:15:35 patrick Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
SUPPORT_PYTHON_ABIS="1" |
55 |
|
56 |
inherit eutils distutils python |
57 |
|
58 |
DESCRIPTION="a tool to check if a Python module satisfies a coding standard" |
59 |
HOMEPAGE="http://www.logilab.org/projects/pylint/" |
60 |
SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" |
65 |
IUSE="doc examples html test tk" |
66 |
|
67 |
DEPEND=">=dev-python/logilab-common-0.38 |
68 |
>=dev-python/astng-0.19.0" |
69 |
RDEPEND="${DEPEND} |
70 |
dev-lang/python[tk?]" |
71 |
|
72 |
RESTRICT_PYTHON_ABIS="3*" |
73 |
|
74 |
src_test() { |
75 |
testing() { |
76 |
local lpath="${T}/test/lib/python" |
77 |
local tpath="" |
78 |
|
79 |
rm -fr "${lpath}" |
80 |
|
81 |
# Create testdir and copy pylint into it for testing purpose. |
82 |
mkdir -p "${lpath}/logilab" || die |
83 |
PYTHONPATH="${lpath}" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --home="${T}/test" || die "test copy failed" |
84 |
|
85 |
# To support test w/o setuptools. |
86 |
if [[ -d "${lpath}/${PN}" ]]; then |
87 |
tpath="${lpath}/${PN}" |
88 |
else |
89 |
tpath="${lpath}/${P}-py${PYTHON_ABI}.egg/${PN}" |
90 |
fi |
91 |
|
92 |
# Copy pylint unittest and logilab-{common,astng} into our temporary test |
93 |
# dir. |
94 |
cp -r test/ ${tpath} || die "copy tests failed" |
95 |
cp -r "$(python_get_sitedir)/logilab/"{common,astng} "${lpath}/logilab" || die "copying logilab-{common,astng} failed!" |
96 |
|
97 |
pushd "${tpath}" >/dev/null || die |
98 |
PYTHONPATH="${lpath}" pytest -v || die "tests failed" |
99 |
popd >/dev/null || die |
100 |
} |
101 |
python_execute_function testing |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
distutils_src_install |
106 |
|
107 |
doman man/{pylint,pyreverse}.1 || die "doman failed" |
108 |
dodoc doc/FAQ.txt || die "dodoc failed" |
109 |
|
110 |
if use doc; then |
111 |
dodoc doc/*.txt || die "dodoc failed" |
112 |
fi |
113 |
|
114 |
if use html; then |
115 |
dohtml doc/*.html || die "dohtml failed" |
116 |
fi |
117 |
|
118 |
if use examples; then |
119 |
docinto examples |
120 |
dodoc examples/* || die "dodoc failed" |
121 |
fi |
122 |
} |
123 |
|
124 |
pkg_postinst() { |
125 |
if ! built_with_use dev-lang/python tk; then |
126 |
ewarn "dev-lang/python has been built without tk support," |
127 |
ewarn "${PN}-gui doesn't work without Tkinter so if you really need it" |
128 |
ewarn "re-install dev-lang/python with tk useflag enabled." |
129 |
fi |
130 |
} |