mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
python-lxml: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
5f48ad4ce1
commit
5177672182
2 changed files with 13 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-lxml'
|
# Template file for 'python-lxml'
|
||||||
pkgname=python-lxml
|
pkgname=python-lxml
|
||||||
version=3.6.4
|
version=3.6.4
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="lxml-${version}"
|
wrksrc="lxml-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools libxslt-devel"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools libxslt-devel"
|
makedepends="python-devel python3-devel libxslt-devel"
|
||||||
makedepends="python-devel python3.4-devel libxslt-devel"
|
|
||||||
pycompile_module="lxml"
|
pycompile_module="lxml"
|
||||||
short_desc="Python2 binding for the libxml2 and libxslt libraries"
|
short_desc="Python2 binding for the libxml2 and libxslt libraries"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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"
|
distfiles="${PYPI_SITE}/l/lxml/lxml-${version}.tar.gz"
|
||||||
checksum=61d5d3e00b5821e6cda099b3b4ccfea4527bf7c595e0fb3a7a760490cedd6172
|
checksum=61d5d3e00b5821e6cda099b3b4ccfea4527bf7c595e0fb3a7a760490cedd6172
|
||||||
|
|
||||||
python3.4-lxml_package() {
|
python3-lxml_package() {
|
||||||
pycompile_version="3.4"
|
replaces="python3.4-lxml>=0"
|
||||||
pycompile_module="lxml"
|
pycompile_module="lxml"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
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
1
srcpkgs/python3-lxml
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-lxml
|
Loading…
Add table
Reference in a new issue