From b13250198de5e1a5461e3e8079cf858cc6a084a3 Mon Sep 17 00:00:00 2001 From: Dominic Sacré Date: Mon, 24 Aug 2015 17:27:53 +0200 Subject: python3-lxml: Add new recipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use a common .inc file for the python-lxml and python3-lxml recipes. Signed-off-by: Dominic Sacré Signed-off-by: Martin Jansa --- .../recipes-devtools/python/python-lxml.inc | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-lxml.inc (limited to 'meta-python/recipes-devtools/python/python-lxml.inc') 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 0000000000..9d1bfbcdcb --- /dev/null +++ b/meta-python/recipes-devtools/python/python-lxml.inc @@ -0,0 +1,31 @@ +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" + +SRC_URI[md5sum] = "a9a65972afc173ec7a39c585f4eea69c" +SRC_URI[sha256sum] = "b3d362bac471172747cda3513238f115cbd6c5f8b8e6319bf6a97a7892724099" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +DISTUTILS_BUILD_ARGS += " \ + --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \ + --with-xml2-config='${STAGING_BINDIR_CROSS}/pkg-config libxml2' \ +" + +DISTUTILS_INSTALL_ARGS += " \ + --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \ + --with-xml2-config='${STAGING_BINDIR_CROSS}/pkg-config libxml2' \ +" + +BBCLASSEXTEND = "native nativesdk" + +RDEPENDS_${PN} += "libxml2 libxslt ${PYTHON_PN}-compression" +RDEPENDS_${PN}_class-native = "libxml2-native libxslt-native" -- cgit 1.2.3-korg