[oe] [PATCH][meta-oe] python-lxml: Added new recipe in meta-oe for 2.2.8 version

Ahsan, Noor Noor_Ahsan at mentor.com
Mon Aug 29 08:38:59 UTC 2011


> -----Original Message-----
> From: Ahsan, Noor
> Sent: Thursday, August 18, 2011 4:09 PM
> To: openembedded-devel at lists.openembedded.org
> Cc: Ahsan, Noor
> Subject: [PATCH][meta-oe] python-lxml: Added new recipe in meta-oe for
> 2.2.8 version
> 
> From: Noor Ahsan <noor_ahsan at mentor.com>
> 
> * Added new recipe in meta-oe for 2.2.8 version
> 
> Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
> ---
>  .../recipes-devtools/python/python-lxml_2.2.8.bb   |   32
> ++++++++++++++++++++
>  1 files changed, 32 insertions(+), 0 deletions(-)
> 
> diff --git a/meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb
> b/meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb
> new file mode 100644
> index 0000000..b1aac3f
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb
> @@ -0,0 +1,32 @@
> +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=7de92baeb3b7bfaebe72404155fdb346"
> +SRCNAME = "lxml"
> +
> +DEPENDS = "libxml2 libxslt"
> +RDEPENDS_${PN} += "libxml2 libxslt python-compression"
> +
> +SRC_URI =
> "http://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-
> ${PV}.tar.gz;name=lxml"
> +SRC_URI[lxml.md5sum] = "d6c612d63a84d79440912a1b29d3b981"
> +SRC_URI[lxml.sha256sum] =
> "89b73925b5e3295dcf4675cb948007a20eb029fe35c9a162ae19ec11f1abafe5"
> +
> +S = "${WORKDIR}/${SRCNAME}-${PV}"
> +
> +inherit setuptools
> +
> +DISTUTILS_BUILD_ARGS += " \
> +
--with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-
> config libxslt' \
> +                     --with-xml2-
> config='${STAGING_BINDIR_NATIVE}/xml2-config' \
> +"
> +
> +DISTUTILS_INSTALL_ARGS += " \
> +
--with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-
> config libxslt' \
> +                     --with-xml2-
> config='${STAGING_BINDIR_NATIVE}/xml2-config' \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
> +RDEPENDS_${PN}_virtclass-native = "libxml2-native libxslt-native"
> +
> +
> --
> 1.7.0.4
Hi,

Kindly pull this patch. Thanks

Regards,
Noor




More information about the Openembedded-devel mailing list