void-packages/srcpkgs/python-lxml/template

26 lines
786 B
Bash
Raw Normal View History

2012-09-20 07:26:09 +00:00
# Template file for 'python-lxml'
pkgname=python-lxml
2015-04-28 13:04:02 +00:00
version=3.4.4
revision=1
2012-09-20 07:26:09 +00:00
wrksrc="lxml-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools libxslt-devel"
2014-09-19 08:14:19 +00:00
makedepends="python-devel python3.4-devel libxslt-devel"
pycompile_module="lxml"
short_desc="Python2 binding for the libxml2 and libxslt libraries"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-09-20 07:26:09 +00:00
homepage="http://lxml.de/"
2014-09-19 08:14:19 +00:00
license="BSD, ElementTree, GPL-2, ZPL"
distfiles="${PYPI_SITE}/l/lxml/lxml-${version}.tar.gz"
2015-04-28 13:04:02 +00:00
checksum=b3d362bac471172747cda3513238f115cbd6c5f8b8e6319bf6a97a7892724099
python3.4-lxml_package() {
pycompile_version="3.4"
pycompile_module="lxml"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}