package/python-async-lru: new package
authorJames Hilliard <james.hilliard1@gmail.com>
Wed, 11 Dec 2019 02:24:11 +0000 (19:24 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 14 Dec 2019 21:10:16 +0000 (22:10 +0100)
Simple lru_cache for asyncio.

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

index d2e9d9e1c6450fed599f78271b986c9b2c61c2d6..5fa4015fdbff8a1c1c869c2e079a8f4d30041f93 100644 (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/
index bcd7f68466f75654d384121293aec804e4ba2ede..96957ef8fdc881a98ba066d27cdda5d182a2b330 100644 (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"
diff --git a/package/python-async-lru/Config.in b/package/python-async-lru/Config.in
new file mode 100644 (file)
index 0000000..794f504
--- /dev/null
@@ -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
diff --git a/package/python-async-lru/python-async-lru.hash b/package/python-async-lru/python-async-lru.hash
new file mode 100644 (file)
index 0000000..6fa61e0
--- /dev/null
@@ -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
diff --git a/package/python-async-lru/python-async-lru.mk b/package/python-async-lru/python-async-lru.mk
new file mode 100644 (file)
index 0000000..adaa8f6
--- /dev/null
@@ -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))