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>
This commit is contained in:
parent
45708b0dbe
commit
ce697dbdcc
|
@ -988,6 +988,7 @@ F: configs/pine64_sopine_defconfig
|
|||
|
||||
N: James Hilliard <james.hilliard1@gmail.com>
|
||||
F: package/python-aiodns/
|
||||
F: package/python-aiohttp/
|
||||
F: package/python-async-timeout/
|
||||
F: package/python-cchardet/
|
||||
F: package/python-multidict/
|
||||
|
|
|
@ -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"
|
||||
|
|
14
package/python-aiohttp/Config.in
Normal file
14
package/python-aiohttp/Config.in
Normal file
|
@ -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
|
5
package/python-aiohttp/python-aiohttp.hash
Normal file
5
package/python-aiohttp/python-aiohttp.hash
Normal file
|
@ -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
|
14
package/python-aiohttp/python-aiohttp.mk
Normal file
14
package/python-aiohttp/python-aiohttp.mk
Normal file
|
@ -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))
|
Loading…
Reference in a new issue