26 lines
786 B
Bash
26 lines
786 B
Bash
# Template file for 'python-lxml'
|
|
pkgname=python-lxml
|
|
version=3.4.3
|
|
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"
|
|
pycompile_module="lxml"
|
|
short_desc="Python2 binding for the libxml2 and libxslt libraries"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://lxml.de/"
|
|
license="BSD, ElementTree, GPL-2, ZPL"
|
|
distfiles="${PYPI_SITE}/l/lxml/lxml-${version}.tar.gz"
|
|
checksum=6ce4a11ab485a67a899aa3e080c97b22a9df40c7077bd9146a821d3872cf2037
|
|
|
|
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
|
|
}
|
|
}
|