void-packages/srcpkgs/python-lxml/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

29 lines
876 B
Bash

# Template file for 'python-lxml'
pkgname=python-lxml
version=4.1.1
revision=1
wrksrc="lxml-lxml-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools
python-Cython python3-Cython 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="3-clause-BSD, ElementTree, GPL-2, ZPL-2.0"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
checksum=776608f4bcb97bb3b51578d324922dabc7f5518f22a066ea3c1e5f7cf0deca4b
post_install() {
vlicense LICENSES.txt LICENSES
}
python3-lxml_package() {
pycompile_module="lxml"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSES.txt LICENSES
}
}