python-lxml: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-16 22:10:58 +02:00
parent 5f48ad4ce1
commit 5177672182
2 changed files with 13 additions and 8 deletions

View file

@ -1,12 +1,11 @@
# Template file for 'python-lxml'
pkgname=python-lxml
version=3.6.4
revision=1
revision=2
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"
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>"
@ -15,11 +14,16 @@ license="BSD, ElementTree, GPL-2, ZPL"
distfiles="${PYPI_SITE}/l/lxml/lxml-${version}.tar.gz"
checksum=61d5d3e00b5821e6cda099b3b4ccfea4527bf7c595e0fb3a7a760490cedd6172
python3.4-lxml_package() {
pycompile_version="3.4"
python3-lxml_package() {
replaces="python3.4-lxml>=0"
pycompile_module="lxml"
short_desc="${short_desc/Python2/Python3.4}"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3.4
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}"
}

1
srcpkgs/python3-lxml Symbolic link
View file

@ -0,0 +1 @@
python-lxml