pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: adam
Date: Sat Aug 26 14:10:39 UTC 2023
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-async-lru: DESCR Makefile PLIST distinfo
Log Message:
py-async-lru: added version 2.0.4
This package is a port of Python's built-in functools.lru_cache function for
asyncio. To better handle async behaviour, it also ensures multiple concurrent
calls will only result in 1 call to the wrapped function, with all awaits
receiving the result of that call when it completes.
To generate a diff of this commit:
cvs rdiff -u -r1.4053 -r1.4054 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-async-lru/DESCR \
pkgsrc/devel/py-async-lru/Makefile pkgsrc/devel/py-async-lru/PLIST \
pkgsrc/devel/py-async-lru/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4053 pkgsrc/devel/Makefile:1.4054
--- pkgsrc/devel/Makefile:1.4053 Sat Aug 26 09:30:00 2023
+++ pkgsrc/devel/Makefile Sat Aug 26 14:10:39 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4053 2023/08/26 09:30:00 adam Exp $
+# $NetBSD: Makefile,v 1.4054 2023/08/26 14:10:39 adam Exp $
#
COMMENT= Development utilities
@@ -2378,6 +2378,7 @@ SUBDIR+= py-args
SUBDIR+= py-astor
SUBDIR+= py-astroid
SUBDIR+= py-astunparse
+SUBDIR+= py-async-lru
SUBDIR+= py-async-timeout
SUBDIR+= py-async_generator
SUBDIR+= py-at-spi
Added files:
Index: pkgsrc/devel/py-async-lru/DESCR
diff -u /dev/null pkgsrc/devel/py-async-lru/DESCR:1.1
--- /dev/null Sat Aug 26 14:10:39 2023
+++ pkgsrc/devel/py-async-lru/DESCR Sat Aug 26 14:10:39 2023
@@ -0,0 +1,4 @@
+This package is a port of Python's built-in functools.lru_cache function for
+asyncio. To better handle async behaviour, it also ensures multiple concurrent
+calls will only result in 1 call to the wrapped function, with all awaits
+receiving the result of that call when it completes.
Index: pkgsrc/devel/py-async-lru/Makefile
diff -u /dev/null pkgsrc/devel/py-async-lru/Makefile:1.1
--- /dev/null Sat Aug 26 14:10:39 2023
+++ pkgsrc/devel/py-async-lru/Makefile Sat Aug 26 14:10:39 2023
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2023/08/26 14:10:39 adam Exp $
+
+DISTNAME= async-lru-2.0.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=a/async-lru/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/aio-libs/async-lru
+COMMENT= Simple LRU cache for asyncio
+LICENSE= mit
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 311
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.0.0:../../devel/py-typing-extensions
+.endif
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-async-lru/PLIST
diff -u /dev/null pkgsrc/devel/py-async-lru/PLIST:1.1
--- /dev/null Sat Aug 26 14:10:39 2023
+++ pkgsrc/devel/py-async-lru/PLIST Sat Aug 26 14:10:39 2023
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2023/08/26 14:10:39 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/async_lru/__init__.py
+${PYSITELIB}/async_lru/__init__.pyc
+${PYSITELIB}/async_lru/__init__.pyo
+${PYSITELIB}/async_lru/py.typed
Index: pkgsrc/devel/py-async-lru/distinfo
diff -u /dev/null pkgsrc/devel/py-async-lru/distinfo:1.1
--- /dev/null Sat Aug 26 14:10:39 2023
+++ pkgsrc/devel/py-async-lru/distinfo Sat Aug 26 14:10:39 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/08/26 14:10:39 adam Exp $
+
+BLAKE2s (async-lru-2.0.4.tar.gz) = 795c76225eeb262acc30cb70cf38164d57b3a17321a04762aa5ba68e87495668
+SHA512 (async-lru-2.0.4.tar.gz) = f659fe8fdcec310f0070ffee5eabbc92c50b9d987d0b221e119a6cc67710f4c704ba3447518170e408f32b598abcf8e94fcaec9c9111120947126f26d5f021c6
+Size (async-lru-2.0.4.tar.gz) = 10019 bytes
Home |
Main Index |
Thread Index |
Old Index