diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-02-27 23:13:33 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-02-27 23:13:33 +0000 |
commit | 241d2d6ca2388452f6859f3c858cf929bce9b695 (patch) | |
tree | 53e39f44efa947cf9a800be021d328fea17e2183 /dev-python/lxml | |
parent | Initial commit (diff) | |
download | gentoo-2-241d2d6ca2388452f6859f3c858cf929bce9b695.tar.gz gentoo-2-241d2d6ca2388452f6859f3c858cf929bce9b695.tar.bz2 gentoo-2-241d2d6ca2388452f6859f3c858cf929bce9b695.zip |
Version bump (bug #208807, thanks to Torsten Rehn).
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-python/lxml')
-rw-r--r-- | dev-python/lxml/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/lxml/lxml-2.0.2.ebuild | 49 |
2 files changed, 56 insertions, 2 deletions
diff --git a/dev-python/lxml/ChangeLog b/dev-python/lxml/ChangeLog index 684631c00e1a..670418989f0e 100644 --- a/dev-python/lxml/ChangeLog +++ b/dev-python/lxml/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/lxml -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.25 2007/12/15 10:06:15 lucass Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.26 2008/02/27 23:13:33 dev-zero Exp $ + +*lxml-2.0.2 (27 Feb 2008) + + 27 Feb 2008; Tiziano Müller <dev-zero@gentoo.org> +lxml-2.0.2.ebuild: + Version bump (bug #208807, thanks to Torsten Rehn). *lxml-1.3.6 (15 Dec 2007) diff --git a/dev-python/lxml/lxml-2.0.2.ebuild b/dev-python/lxml/lxml-2.0.2.ebuild new file mode 100644 index 000000000000..4bae6697a459 --- /dev/null +++ b/dev-python/lxml/lxml-2.0.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.0.2.ebuild,v 1.1 2008/02/27 23:13:33 dev-zero Exp $ + +NEED_PYTHON="2.3" + +inherit distutils eutils multilib + +DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" +HOMEPAGE="http://codespeak.net/lxml/" +SRC_URI="http://codespeak.net/lxml/${P}.tgz" +LICENSE="BSD ElementTree GPL-2 PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~x86" +IUSE="doc examples" + +# Note: This version comes with it's own bundled svn version of pyrex +RDEPEND=">=dev-libs/libxml2-2.6.20 + >=dev-libs/libxslt-1.1.15" +DEPEND="${RDEPEND} + >=dev-python/setuptools-0.6_rc5" + +src_install() { + distutils_src_install + + if use doc; then + dohtml doc/html/* + dodoc *.txt + docinto doc + dodoc doc/*.txt + fi + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r samples/* + fi +} + +src_test() { + distutils_python_version + python setup.py build_ext -i || die "building extensions for test use failed" + einfo "Running test" + "${python}" test.py || die "tests failed" + export PYTHONPATH="${PYTHONPATH}:${S}/src" + einfo "Running selftest" + "${python}" selftest.py || die "selftest failed" + einfo "Running selftest2" + "${python}" selftest2.py || die "selftest2 failed" +} |