From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/ply: ply-3.3.ebuild ChangeLog |
Date: | Mon, 07 Sep 2009 20:44:44 |
Message-Id: | E1Mkl4s-0006wM-OS@stork.gentoo.org |
1 | patrick 09/09/07 20:44:42 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ply-3.3.ebuild |
5 | Log: |
6 | Bump |
7 | (Portage version: 2.2_rc40/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.12 dev-python/ply/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ply/ChangeLog?rev=1.12&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ply/ChangeLog?rev=1.12&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ply/ChangeLog?r1=1.11&r2=1.12 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/ply/ChangeLog,v |
19 | retrieving revision 1.11 |
20 | retrieving revision 1.12 |
21 | diff -u -r1.11 -r1.12 |
22 | --- ChangeLog 29 Aug 2009 23:15:33 -0000 1.11 |
23 | +++ ChangeLog 7 Sep 2009 20:44:42 -0000 1.12 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-python/ply |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ChangeLog,v 1.11 2009/08/29 23:15:33 arfrever Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ChangeLog,v 1.12 2009/09/07 20:44:42 patrick Exp $ |
29 | + |
30 | +*ply-3.3 (07 Sep 2009) |
31 | + |
32 | + 07 Sep 2009; Patrick Lauer <patrick@g.o> +ply-3.3.ebuild: |
33 | + Bump |
34 | |
35 | *ply-3.2 (29 Aug 2009) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 dev-python/ply/ply-3.3.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ply/ply-3.3.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ply/ply-3.3.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: ply-3.3.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2009 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ply-3.3.ebuild,v 1.1 2009/09/07 20:44:42 patrick Exp $ |
50 | |
51 | EAPI="2" |
52 | SUPPORT_PYTHON_ABIS="1" |
53 | |
54 | inherit distutils |
55 | |
56 | DESCRIPTION="Python Lex-Yacc library" |
57 | SRC_URI="http://www.dabeaz.com/ply/${P}.tar.gz" |
58 | HOMEPAGE="http://www.dabeaz.com/ply/" |
59 | |
60 | LICENSE="LGPL-2.1" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~ia64 ~ppc ~x86" |
63 | IUSE="examples" |
64 | |
65 | src_prepare() { |
66 | sed -e "s/print repr(result)/print(repr(result))/" -i test/testyacc.py || die "sed failed" |
67 | } |
68 | |
69 | src_test() { |
70 | python_enable_pyc |
71 | |
72 | cd test |
73 | |
74 | testing() { |
75 | "$(PYTHON)" testlex.py || return 1 |
76 | "$(PYTHON)" testyacc.py || return 1 |
77 | } |
78 | python_execute_function testing |
79 | |
80 | python_disable_pyc |
81 | } |
82 | |
83 | src_install() { |
84 | DOCS="ANNOUNCE CHANGES" |
85 | distutils_src_install |
86 | dohtml doc/* |
87 | if use examples; then |
88 | insinto /usr/share/doc/${PF} |
89 | doins -r example |
90 | fi |
91 | } |