aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar James Hilliard <james.hilliard1@gmail.com>2018-11-20 03:52:38 +0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-21 22:32:53 +0100
commitce697dbdccf6a4f4b3494044d37186417f9c05b6 (patch)
treecc8e111c8612cd52817e384ddb8e8c1ff6066a8d /package
parent45708b0dbe60fc580834ac39f9b7c843548fe1ad (diff)
downloadbuildroot-ce697dbdccf6a4f4b3494044d37186417f9c05b6.tar.gz
buildroot-ce697dbdccf6a4f4b3494044d37186417f9c05b6.tar.bz2
python-aiohttp: new package
Async http client/server framework (asyncio). Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/python-aiohttp/Config.in14
-rw-r--r--package/python-aiohttp/python-aiohttp.hash5
-rw-r--r--package/python-aiohttp/python-aiohttp.mk14
4 files changed, 34 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 6fa09bab32..ce8d70c458 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -796,6 +796,7 @@ if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
menu "External python modules"
source "package/python-aiocoap/Config.in"
source "package/python-aiodns/Config.in"
+ source "package/python-aiohttp/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/Config.in b/package/python-aiohttp/Config.in
new file mode 100644
index 0000000000..81862c9bba
--- /dev/null
+++ b/package/python-aiohttp/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_PYTHON_AIOHTTP
+ bool "python-aiohttp"
+ depends on BR2_PACKAGE_PYTHON3
+ select BR2_PACKAGE_PYTHON_ATTRS # runtime
+ select BR2_PACKAGE_PYTHON_CCHARDET if BR2_INSTALL_LIBSTDCPP # runtime
+ select BR2_PACKAGE_PYTHON_CHARDET if !BR2_INSTALL_LIBSTDCPP # runtime
+ select BR2_PACKAGE_PYTHON_MULTIDICT # runtime
+ select BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT # runtime
+ select BR2_PACKAGE_PYTHON_YARL # runtime
+ select BR2_PACKAGE_PYTHON_AIODNS # runtime
+ help
+ Async http client/server framework (asyncio).
+
+ https://github.com/aio-libs/aiohttp
diff --git a/package/python-aiohttp/python-aiohttp.hash b/package/python-aiohttp/python-aiohttp.hash
new file mode 100644
index 0000000000..8f158af3cb
--- /dev/null
+++ b/package/python-aiohttp/python-aiohttp.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/aiohttp/json
+md5 80a6e0c6c452d511d1d37755d6f0995a aiohttp-3.4.4.tar.gz
+sha256 51afec6ffa50a9da4cdef188971a802beb1ca8e8edb40fa429e5e529db3475fa aiohttp-3.4.4.tar.gz
+# Locally computed sha256 checksums
+sha256 bb0c0eeae85492ebfa03442b7784d4c42a623e15346df54ae85f55df972a82af LICENSE.txt
diff --git a/package/python-aiohttp/python-aiohttp.mk b/package/python-aiohttp/python-aiohttp.mk
new file mode 100644
index 0000000000..df8bdfb4b2
--- /dev/null
+++ b/package/python-aiohttp/python-aiohttp.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-aiohttp
+#
+################################################################################
+
+PYTHON_AIOHTTP_VERSION = 3.4.4
+PYTHON_AIOHTTP_SOURCE = aiohttp-$(PYTHON_AIOHTTP_VERSION).tar.gz
+PYTHON_AIOHTTP_SITE = https://files.pythonhosted.org/packages/70/27/6098b4b60a3302a97f8ec97eb85d42f55a2fa904da4a369235a8e3b84352
+PYTHON_AIOHTTP_SETUP_TYPE = setuptools
+PYTHON_AIOHTTP_LICENSE = Apache-2.0
+PYTHON_AIOHTTP_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))