Lines 1-4
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
#Copyright 1999-2008 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.1.1.ebuild,v 1.1 2008/08/19 10:07:42 hawking Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.1.1.ebuild,v 1.1 2008/08/19 10:07:42 hawking Exp $ |
4 |
|
4 |
|
Lines 12-18
Link Here
|
12 |
LICENSE="BSD ElementTree GPL-2 PSF-2.4" |
12 |
LICENSE="BSD ElementTree GPL-2 PSF-2.4" |
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
14 |
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
15 |
IUSE="doc examples" |
15 |
IUSE="doc examples threads" |
16 |
|
16 |
|
17 |
RDEPEND=">=dev-libs/libxml2-2.6.21 |
17 |
RDEPEND=">=dev-libs/libxml2-2.6.21 |
18 |
>=dev-libs/libxslt-1.1.15" |
18 |
>=dev-libs/libxslt-1.1.15" |
Lines 28-33
Link Here
|
28 |
epatch "${FILESDIR}/${PN}-2.0.3-no-fake-pyrex.patch" |
28 |
epatch "${FILESDIR}/${PN}-2.0.3-no-fake-pyrex.patch" |
29 |
} |
29 |
} |
30 |
|
30 |
|
|
|
31 |
src_compile() { |
32 |
if use threads; then |
33 |
${python} setup.py build "$@" || die "compilation failed" |
34 |
else |
35 |
${python} setup.py build --without-threading "$@" || die "compilation failed" |
36 |
fi |
37 |
} |
38 |
|
31 |
src_install() { |
39 |
src_install() { |
32 |
distutils_src_install |
40 |
distutils_src_install |
33 |
|
41 |
|