python-lxml: update to 3.3.5; add python3.4 subpkg

This commit is contained in:
Alessio Sergi 2014-07-04 10:51:14 +02:00
parent ffdc85a128
commit 70ecd88063
2 changed files with 22 additions and 8 deletions

View file

@ -1,15 +1,28 @@
# Template file for 'python-lxml'
pkgname=python-lxml
version=2.3.5
revision=2
version=3.3.5
revision=1
wrksrc="lxml-${version}"
build_style=python-module
hostmakedepends="python-devel libxslt-devel"
makedepends="python-devel libxslt-devel"
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"
pycompile_module="lxml"
short_desc="Python binding for the libxml2 and libxslt libraries"
short_desc="Python2 binding for the libxml2 and libxslt libraries"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://lxml.de/"
distfiles="http://pypi.python.org/packages/source/l/lxml/lxml-${version}.tar.gz"
checksum=0912d5e83d9e82f2c6ee1267cb5cefb0fffcd9e20b19bbc1e52e2662ef30e064
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
}
}

1
srcpkgs/python3.4-lxml Symbolic link
View file

@ -0,0 +1 @@
python-lxml