package/python-aiohttp-sse: new package
authorJames Hilliard <james.hilliard1@gmail.com>
Fri, 7 Dec 2018 08:45:08 +0000 (16:45 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 8 Dec 2018 22:53:36 +0000 (23:53 +0100)
Server-sent events support for aiohttp.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
DEVELOPERS
package/Config.in
package/python-aiohttp-sse/Config.in [new file with mode: 0644]
package/python-aiohttp-sse/python-aiohttp-sse.hash [new file with mode: 0644]
package/python-aiohttp-sse/python-aiohttp-sse.mk [new file with mode: 0644]

index b30538f3da391f8d412141fc32f80beb82c0b778..0152c55f816806118e48b6928c2b802ffd77d10d 100644 (file)
@@ -995,6 +995,7 @@ N:  James Hilliard <james.hilliard1@gmail.com>
 F:     package/python-aiodns/
 F:     package/python-aiohttp/
 F:     package/python-aiohttp-session/
+F:     package/python-aiohttp-sse/
 F:     package/python-async-timeout/
 F:     package/python-cchardet/
 F:     package/python-multidict/
index 237ae9ad9f5767f1b20054e4b8bfea6a6b3c6ec8..71191b1abe9006d6eb2b0387d42e05a71974d041 100644 (file)
@@ -801,6 +801,7 @@ menu "External python modules"
        source "package/python-aiodns/Config.in"
        source "package/python-aiohttp/Config.in"
        source "package/python-aiohttp-session/Config.in"
+       source "package/python-aiohttp-sse/Config.in"
        source "package/python-alsaaudio/Config.in"
        source "package/python-argh/Config.in"
        source "package/python-arrow/Config.in"
diff --git a/package/python-aiohttp-sse/Config.in b/package/python-aiohttp-sse/Config.in
new file mode 100644 (file)
index 0000000..781bbf4
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_AIOHTTP_SSE
+       bool "python-aiohttp-sse"
+       depends on BR2_PACKAGE_PYTHON3
+       select BR2_PACKAGE_PYTHON_AIOHTTP # runtime
+       help
+         Server-sent events support for aiohttp.
+
+         https://github.com/aio-libs/aiohttp_sse/
diff --git a/package/python-aiohttp-sse/python-aiohttp-sse.hash b/package/python-aiohttp-sse/python-aiohttp-sse.hash
new file mode 100644 (file)
index 0000000..2f21da4
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/aiohttp-sse/json
+md5    d2f394fb75f591045b2c94fc17c8533d  aiohttp-sse-2.0.0.tar.gz
+sha256 547e1eaa129749f090d02b31956215edbcde74ce99721f5f0ac902a9ccb1202e  aiohttp-sse-2.0.0.tar.gz
+# Locally computed sha256 checksums
+sha256 cb5e8e7e5f4a3988e1063c142c60dc2df75605f4c46515e776e3aca6df976e14  LICENSE
diff --git a/package/python-aiohttp-sse/python-aiohttp-sse.mk b/package/python-aiohttp-sse/python-aiohttp-sse.mk
new file mode 100644 (file)
index 0000000..7a7a0d0
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-aiohttp-sse
+#
+################################################################################
+
+PYTHON_AIOHTTP_SSE_VERSION = 2.0.0
+PYTHON_AIOHTTP_SSE_SOURCE = aiohttp-sse-$(PYTHON_AIOHTTP_SSE_VERSION).tar.gz
+PYTHON_AIOHTTP_SSE_SITE = https://files.pythonhosted.org/packages/2b/50/e127729f7df53c32c96b5c71932a7262cad40c83f1e19c218b068c816d51
+PYTHON_AIOHTTP_SSE_SETUP_TYPE = setuptools
+PYTHON_AIOHTTP_SSE_LICENSE = Apache-2.0
+PYTHON_AIOHTTP_SSE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))