package/python-sockjs: new package
authorJames Hilliard <james.hilliard1@gmail.com>
Wed, 11 Dec 2019 01:51:43 +0000 (18:51 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 14 Dec 2019 21:02:02 +0000 (22:02 +0100)
SockJS server implementation for aiohttp.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-sockjs/Config.in [new file with mode: 0644]
package/python-sockjs/python-sockjs.hash [new file with mode: 0644]
package/python-sockjs/python-sockjs.mk [new file with mode: 0644]

index 8d11ad8a31e0b9bb0952827005edf69c67fb8740..fde0776dc00c077c703c0ff27228ee714e141575 100644 (file)
@@ -1147,6 +1147,7 @@ F:        package/python-cchardet/
 F:     package/python-logstash/
 F:     package/python-multidict/
 F:     package/python-pycares/
+F:     package/python-sockjs/
 F:     package/python-terminaltables/
 F:     package/python-yarl/
 
index 4bac3aabffd4532677ba48bd8251fe67c8597ff6..7dc0df885742ef83761ab15f4221ab75623319e1 100644 (file)
@@ -1104,6 +1104,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"
diff --git a/package/python-sockjs/Config.in b/package/python-sockjs/Config.in
new file mode 100644 (file)
index 0000000..583d7ec
--- /dev/null
@@ -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/
diff --git a/package/python-sockjs/python-sockjs.hash b/package/python-sockjs/python-sockjs.hash
new file mode 100644 (file)
index 0000000..55ea9dc
--- /dev/null
@@ -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
diff --git a/package/python-sockjs/python-sockjs.mk b/package/python-sockjs/python-sockjs.mk
new file mode 100644 (file)
index 0000000..e0f58e2
--- /dev/null
@@ -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))