2012-09-20 07:26:09 +00:00
|
|
|
# Template file for 'python-lxml'
|
|
|
|
pkgname=python-lxml
|
2014-07-04 08:51:14 +00:00
|
|
|
version=3.3.5
|
|
|
|
revision=1
|
2012-09-20 07:26:09 +00:00
|
|
|
wrksrc="lxml-${version}"
|
|
|
|
build_style=python-module
|
2014-07-04 08:51:14 +00:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools libxslt-devel"
|
|
|
|
makedepends="python-devel python3.4-devel libxslt-devel python-cssselect
|
|
|
|
python3.4-cssselect"
|
|
|
|
depends="python libxml2 libxslt python-cssselect"
|
2014-01-01 15:10:11 +00:00
|
|
|
pycompile_module="lxml"
|
2014-07-04 08:51:14 +00:00
|
|
|
short_desc="Python2 binding for the libxml2 and libxslt libraries"
|
2012-09-20 07:26:09 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://lxml.de/"
|
2014-07-04 08:51:14 +00:00
|
|
|
license="BSD"
|
|
|
|
distfiles="https://pypi.python.org/packages/source/l/lxml/lxml-${version}.tar.gz"
|
|
|
|
checksum=6ad6949dc7eea744a30fba77a968dd5910f545220e58bcc813b9df5c793e318a
|
|
|
|
|
|
|
|
python3.4-lxml_package() {
|
|
|
|
depends="python3.4 libxml2 libxslt python3.4-cssselect"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="lxml"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|