python-pyxb: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Tue, 20 Jan 2015 20:41:38 +0000 (21:41 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 23 Jan 2015 20:40:18 +0000 (21:40 +0100)
[Peter: fix license tag, white space]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-pyxb/Config.in [new file with mode: 0644]
package/python-pyxb/python-pyxb.hash [new file with mode: 0644]
package/python-pyxb/python-pyxb.mk [new file with mode: 0644]

index 32d675588dd76ab55bbcd2f49885706ac9f3b44d..5f6ebc26b691823c53b8d9ebf874d12ed6cfabd8 100644 (file)
@@ -545,6 +545,7 @@ menu "external python modules"
        source "package/python-pysnmp-apps/Config.in"
        source "package/python-pysnmp-mibs/Config.in"
        source "package/python-pyusb/Config.in"
+       source "package/python-pyxb/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-pyxb/Config.in b/package/python-pyxb/Config.in
new file mode 100644 (file)
index 0000000..f122671
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PYXB
+       bool "python-pyxb"
+       help
+         PyXB is a pure Python package that generates Python code
+         for classes that correspond to data structures defined by XMLSchema.
+
+         http://pyxb.sourceforge.net/
diff --git a/package/python-pyxb/python-pyxb.hash b/package/python-pyxb/python-pyxb.hash
new file mode 100644 (file)
index 0000000..d8b43f8
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256  14ced19ecce51e7cd26434446f9bd6b4e309e91806f1f6fc5e21f4ac736aa0de  python-pyxb-1.2.4.tar.gz
diff --git a/package/python-pyxb/python-pyxb.mk b/package/python-pyxb/python-pyxb.mk
new file mode 100644 (file)
index 0000000..eb9ffce
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-pyxb
+#
+################################################################################
+
+PYTHON_PYXB_VERSION = 1.2.4
+PYTHON_PYXB_SITE = $(call github,pabigot,pyxb,PyXB-$(PYTHON_PYXB_VERSION))
+PYTHON_PYXB_LICENSE = Apache-2.0
+PYTHON_PYXB_LICENSE_FILES = LICENSE
+PYTHON_PYXB_SETUP_TYPE = distutils
+
+$(eval $(python-package))