Skip to contentSkip to conversation

package/python-sockjs: new package

PATCH New James Hilliard 2 participants 2 messages Dec 11, 2019 – Dec 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-sockjs: new package

SockJS server implementation for aiohttp.

---
 DEVELOPERS                               |  1 +
 package/Config.in                        |  1 +
 package/python-sockjs/Config.in          |  8 ++++++++
 package/python-sockjs/python-sockjs.hash |  5 +++++
 package/python-sockjs/python-sockjs.mk   | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-sockjs/Config.in
 create mode 100644 package/python-sockjs/python-sockjs.hash
 create mode 100644 package/python-sockjs/python-sockjs.mk
DEVELOPERS +1 -0
index 61bcd99d43..edeff34d13 100644
@@ -1144,6 +1144,7 @@ F:	package/python-brotli/
 F:	package/python-cchardet/
 F:	package/python-multidict/
 F:	package/python-pycares/
+F:	package/python-sockjs/
 F:	package/python-terminaltables/
 F:	package/python-yarl/
 
package/Config.in +1 -0
index 307583d01f..f813c2cc10 100644
@@ -1102,6 +1102,7 @@ menu "External python modules"
 	source "package/python-slob/Config.in"
 	source "package/python-smbus-cffi/Config.in"
 	source "package/python-socketio/Config.in"
+	source "package/python-sockjs/Config.in"
 	source "package/python-sortedcontainers/Config.in"
 	source "package/python-soupsieve/Config.in"
 	source "package/python-spidev/Config.in"
package/python-sockjs/Config.in new file +8 -0
new file mode 100644
index 0000000000..583d7ec741
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_SOCKJS
+	bool "python-sockjs"
+	depends on BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_PYTHON_AIOHTTP # runtime
+	help
+	  SockJS server implementation for aiohttp.
+
+	  https://github.com/aio-libs/sockjs/
package/python-sockjs/python-sockjs.hash new file +5 -0
new file mode 100644
index 0000000000..55ea9dc644
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/sockjs/json
+md5	369417bd103f841f236a8623ea29353c  sockjs-0.10.0.tar.gz
+sha256	005a820387bb4611b59341eac091b05d4204050dd42e4ea6cfb83607e23e2f06  sockjs-0.10.0.tar.gz
+# Locally computed sha256 checksums
+sha256	7be23c071df0314fadeba6077a3830340a5121ad88bfa66b0c095051a766e141  LICENSE.txt
package/python-sockjs/python-sockjs.mk new file +14 -0
new file mode 100644
index 0000000000..e0f58e2b61
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-sockjs
+#
+################################################################################
+
+PYTHON_SOCKJS_VERSION = 0.10.0
+PYTHON_SOCKJS_SOURCE = sockjs-$(PYTHON_SOCKJS_VERSION).tar.gz
+PYTHON_SOCKJS_SITE = https://files.pythonhosted.org/packages/35/0e/6aa4f3283b064b04a0c7f3859c8c2c0b736c05cfb07853b6d94073c1bf63
+PYTHON_SOCKJS_SETUP_TYPE = setuptools
+PYTHON_SOCKJS_LICENSE = Apache-2.0
+PYTHON_SOCKJS_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/python-sockjs: new package

Quoted 13 lines · On Tue, 10 Dec 2019 18:51:43 -0700 James Hilliard <[email protected]>…

SockJS server implementation for aiohttp.

---
 DEVELOPERS                               |  1 +
 package/Config.in                        |  1 +
 package/python-sockjs/Config.in          |  8 ++++++++
 package/python-sockjs/python-sockjs.hash |  5 +++++
 package/python-sockjs/python-sockjs.mk   | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-sockjs/Config.in
 create mode 100644 package/python-sockjs/python-sockjs.hash
 create mode 100644 package/python-sockjs/python-sockjs.mk

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com