aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Clayton Shotwell <clshotwe@rockwellcollins.com>2015-05-01 18:01:24 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-05-01 22:27:43 +0200
commit0ef25ae2e47cbaec0e304d6823d0f5d7340f9035 (patch)
tree148f8836157e15e386d7072a0137bc2ba33e1e2e
parentfba6a491a8c2b9aeeed1da7f03c08f38d636e8a0 (diff)
downloadbuildroot-0ef25ae2e47cbaec0e304d6823d0f5d7340f9035.tar.gz
buildroot-0ef25ae2e47cbaec0e304d6823d0f5d7340f9035.tar.bz2
python-pyxml: new package
It always uses its own copy of pyexpat, but we can at least make it use buildroot's expat.so. [Peter: select expat] Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/python-pyxml/Config.in12
-rw-r--r--package/python-pyxml/python-xml.hash2
-rw-r--r--package/python-pyxml/python-xml.mk17
4 files changed, 32 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 4e20e4d009..8b02486246 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-pyxml/Config.in b/package/python-pyxml/Config.in
new file mode 100644
index 0000000000..82316bab2f
--- /dev/null
+++ b/package/python-pyxml/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PYTHON_PYXML
+ bool "python-pyxml"
+ depends on BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_EXPAT
+ 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
diff --git a/package/python-pyxml/python-xml.hash b/package/python-pyxml/python-xml.hash
new file mode 100644
index 0000000000..df98c4655a
--- /dev/null
+++ b/package/python-pyxml/python-xml.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 9fab66f9584fb8e67aebd8745a5c97bf1c5a2e2e461adf68862bcec64e448c13 PyXML-0.8.4.tar.gz
diff --git a/package/python-pyxml/python-xml.mk b/package/python-pyxml/python-xml.mk
new file mode 100644
index 0000000000..bfe2c89724
--- /dev/null
+++ b/package/python-pyxml/python-xml.mk
@@ -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))