[Buildroot] [git commit] python-ws4py: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 31 22:05:15 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=f3383b0eabab16865c630710f71d318bcc9e9f38
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

[Thomas: fix <pkg>_LICENSE_FILES, since there is no file named
'LICENSE' in the tarball.]

Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/Config.in                      |    1 +
 package/python-ws4py/Config.in         |    7 +++++++
 package/python-ws4py/python-ws4py.hash |    3 +++
 package/python-ws4py/python-ws4py.mk   |   14 ++++++++++++++
 4 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index 20b0cfc..8cd0cb1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -591,6 +591,7 @@ menu "external python modules"
 	source "package/python-versiontools/Config.in"
 	source "package/python-webpy/Config.in"
 	source "package/python-werkzeug/Config.in"
+	source "package/python-ws4py/Config.in"
 	source "package/python-zope-interface/Config.in"
 endmenu
 endif
diff --git a/package/python-ws4py/Config.in b/package/python-ws4py/Config.in
new file mode 100644
index 0000000..f4763a8
--- /dev/null
+++ b/package/python-ws4py/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_WS4PY
+	bool "python-ws4py"
+	help
+	  ws4py is a Python package implementing the WebSocket protocol
+	  as defined in RFC 6455.
+
+	  https://ws4py.readthedocs.org
diff --git a/package/python-ws4py/python-ws4py.hash b/package/python-ws4py/python-ws4py.hash
new file mode 100644
index 0000000..e58e14a
--- /dev/null
+++ b/package/python-ws4py/python-ws4py.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=6b47e33cbd13f5c134b04f2a44a480ad, sha256 locally computed
+md5     6b47e33cbd13f5c134b04f2a44a480ad  ws4py-0.3.4.tar.gz
+sha256  85d5c01bb0d031e151a32fad56094caf54e20c2ddb51cf25b5709421ff92d007  ws4py-0.3.4.tar.gz
diff --git a/package/python-ws4py/python-ws4py.mk b/package/python-ws4py/python-ws4py.mk
new file mode 100644
index 0000000..f332d15
--- /dev/null
+++ b/package/python-ws4py/python-ws4py.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-ws4py
+#
+################################################################################
+
+PYTHON_WS4PY_VERSION = 0.3.4
+PYTHON_WS4PY_SOURCE = ws4py-$(PYTHON_WS4PY_VERSION).tar.gz
+PYTHON_WS4PY_SITE = https://pypi.python.org/packages/source/w/ws4py
+PYTHON_WS4PY_SETUP_TYPE = setuptools
+PYTHON_WS4PY_LICENSE = BSD-3c
+PYTHON_WS4PY_LICENSE_FILES = ws4py/__init__.py
+
+$(eval $(python-package))


More information about the buildroot mailing list