package/python-async-lru: new package

Simple lru_cache for asyncio.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2019-12-10 19:24:11 -07:00 committed by Thomas Petazzoni
parent 53deade5d9
commit 2fec6cfcd5
5 changed files with 28 additions and 0 deletions

View File

@ -1143,6 +1143,7 @@ F: package/python-aiologstash/
F: package/python-aiomonitor/
F: package/python-aiojobs/
F: package/python-aiorwlock/
F: package/python-async-lru/
F: package/python-async-timeout/
F: package/python-brotli/
F: package/python-cchardet/

View File

@ -843,6 +843,7 @@ menu "External python modules"
source "package/python-arrow/Config.in"
source "package/python-asgiref/Config.in"
source "package/python-asn1crypto/Config.in"
source "package/python-async-lru/Config.in"
source "package/python-async-timeout/Config.in"
source "package/python-attrs/Config.in"
source "package/python-autobahn/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_ASYNC_LRU
bool "python-async-lru"
depends on BR2_PACKAGE_PYTHON3
help
Simple lru_cache for asyncio.
https://github.com/aio-libs/async_lru

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/async_lru/json
md5 69bed62927426353513e68aec77989ab async_lru-1.0.2.tar.gz
sha256 baa898027619f5cc31b7966f96f00e4fc0df43ba206a8940a5d1af5336a477cb async_lru-1.0.2.tar.gz
# Locally computed sha256 checksums
sha256 ea65975679bc2093be925d520358e41096bd96fddedee3e929160a5faadcf573 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-async-lru
#
################################################################################
PYTHON_ASYNC_LRU_VERSION = 1.0.2
PYTHON_ASYNC_LRU_SOURCE = async_lru-$(PYTHON_ASYNC_LRU_VERSION).tar.gz
PYTHON_ASYNC_LRU_SITE = https://files.pythonhosted.org/packages/7e/c1/a3d6207deaaeb582d16dc9a0fd217f192efc9487ce59897131cf9a2bdc1c
PYTHON_ASYNC_LRU_SETUP_TYPE = setuptools
PYTHON_ASYNC_LRU_LICENSE = MIT
PYTHON_ASYNC_LRU_LICENSE_FILES = LICENSE
$(eval $(python-package))