[Buildroot] [git commit] python-autobahn: new package
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Feb 20 14:04:07 UTC 2016
commit: https://git.buildroot.net/buildroot/commit/?id=2b51d9ddf8160067c983212902151e0f48c1a7af
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Mauro Condarelli <mc5686 at 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 at free-electrons.com>
---
package/Config.in | 1 +
package/python-autobahn/Config.in | 9 +++++++++
package/python-autobahn/python-autobahn.hash | 3 +++
package/python-autobahn/python-autobahn.mk | 14 ++++++++++++++
4 files changed, 27 insertions(+)
diff --git a/package/Config.in b/package/Config.in
index d979da2..df96d40 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
index 0000000..7e1429c
--- /dev/null
+++ b/package/python-autobahn/Config.in
@@ -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
index 0000000..8f55ac1
--- /dev/null
+++ b/package/python-autobahn/python-autobahn.hash
@@ -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
index 0000000..1d02867
--- /dev/null
+++ b/package/python-autobahn/python-autobahn.mk
@@ -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))
More information about the buildroot
mailing list