git: 378064ea8446 - main - devel/py-async-lru: Add py-async-lru 1.0.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Oct 2022 15:38:53 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=378064ea844682f60c3f2611e272090f73567a40

commit 378064ea844682f60c3f2611e272090f73567a40
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-09 15:19:06 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-09 15:37:43 +0000

    devel/py-async-lru: Add py-async-lru 1.0.3
    
    async_lru is 100% port of Python built-in function functools.lru_cache for
    asyncio.
---
 devel/Makefile               |  1 +
 devel/py-async-lru/Makefile  | 19 +++++++++++++++++++
 devel/py-async-lru/distinfo  |  3 +++
 devel/py-async-lru/pkg-descr |  2 ++
 4 files changed, 25 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 0370c74b9f90..6408a48bd647 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4164,6 +4164,7 @@
     SUBDIR += py-astroid253
     SUBDIR += py-asttokens
     SUBDIR += py-astunparse
+    SUBDIR += py-async-lru
     SUBDIR += py-async_generator
     SUBDIR += py-async_timeout
     SUBDIR += py-asynctest
diff --git a/devel/py-async-lru/Makefile b/devel/py-async-lru/Makefile
new file mode 100644
index 000000000000..48406dfb27fa
--- /dev/null
+++ b/devel/py-async-lru/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	async-lru
+PORTVERSION=	1.0.3
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Simple lru_cache for asyncio
+WWW=		https://github.com/aio-libs/async-lru
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-async-lru/distinfo b/devel/py-async-lru/distinfo
new file mode 100644
index 000000000000..543c41003551
--- /dev/null
+++ b/devel/py-async-lru/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1665073068
+SHA256 (async-lru-1.0.3.tar.gz) = c2cb9b2915eb14e6cf3e717154b40f715bf90e596d73623677affd0d1fbcd32a
+SIZE (async-lru-1.0.3.tar.gz) = 4861
diff --git a/devel/py-async-lru/pkg-descr b/devel/py-async-lru/pkg-descr
new file mode 100644
index 000000000000..f4ab5e108b83
--- /dev/null
+++ b/devel/py-async-lru/pkg-descr
@@ -0,0 +1,2 @@
+async_lru is 100% port of Python built-in function functools.lru_cache for
+asyncio.