python-lxml: update to 4.2.3
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Template file for 'python-lxml'
|
# Template file for 'python-lxml'
|
||||||
pkgname=python-lxml
|
pkgname=python-lxml
|
||||||
version=4.2.2
|
version=4.2.3
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="lxml-lxml-${version}"
|
wrksrc="lxml-lxml-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
@@ -10,17 +10,19 @@ makedepends="libxslt-devel python-devel python3-devel"
|
|||||||
checkdepends="python3"
|
checkdepends="python3"
|
||||||
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>"
|
||||||
homepage="http://lxml.de/"
|
homepage="https://lxml.de/"
|
||||||
license="BSD-3-Clause, ElementTree, GPL-2.0-or-later, ZPL-2.0" # ElementTree isn't SPDX
|
license="BSD-3-Clause, ElementTree"
|
||||||
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
|
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
|
||||||
checksum=e77a760b5efcc81ddf9dad8b572dcde6d8fbad7307a6d4b8e616fda2293aec6f
|
checksum=b398434856f0f1399da8f8b48e72cb9075db195cb64ddbb05cb7725f0461d571
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
python3 test.py
|
python3 test.py
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSES.txt LICENSES
|
vlicense LICENSES.txt
|
||||||
|
vlicense doc/licenses/BSD.txt
|
||||||
|
vlicense doc/licenses/elementtree.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-lxml_package() {
|
python3-lxml_package() {
|
||||||
@@ -28,6 +30,8 @@ python3-lxml_package() {
|
|||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSES.txt LICENSES
|
vlicense LICENSES.txt
|
||||||
|
vlicense doc/licenses/BSD.txt
|
||||||
|
vlicense doc/licenses/elementtree.txt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user