]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
python-autobahn: new package
authorMauro Condarelli <mc5686@mclink.it>
Thu, 11 Feb 2016 10:58:47 +0000 (11:58 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 20 Feb 2016 14:04:07 +0000 (15:04 +0100)
Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
[Thomas: remove dependency on having .py files, since it builds fine
and imports fine with .pyc files only.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-autobahn/Config.in [new file with mode: 0644]
package/python-autobahn/python-autobahn.hash [new file with mode: 0644]
package/python-autobahn/python-autobahn.mk [new file with mode: 0644]

index d979da2b9bcf10bf8e4b88eaa481f2ae19a58049..df96d40455b541fbe64d332040d2aa1d649b82cf 100644 (file)
@@ -620,6 +620,7 @@ endif
 if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 menu "External python modules"
        source "package/python-alsaaudio/Config.in"
+       source "package/python-autobahn/Config.in"
        source "package/python-backports-abc/Config.in"
        source "package/python-beautifulsoup4/Config.in"
        source "package/python-bottle/Config.in"
diff --git a/package/python-autobahn/Config.in b/package/python-autobahn/Config.in
new file mode 100644 (file)
index 0000000..7e1429c
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_AUTOBAHN
+       bool "python-autobahn"
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       select BR2_PACKAGE_PYTHON_TXAIO # runtime
+       help
+         WebSocket client Hhh server library, WAMP real-time
+         framework.
+
+         https://pypi.python.org/pypi/autobahn
diff --git a/package/python-autobahn/python-autobahn.hash b/package/python-autobahn/python-autobahn.hash
new file mode 100644 (file)
index 0000000..8f55ac1
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=b4b5445050749c1033b9b58f694f0c64, sha256 locally computed.
+md5    b4b5445050749c1033b9b58f694f0c64  autobahn-0.12.1.tar.gz
+sha256 664223879e159c88221f42d8d1ac6b8c4268d8b9316d8ab69a02761c5744cd79  autobahn-0.12.1.tar.gz
diff --git a/package/python-autobahn/python-autobahn.mk b/package/python-autobahn/python-autobahn.mk
new file mode 100644 (file)
index 0000000..1d02867
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-autobahn
+#
+################################################################################
+
+PYTHON_AUTOBAHN_VERSION = 0.12.1
+PYTHON_AUTOBAHN_SOURCE = autobahn-$(PYTHON_AUTOBAHN_VERSION).tar.gz
+PYTHON_AUTOBAHN_SITE = http://pypi.python.org/packages/source/a/autobahn
+PYTHON_AUTOBAHN_LICENSE = MIT
+PYTHON_AUTOBAHN_LICENSE_FILES = LICENSE
+PYTHON_AUTOBAHN_SETUP_TYPE = setuptools
+
+$(eval $(python-package))