python-pyxml: new package
PATCH v7 1/1 python-pyxml: new package
From: Clayton Shotwell <[email protected]>
It always uses its own copy of pyexpat, but we can at least make it use buildroot's expat.so.
---
Changes:
v7: use bundled pyexpat, fix using external expat, remove
double spaces from help text (Arnout)
v6: remove host-python dependency, fix formatting (Thomas Petazzoni)
v5: refresh the patch, so it can applied without errors
v3: updated to use python package type (Matt W)
added hash file (Matt W)
--- package/Config.in | 1 + package/python-pyxml/Config.in | 11 +++++++++++ package/python-pyxml/python-xml.hash | 2 ++ package/python-pyxml/python-xml.mk | 17 +++++++++++++++++ toolchain/toolchain-external/toolchain-external.mk | 8 -------- 5 files changed, 31 insertions(+), 8 deletions(-) create mode 100644 package/python-pyxml/Config.in create mode 100644 package/python-pyxml/python-xml.hash create mode 100644 package/python-pyxml/python-xml.mk
package/Config.in +1 -0
@@ -629,6 +629,7 @@ menu "external python modules" source "package/python-pysnmp-mibs/Config.in" source "package/python-pyusb/Config.in" source "package/python-pyxb/Config.in" + source "package/python-pyxml/Config.in" source "package/python-pyzmq/Config.in" source "package/python-requests/Config.in" source "package/python-rtslib-fb/Config.in"
package/python-pyxml/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_PYXML + bool "python-pyxml" + depends on BR2_PACKAGE_PYTHON + help + This is the Python XML package. The distribution contains a + validating XML parser, an implementation of the SAX and DOM + programming interfaces, an interface to the Expat parser (and the + Expat parser itself), and a C helper module that can speed up + xmllib.py by a factor of 5. There's even documentation! + + http://pyxml.sourceforge.net/topics/index.html
package/python-pyxml/python-xml.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed +sha256 9fab66f9584fb8e67aebd8745a5c97bf1c5a2e2e461adf68862bcec64e448c13 PyXML-0.8.4.tar.gz
package/python-pyxml/python-xml.mk new file +17 -0
@@ -0,0 +1,17 @@ +################################################################################ +# +# python-pyxml +# +################################################################################ + +PYTHON_PYXML_VERSION = 0.8.4 +PYTHON_PYXML_SOURCE = PyXML-$(PYTHON_PYXML_VERSION).tar.gz +PYTHON_PYXML_SITE = http://downloads.sourceforge.net/project/pyxml/pyxml/0.8.4/ +PYTHON_PYXML_LICENSE = BSD-3c +PYTHON_PYXML_LICENSE_FILES = LICENSE +PYTHON_PYXML_SETUP_TYPE = distutils +PYTHON_PYXML_DEPENDENCIES = expat +PYTHON_PYXML_BUILD_OPTS = --with-libexpat=$(STAGING_DIR)/usr +PYTHON_PYXML_INSTALL_TARGET_OPTS = --with-libexpat=$(STAGING_DIR)/usr + +$(eval $(python-package))
toolchain/toolchain-external/toolchain-external.mk +0 -8
@@ -367,17 +367,9 @@ TOOLCHAIN_EXTERNAL_SOURCE = crossx86-i486-linux-musl-$(TOOLCHAIN_EXTERNAL_VERSIO else ifeq ($(BR2_microblazebe),y) TOOLCHAIN_EXTERNAL_SOURCE = crossx86-microblaze-linux-musl-$(TOOLCHAIN_EXTERNAL_VERSION).tar.xz else ifeq ($(BR2_mips),y) -ifeq ($(BR2_SOFT_FLOAT),y) -TOOLCHAIN_EXTERNAL_SOURCE = crossx86-mips-sf-linux-musl-$(TOOLCHAIN_EXTERNAL_VERSION).tar.xz -else TOOLCHAIN_EXTERNAL_SOURCE = crossx86-mips-linux-musl-$(TOOLCHAIN_EXTERNAL_VERSION).tar.xz -endif # BR2_SOFT_FLOAT else ifeq ($(BR2_mipsel),y) -ifeq ($(BR2_SOFT_FLOAT),y) -TOOLCHAIN_EXTERNAL_SOURCE = crossx86-mipsel-sf-linux-musl-$(TOOLCHAIN_EXTERNAL_VERSION).tar.xz -else TOOLCHAIN_EXTERNAL_SOURCE = crossx86-mipsel-linux-musl-$(TOOLCHAIN_EXTERNAL_VERSION).tar.xz -endif # BR2_SOFT_FLOAT else ifeq ($(BR2_powerpc),y) TOOLCHAIN_EXTERNAL_SOURCE = crossx86-powerpc-linux-musl-$(TOOLCHAIN_EXTERNAL_VERSION).tar.xz else ifeq ($(BR2_x86_64),y)
Signature · 1 line
2.1.4
PATCH v8 1/1 python-pyxml: new package
From: Clayton Shotwell <[email protected]>
It always uses its own copy of pyexpat, but we can at least make it use buildroot's expat.so.
---
Changes:
v8: Remove unrelated musl fix (Arnout)
v7: use bundled pyexpat, fix using external expat, remove
double spaces from help text (Arnout)
v6: remove host-python dependency, fix formatting (Thomas Petazzoni)
v5: refresh the patch, so it can applied without errors
v3: updated to use python package type (Matt W)
added hash file (Matt W)
--- package/Config.in | 1 + package/python-pyxml/Config.in | 11 +++++++++++ package/python-pyxml/python-xml.hash | 2 ++ package/python-pyxml/python-xml.mk | 17 +++++++++++++++++ 4 files changed, 31 insertions(+) create mode 100644 package/python-pyxml/Config.in create mode 100644 package/python-pyxml/python-xml.hash create mode 100644 package/python-pyxml/python-xml.mk
package/Config.in +1 -0
@@ -629,6 +629,7 @@ menu "external python modules" source "package/python-pysnmp-mibs/Config.in" source "package/python-pyusb/Config.in" source "package/python-pyxb/Config.in" + source "package/python-pyxml/Config.in" source "package/python-pyzmq/Config.in" source "package/python-requests/Config.in" source "package/python-rtslib-fb/Config.in"
package/python-pyxml/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_PYXML + bool "python-pyxml" + depends on BR2_PACKAGE_PYTHON + help + This is the Python XML package. The distribution contains a + validating XML parser, an implementation of the SAX and DOM + programming interfaces, an interface to the Expat parser (and the + Expat parser itself), and a C helper module that can speed up + xmllib.py by a factor of 5. There's even documentation! + + http://pyxml.sourceforge.net/topics/index.html
package/python-pyxml/python-xml.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed +sha256 9fab66f9584fb8e67aebd8745a5c97bf1c5a2e2e461adf68862bcec64e448c13 PyXML-0.8.4.tar.gz
package/python-pyxml/python-xml.mk new file +17 -0
@@ -0,0 +1,17 @@ +################################################################################ +# +# python-pyxml +# +################################################################################ + +PYTHON_PYXML_VERSION = 0.8.4 +PYTHON_PYXML_SOURCE = PyXML-$(PYTHON_PYXML_VERSION).tar.gz +PYTHON_PYXML_SITE = http://downloads.sourceforge.net/project/pyxml/pyxml/0.8.4/ +PYTHON_PYXML_LICENSE = BSD-3c +PYTHON_PYXML_LICENSE_FILES = LICENSE +PYTHON_PYXML_SETUP_TYPE = distutils +PYTHON_PYXML_DEPENDENCIES = expat +PYTHON_PYXML_BUILD_OPTS = --with-libexpat=$(STAGING_DIR)/usr +PYTHON_PYXML_INSTALL_TARGET_OPTS = --with-libexpat=$(STAGING_DIR)/usr + +$(eval $(python-package))
Signature · 1 line
2.1.4
PATCH v8 1/1 python-pyxml: new package
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:
From: Clayton Shotwell <[email protected]>
It always uses its own copy of pyexpat, but we can at least make it use buildroot's expat.so.
Quoted 7 lines
Signed-off-by Clayton Shotwell <[email protected]>Signed-off-by Matthew Weber <[email protected]>Signed-off-by Yegor Yefremov <[email protected]>---
Changes:
v8: Remove unrelated musl fix (Arnout)
Committed with a 'select BR2_PACKAGE_EXPAT' added, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v8 1/1 python-pyxml: new package
Quoted 14 lines · Peter Korsgaard
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:
From: Clayton Shotwell <[email protected]>
It always uses its own copy of pyexpat, but we can at least make it use buildroot's expat.so.Quoted 7 lines
Signed-off-by Clayton Shotwell <[email protected]>Signed-off-by Matthew Weber <[email protected]>Signed-off-by Yegor Yefremov <[email protected]>---
Changes:
v8: Remove unrelated musl fix (Arnout)
Quoted 1 line
Committed with a 'select
BR2_PACKAGE_EXPAT' added, thanks.
Ouch, thanks for fixing.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F