diff options
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.bb | 35 |
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 @@ | |||
| 1 | SUMMARY = "Python XML bindings for libxml2 and libxslt" | ||
| 2 | DESCRIPTION = "Powerful and Pythonic XML processing library combining \ | ||
| 3 | libxml2/libxslt with the ElementTree API." | ||
| 4 | HOMEPAGE = "http://codespeak.net/lxml" | ||
| 5 | LICENSE = "BSD" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=f9f1dc24f720c143c2240df41fe5073b" | ||
| 7 | SRCNAME = "lxml" | ||
| 8 | |||
| 9 | DEPENDS = "libxml2 libxslt" | ||
| 10 | |||
| 11 | SRC_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 | |||
| 14 | SRC_URI[md5sum] = "6c4fb9b1840631cff09b8229a12a9ef7" | ||
| 15 | SRC_URI[sha256sum] = "2bf072808a6546d0e56bf1ad3b98a43cca828724360d7419fad135141bd31f7e" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 18 | |||
| 19 | inherit setuptools | ||
| 20 | |||
| 21 | DISTUTILS_BUILD_ARGS += " \ | ||
| 22 | --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \ | ||
| 23 | --with-xml2-config='${STAGING_BINDIR_CROSS}/xml2-config' \ | ||
| 24 | " | ||
| 25 | |||
| 26 | DISTUTILS_INSTALL_ARGS += " \ | ||
| 27 | --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \ | ||
| 28 | --with-xml2-config='${STAGING_BINDIR_CROSS}/xml2-config' \ | ||
| 29 | " | ||
| 30 | |||
| 31 | BBCLASSEXTEND = "native nativesdk" | ||
| 32 | |||
| 33 | RDEPENDS_${PN} += "libxml2 libxslt python-compression" | ||
| 34 | RDEPENDS_${PN}_virtclass-native = "libxml2-native libxslt-native" | ||
| 35 | |||
