29 lines
926 B
Bash
29 lines
926 B
Bash
# Template file for 'python-lxml'
|
|
pkgname=python-lxml
|
|
version=3.6.4
|
|
revision=2
|
|
wrksrc="lxml-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools libxslt-devel"
|
|
makedepends="python-devel python3-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=61d5d3e00b5821e6cda099b3b4ccfea4527bf7c595e0fb3a7a760490cedd6172
|
|
|
|
python3-lxml_package() {
|
|
replaces="python3.4-lxml>=0"
|
|
pycompile_module="lxml"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|
|
python3.4-lxml_package() {
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-lxml>=${version}_${revision}"
|
|
}
|