summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-lxml.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python-lxml.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-lxml.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-lxml.inc b/meta-python/recipes-devtools/python/python-lxml.inc
new file mode 100644
index 000000000..9d1bfbcdc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-lxml.inc
@@ -0,0 +1,31 @@
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
13SRC_URI[md5sum] = "a9a65972afc173ec7a39c585f4eea69c"
14SRC_URI[sha256sum] = "b3d362bac471172747cda3513238f115cbd6c5f8b8e6319bf6a97a7892724099"
15
16S = "${WORKDIR}/${SRCNAME}-${PV}"
17
18DISTUTILS_BUILD_ARGS += " \
19 --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \
20 --with-xml2-config='${STAGING_BINDIR_CROSS}/pkg-config libxml2' \
21"
22
23DISTUTILS_INSTALL_ARGS += " \
24 --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \
25 --with-xml2-config='${STAGING_BINDIR_CROSS}/pkg-config libxml2' \
26"
27
28BBCLASSEXTEND = "native nativesdk"
29
30RDEPENDS_${PN} += "libxml2 libxslt ${PYTHON_PN}-compression"
31RDEPENDS_${PN}_class-native = "libxml2-native libxslt-native"