pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-async-timeout



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov 23 20:45:01 UTC 2021

Modified Files:
        pkgsrc/devel/py-async-timeout: Makefile PLIST distinfo

Log Message:
py-async-timeout: updated to 4.0.1

4.0.1 (2121-11-10)

Fix regression:

Don't raise TimeoutError from timeout object that doesn't enter into async context manager
Use call_soon() for raising TimeoutError if deadline is reached on entering into async context manager

Make Timeout class available in __all__.

4.0.0 (2021-11-01)

Implemented timeout_at(deadline)
Supported timeout.deadline and timeout.expired properties.
Dropped timeout.remaining property: it can be calculated as timeout.deadline - loop.time()
Dropped timeout.timeout property that returns a relative timeout based on the timeout object creation time; the absolute timeout.deadline should be used instead.
Added the deadline modification methods: timeout.reject(), timeout.shift(delay), timeout.update(deadline).
Deprecated synchronous context manager usage


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-async-timeout/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-async-timeout/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-async-timeout/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/py-async-timeout/Makefile
diff -u pkgsrc/devel/py-async-timeout/Makefile:1.10 pkgsrc/devel/py-async-timeout/Makefile:1.11
--- pkgsrc/devel/py-async-timeout/Makefile:1.10 Fri Apr 26 13:13:50 2019
+++ pkgsrc/devel/py-async-timeout/Makefile      Tue Nov 23 20:45:01 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2019/04/26 13:13:50 maya Exp $
+# $NetBSD: Makefile,v 1.11 2021/11/23 20:45:01 adam Exp $
 
-DISTNAME=      async-timeout-3.0.1
+DISTNAME=      async-timeout-4.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/async-timeout/}
@@ -10,11 +10,17 @@ HOMEPAGE=   https://github.com/aio-libs/as
 COMMENT=       Timeout context manager for asyncio programs
 LICENSE=       apache-2.0
 
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.6.5:../../devel/py-typing-extensions
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/pyversion.mk"
+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-timeout/PLIST
diff -u pkgsrc/devel/py-async-timeout/PLIST:1.2 pkgsrc/devel/py-async-timeout/PLIST:1.3
--- pkgsrc/devel/py-async-timeout/PLIST:1.2     Tue May  8 04:48:49 2018
+++ pkgsrc/devel/py-async-timeout/PLIST Tue Nov 23 20:45:01 2021
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2018/05/08 04:48:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/11/23 20:45:01 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}/${EGG_INFODIR}/zip-safe
 ${PYSITELIB}/async_timeout/__init__.py
 ${PYSITELIB}/async_timeout/__init__.pyc
 ${PYSITELIB}/async_timeout/__init__.pyo

Index: pkgsrc/devel/py-async-timeout/distinfo
diff -u pkgsrc/devel/py-async-timeout/distinfo:1.9 pkgsrc/devel/py-async-timeout/distinfo:1.10
--- pkgsrc/devel/py-async-timeout/distinfo:1.9  Tue Oct 26 10:18:11 2021
+++ pkgsrc/devel/py-async-timeout/distinfo      Tue Nov 23 20:45:01 2021
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 10:18:11 nia Exp $
+$NetBSD: distinfo,v 1.10 2021/11/23 20:45:01 adam Exp $
 
-BLAKE2s (async-timeout-3.0.1.tar.gz) = c24b723d407031a6742f7cbd1900c0ddc6a5e952e08cbece8c583dc9e4ebc236
-SHA512 (async-timeout-3.0.1.tar.gz) = fd30842671a79edfd52c7350e7fb2120533a6d97b44975f7b071ce2cbde43443bd5bbe1f2ad0ad3ab2156e1987b9e58e0c149b0ecfea8674eb0cb78eee79c986
-Size (async-timeout-3.0.1.tar.gz) = 9724 bytes
+BLAKE2s (async-timeout-4.0.1.tar.gz) = b8ea97426e8139592c76f1a3f834800b24f2c0152467eb9f37588213440b4d94
+SHA512 (async-timeout-4.0.1.tar.gz) = 24a72daf9e0737d0be351a35ff28242dea735bed33f06d9865a71983b1341693c80856c0668d6a485bccc8cf7b9adde33fa904e94bf4730e4a678216e572d119
+Size (async-timeout-4.0.1.tar.gz) = 8030 bytes



Home | Main Index | Thread Index | Old Index