Gentoo Archives: gentoo-commits

From: "Ali Polatel (hawking)" <hawking@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/lxml: ChangeLog lxml-2.0.3.ebuild
Date: Mon, 31 Mar 2008 11:16:06
Message-Id: E1JgHze-0005fN-Uy@stork.gentoo.org
1 hawking 08/03/31 11:16:02
2
3 Modified: ChangeLog
4 Added: lxml-2.0.3.ebuild
5 Log:
6 Version bump, use cython instead of bundled pyrex.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.34 dev-python/lxml/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/lxml/ChangeLog?rev=1.34&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/lxml/ChangeLog?rev=1.34&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/lxml/ChangeLog?r1=1.33&r2=1.34
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v
19 retrieving revision 1.33
20 retrieving revision 1.34
21 diff -u -r1.33 -r1.34
22 --- ChangeLog 20 Mar 2008 20:30:16 -0000 1.33
23 +++ ChangeLog 31 Mar 2008 11:16:02 -0000 1.34
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/lxml
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.33 2008/03/20 20:30:16 fmccor Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.34 2008/03/31 11:16:02 hawking Exp $
29 +
30 +*lxml-2.0.3 (31 Mar 2008)
31 +
32 + 31 Mar 2008; Ali Polatel <hawking@g.o>
33 + +files/lxml-2.0.3-no-fake-pyrex.patch, +lxml-2.0.3.ebuild:
34 + Version bump, use cython instead of bundled pyrex.
35
36 20 Mar 2008; Ferris McCormick <fmccor@g.o> lxml-1.3.6.ebuild:
37 Add ~sparc for Bug #213611. Tests pass (which is not the case for 2.0.2).
38
39
40
41 1.1 dev-python/lxml/lxml-2.0.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/lxml/lxml-2.0.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/lxml/lxml-2.0.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: lxml-2.0.3.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.0.3.ebuild,v 1.1 2008/03/31 11:16:02 hawking Exp $
51
52 NEED_PYTHON="2.3"
53
54 inherit distutils eutils multilib
55
56 DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
57 HOMEPAGE="http://codespeak.net/lxml/"
58 SRC_URI="http://codespeak.net/lxml/${P}.tgz"
59 LICENSE="BSD ElementTree GPL-2 PSF-2.4"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="doc examples"
63
64 RDEPEND=">=dev-libs/libxml2-2.6.20
65 >=dev-libs/libxslt-1.1.15"
66 DEPEND="${RDEPEND}
67 >=dev-python/cython-0.9.6.10
68 >=dev-python/setuptools-0.6_rc5"
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73
74 # Use cython instead of own bundled version of pyrex
75 epatch "${FILESDIR}/${P}-no-fake-pyrex.patch"
76 }
77
78 src_install() {
79 distutils_src_install
80
81 if use doc; then
82 dohtml doc/html/*
83 dodoc *.txt
84 docinto doc
85 dodoc doc/*.txt
86 fi
87
88 if use examples; then
89 insinto /usr/share/doc/${PF}/examples
90 doins -r samples/*
91 fi
92 }
93
94 src_test() {
95 distutils_python_version
96 python setup.py build_ext -i || die "building extensions for test use failed"
97 einfo "Running test"
98 "${python}" test.py || die "tests failed"
99 export PYTHONPATH="${PYTHONPATH}:${S}/src"
100 einfo "Running selftest"
101 "${python}" selftest.py || die "selftest failed"
102 einfo "Running selftest2"
103 "${python}" selftest2.py || die "selftest2 failed"
104 }
105
106
107
108 --
109 gentoo-commits@l.g.o mailing list