summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-lxml_3.2.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python-lxml_3.2.5.bb')
-rw-r--r--meta-python/recipes-devtools/python/python-lxml_3.2.5.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-lxml_3.2.5.bb b/meta-python/recipes-devtools/python/python-lxml_3.2.5.bb
new file mode 100644
index 0000000000..1fa2889958
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-lxml_3.2.5.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Python XML bindings for libxml2 and libxslt"
2DESCRIPTION = "Powerful and Pythonic XML processing library combining \
3libxml2/libxslt with the ElementTree API."
4HOMEPAGE = "http://codespeak.net/lxml"
5LICENSE = "BSD"
6LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=f9f1dc24f720c143c2240df41fe5073b"
7SRCNAME = "lxml"
8
9DEPENDS = "libxml2 libxslt"
10
11SRC_URI = "http://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
12 file://python-lxml-3.2.5-fix-CVE-2014-3146.patch "
13
14SRC_URI[md5sum] = "6c4fb9b1840631cff09b8229a12a9ef7"
15SRC_URI[sha256sum] = "2bf072808a6546d0e56bf1ad3b98a43cca828724360d7419fad135141bd31f7e"
16
17S = "${WORKDIR}/${SRCNAME}-${PV}"
18
19inherit setuptools
20
21DISTUTILS_BUILD_ARGS += " \
22 --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \
23 --with-xml2-config='${STAGING_BINDIR_CROSS}/xml2-config' \
24"
25
26DISTUTILS_INSTALL_ARGS += " \
27 --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \
28 --with-xml2-config='${STAGING_BINDIR_CROSS}/xml2-config' \
29"
30
31BBCLASSEXTEND = "native nativesdk"
32
33RDEPENDS_${PN} += "libxml2 libxslt python-compression"
34RDEPENDS_${PN}_virtclass-native = "libxml2-native libxslt-native"
35