Gentoo Archives: gentoo-commits

From: "Jesus Rivero (neurogeek)" <neurogeek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/lxml: ChangeLog lxml-2.1.5.ebuild
Date: Tue, 20 Jan 2009 13:37:45
Message-Id: E1LPGnT-0000C2-Eg@stork.gentoo.org
1 neurogeek 09/01/20 13:37:39
2
3 Modified: ChangeLog
4 Added: lxml-2.1.5.ebuild
5 Log:
6 Version bump. Closes bug #255545
7 (Portage version: 2.2_rc16/cvs/Linux 2.6.18-gentoo-r3 i686)
8
9 Revision Changes Path
10 1.47 dev-python/lxml/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/lxml/ChangeLog?rev=1.47&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/lxml/ChangeLog?rev=1.47&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/lxml/ChangeLog?r1=1.46&r2=1.47
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v
19 retrieving revision 1.46
20 retrieving revision 1.47
21 diff -u -r1.46 -r1.47
22 --- ChangeLog 19 Aug 2008 10:07:42 -0000 1.46
23 +++ ChangeLog 20 Jan 2009 13:37:39 -0000 1.47
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.46 2008/08/19 10:07:42 hawking Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.47 2009/01/20 13:37:39 neurogeek Exp $
30 +
31 +*lxml-2.1.5 (20 Jan 2009)
32 +
33 + 20 Jan 2009; Jesus Rivero <neurogeek@g.o>
34 + +files/lxml-2.1.5_unicode_test.patch, +lxml-2.1.5.ebuild:
35 + Version bump. Closes bug #255545
36
37 *lxml-2.1.1 (19 Aug 2008)
38
39
40
41
42 1.1 dev-python/lxml/lxml-2.1.5.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/lxml/lxml-2.1.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/lxml/lxml-2.1.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: lxml-2.1.5.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/lxml/lxml-2.1.5.ebuild,v 1.1 2009/01/20 13:37:39 neurogeek Exp $
52
53 NEED_PYTHON="2.3"
54
55 inherit distutils
56
57 DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
58 HOMEPAGE="http://codespeak.net/lxml/"
59 SRC_URI="http://codespeak.net/lxml/${P}.tgz"
60 LICENSE="BSD ElementTree GPL-2 PSF-2.4"
61 SLOT="0"
62 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
63 IUSE="doc examples"
64
65 RDEPEND=">=dev-libs/libxml2-2.6.21
66 >=dev-libs/libxslt-1.1.15"
67 DEPEND="${RDEPEND}
68 >=dev-python/cython-0.9.8
69 >=dev-python/setuptools-0.6_rc5"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74
75 # Use cython instead of own bundled version of pyrex
76 epatch "${FILESDIR}/${PN}-2.0.3-no-fake-pyrex.patch"
77 # Patch for xpath/unicode test. This test fails
78 epatch "${FILESDIR}/${P}_unicode_test.patch"
79 }
80
81 src_install() {
82 distutils_src_install
83
84 if use doc; then
85 dohtml doc/html/*
86 dodoc *.txt
87 docinto doc
88 dodoc doc/*.txt
89 fi
90
91 if use examples; then
92 insinto /usr/share/doc/${PF}/examples
93 doins -r samples/*
94 fi
95 }
96
97 src_test() {
98 distutils_python_version
99 python setup.py build_ext -i || die "building extensions for test use failed"
100 einfo "Running test"
101 "${python}" test.py || die "tests failed"
102 export PYTHONPATH="${PYTHONPATH}:${S}/src"
103 einfo "Running selftest"
104 "${python}" selftest.py || die "selftest failed"
105 einfo "Running selftest2"
106 "${python}" selftest2.py || die "selftest2 failed"
107 }