Skip to contentSkip to conversation

Pull request for python-lxml

PATCH Superseded Noor, Ahsan 2 participants 4 messages Sep 5, 2011 – Sep 6, 2011

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Pull request for python-lxml

From: Noor Ahsan <[email protected]>

The following changes since commit 6f1aa8626f859accef89c633aadaf13359bb1899:
Noor Ahsan (1):
Merge remote branch 'upstream/master'

are available in the git repository at:

git://github.com/Noor-Ahsan/meta-oe master
https://github.com/Noor-Ahsan/meta-oe/tree/master

Noor Ahsan (1):
python-lxml: Add version 2.2.8 (initial recipe)

 .../recipes-devtools/python/python-lxml_2.2.8.bb   |   32 ++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb
#1 lore raw

PATCH v2 1/1 python-lxml: Add version 2.2.8 (initial recipe)

From: Noor Ahsan <[email protected]>

* Imported from oe.dev commit id bc6a94559157e6fcc190a22a259c0f757b8664ae.
* Tested with MACHINE = 'qemuppc'

---
 .../recipes-devtools/python/python-lxml_2.2.8.bb   |   32 ++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +32 -0
new file mode 100644
index 0000000..b1aac3f
@@ -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"
+
+
Signature · 1 line
1.7.0.4
#2 lore raw

Re: [meta-oe][PATCH v2 1/1] python-lxml: Add version 2.2.8 (initial recipe)

I probably missed the initial submission of this patch (sorry for this), but...

2011/9/5 Noor, Ahsan <[email protected]>:

Quoted 30 lines

From: Noor Ahsan <[email protected]>

* Imported from oe.dev commit id bc6a94559157e6fcc190a22a259c0f757b8664ae.
* Tested with MACHINE = 'qemuppc'

---
 .../recipes-devtools/python/python-lxml_2.2.8.bb   |   32 ++++++++++++++++++++

 1 files changed, 32 insertions(+), 0 deletions(-)

 create mode 100644 meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +12 -0
new file mode 100644
index 0000000..b1aac3f
@@ -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"

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb line 22

Quoted 10 lines
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +10 -0
+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' \
+"

Shouldn't this be STAGING_BINDIR_CROSS? BINDIR_NATIVE usually refers to native libs and linking against them using setuptools may fail (kind of) silently.

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb line 27

Quoted 5 lines
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +5 -0
+
+DISTUTILS_INSTALL_ARGS += " \
+                     --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \
+                     --with-xml2-config='${STAGING_BINDIR_NATIVE}/xml2-config' \
+"

Same here.

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb line 29

Quoted 2 lines
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +2 -0
+
+BBCLASSEXTEND = "native nativesdk"

I don't know about native then. Basically one would have to switch/create a 2nd recipe?

Quoted 7 lines
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +3 -1
+RDEPENDS_${PN}_virtclass-native = "libxml2-native libxslt-native"
+
+
--

1.7.0.4

Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Regards,
Michael

#3 lore raw

Re: [meta-oe][PATCH v2 1/1] python-lxml: Add version 2.2.8 (initial recipe)

Hi Michael,

Quoted 73 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Michael Lippautz
Sent: Monday, September 05, 2011 11:53 PM
To: [email protected]
Subject: Re: [oe] [meta-oe][PATCH v2 1/1] python-lxml: Add version 2.2.8 (initial recipe)

I probably missed the initial submission of this patch (sorry for this), but...

2011/9/5 Noor, Ahsan <[email protected]>:

Quoted 3 lines

From: Noor Ahsan <[email protected]>

* Imported from oe.dev commit id

bc6a94559157e6fcc190a22a259c0f757b8664ae.

Quoted 6 lines

* Tested with MACHINE = 'qemuppc'

---
 .../recipes-devtools/python/python-lxml_2.2.8.bb   |   32

++++++++++++++++++++

Quoted 2 lines
 1 files changed, 32 insertions(+), 0 deletions(-)

 create mode 100644 meta-oe/recipes-devtools/python/python-

lxml_2.2.8.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb line 1

Quoted 6 lines

new file mode 100644
index 0000000..b1aac3f

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +1 -0
@@ -0,0 +1,32 @@
+DESCRIPTION = "Powerful and Pythonic XML processing library

combining \

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb

Quoted 4 lines
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +4 -0
+libxml2/libxslt with the ElementTree API."
+HOMEPAGE = "http://codespeak.net/lxml"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM =

"file://LICENSES.txt;md5=7de92baeb3b7bfaebe72404155fdb346"

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb

Quoted 6 lines
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +6 -0
+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"

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb line 13

Quoted 2 lines
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +2 -0
+SRC_URI[lxml.md5sum] = "d6c612d63a84d79440912a1b29d3b981"
+SRC_URI[lxml.sha256sum] =

"89b73925b5e3295dcf4675cb948007a20eb029fe35c9a162ae19ec11f1abafe5"

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb

Quoted 7 lines
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +7 -0
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+DISTUTILS_BUILD_ARGS += " \
+                     --with-xslt-

config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb line 21

Quoted 1 line
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +1 -0
+                     --with-xml2-

config='${STAGING_BINDIR_NATIVE}/xml2-config' \

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb line 22

Quoted 1 line
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +1 -0
+"

Shouldn't this be STAGING_BINDIR_CROSS? BINDIR_NATIVE usually refers to native libs and linking against them using setuptools may fail (kind of) silently.

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb

Quoted 3 lines
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +3 -0
+
+DISTUTILS_INSTALL_ARGS += " \
+                     --with-xslt-

config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \

Quoted 5 lines

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb line 26

Quoted 1 line
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +1 -0
+                     --with-xml2-

config='${STAGING_BINDIR_NATIVE}/xml2-config' \

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb line 27

Quoted 1 line
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +1 -0
+"

Same here.

I have incorporated this change in new patch.

Quoted 6 lines

meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb line 29

Quoted 3 lines
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +2 -0
+
+BBCLASSEXTEND = "native nativesdk"

I don't know about native then. Basically one would have to switch/create a 2nd recipe?

Yes this is basically to use same recipe for native package building.

Quoted 22 lines
Quoted 8 lines
meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb new file +3 -1
+RDEPENDS_${PN}_virtclass-native = "libxml2-native libxslt-native"
+
+
--

1.7.0.4

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-

devel

Quoted 1 line

Regards,
Michael

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel