mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-25 01:08:22 +00:00
python-lxml: move to version 3.2.5
Remove version 3.0.2. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
35
meta-python/recipes-devtools/python/python-lxml_3.2.5.bb
Normal file
35
meta-python/recipes-devtools/python/python-lxml_3.2.5.bb
Normal file
@@ -0,0 +1,35 @@
|
||||
SUMMARY = "Python XML bindings for libxml2 and libxslt"
|
||||
DESCRIPTION = "Powerful and Pythonic XML processing library combining \
|
||||
libxml2/libxslt with the ElementTree API."
|
||||
HOMEPAGE = "http://codespeak.net/lxml"
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=f9f1dc24f720c143c2240df41fe5073b"
|
||||
SRCNAME = "lxml"
|
||||
|
||||
DEPENDS = "libxml2 libxslt"
|
||||
|
||||
SRC_URI = "http://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
|
||||
file://python-lxml-3.2.5-fix-CVE-2014-3146.patch "
|
||||
|
||||
SRC_URI[md5sum] = "6c4fb9b1840631cff09b8229a12a9ef7"
|
||||
SRC_URI[sha256sum] = "2bf072808a6546d0e56bf1ad3b98a43cca828724360d7419fad135141bd31f7e"
|
||||
|
||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
|
||||
inherit setuptools
|
||||
|
||||
DISTUTILS_BUILD_ARGS += " \
|
||||
--with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \
|
||||
--with-xml2-config='${STAGING_BINDIR_CROSS}/xml2-config' \
|
||||
"
|
||||
|
||||
DISTUTILS_INSTALL_ARGS += " \
|
||||
--with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \
|
||||
--with-xml2-config='${STAGING_BINDIR_CROSS}/xml2-config' \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
RDEPENDS_${PN} += "libxml2 libxslt python-compression"
|
||||
RDEPENDS_${PN}_virtclass-native = "libxml2-native libxslt-native"
|
||||
|
||||
Reference in New Issue
Block a user