mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-23 07:11:08 +02:00
* Lame workaround for not supporting lxml-2*
This commit is contained in:
parent
dae5d84fcb
commit
aa87bc88e7
2 changed files with 51 additions and 0 deletions
2
dev-python/lxml/Manifest
Normal file
2
dev-python/lxml/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST lxml-1.3.6.tgz 1253422 RMD160 deb98a07ea6b56f9c945e0e48848cb2d26818e77 SHA1 0a3d84d4d34a7a3bb12484e54c2c71703dff7826 SHA256 91258c3ba06dd07036533af2377b6adcc12b043d0f4bb98be8daebe4f4befea4
|
||||
EBUILD lxml-1.3.6.ebuild 1287 RMD160 2358704e9a2133eeac5a7695afae039f45a99dd9 SHA1 a4603e8d4dc1f8c50d9b854d470edf4f93318ad5 SHA256 ab8eabdc12fd6375979e70a2a678c4a9516a4de0497660c7215ef30032919f24
|
||||
49
dev-python/lxml/lxml-1.3.6.ebuild
Normal file
49
dev-python/lxml/lxml-1.3.6.ebuild
Normal file
|
|
@ -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-1.3.6.ebuild,v 1.8 2008/05/26 15:30:14 armin76 Exp $
|
||||
|
||||
NEED_PYTHON=2.3
|
||||
|
||||
inherit distutils eutils multilib
|
||||
|
||||
DESCRIPTION="lxml is a Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://codespeak.net/lxml/"
|
||||
SRC_URI="http://codespeak.net/lxml/${P}.tgz"
|
||||
|
||||
LICENSE="BSD GPL-2 as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ia64 ppc sparc x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
# Note: This version comes with it's own bundled svn version of pyrex
|
||||
DEPEND=">=dev-libs/libxml2-2.6.16
|
||||
>=dev-libs/libxslt-1.1.12
|
||||
>=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"
|
||||
}
|
||||
Loading…
Reference in a new issue