void-packages/srcpkgs/python-lxml/template

29 lines
930 B
Plaintext

# Template file for 'python-lxml'
pkgname=python-lxml
version=3.3.6
revision=1
wrksrc="lxml-${version}"
build_style=python-module
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="Python2 binding for the libxml2 and libxslt libraries"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://lxml.de/"
license="BSD"
distfiles="https://pypi.python.org/packages/source/l/lxml/lxml-${version}.tar.gz"
checksum=c46a72c529398d34eabd05e12948868d9d958caede12f1a37e86d00efc423c92
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
}
}