pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-tenacity



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May  7 19:25:36 UTC 2024

Modified Files:
        pkgsrc/devel/py-tenacity: Makefile PLIST distinfo

Log Message:
py-tenacity: updated to 8.3.0

8.3.0

New Features

Added a new stop function: stop_before_delay, which will stop execution if the next sleep time would cause overall delay to exceed the specified delay. Useful for use cases where you have some upper 
bound on retry times that you must not exceed, so returning before that timeout is preferable than returning after that timeout.

Bug Fixes

Preserve defaults and kwdefaults through retry decorator

Other Notes

Add a "test" extra


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-tenacity/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-tenacity/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-tenacity/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-tenacity/Makefile
diff -u pkgsrc/devel/py-tenacity/Makefile:1.7 pkgsrc/devel/py-tenacity/Makefile:1.8
--- pkgsrc/devel/py-tenacity/Makefile:1.7       Fri Aug 25 12:16:31 2023
+++ pkgsrc/devel/py-tenacity/Makefile   Tue May  7 19:25:35 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2023/08/25 12:16:31 adam Exp $
+# $NetBSD: Makefile,v 1.8 2024/05/07 19:25:35 adam Exp $
 
-DISTNAME=      tenacity-8.2.3
+DISTNAME=      tenacity-8.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tenacity/}
@@ -10,7 +10,9 @@ HOMEPAGE=     https://github.com/jd/tenacity
 COMMENT=       Retry code until it succeeds
 LICENSE=       apache-2.0
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 TEST_DEPENDS+= ${PYPKGPREFIX}-tornado>=4.5:../../www/py-tornado
 TEST_DEPENDS+= ${PYPKGPREFIX}-typeguard-[0-9]*:../../devel/py-typeguard
 
@@ -21,5 +23,5 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-tenacity/PLIST
diff -u pkgsrc/devel/py-tenacity/PLIST:1.3 pkgsrc/devel/py-tenacity/PLIST:1.4
--- pkgsrc/devel/py-tenacity/PLIST:1.3  Mon Oct 10 10:18:55 2022
+++ pkgsrc/devel/py-tenacity/PLIST      Tue May  7 19:25:35 2024
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2022/10/10 10:18:55 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
+@comment $NetBSD: PLIST,v 1.4 2024/05/07 19:25:35 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/tenacity/__init__.py
 ${PYSITELIB}/tenacity/__init__.pyc
 ${PYSITELIB}/tenacity/__init__.pyo

Index: pkgsrc/devel/py-tenacity/distinfo
diff -u pkgsrc/devel/py-tenacity/distinfo:1.8 pkgsrc/devel/py-tenacity/distinfo:1.9
--- pkgsrc/devel/py-tenacity/distinfo:1.8       Fri Aug 25 12:16:31 2023
+++ pkgsrc/devel/py-tenacity/distinfo   Tue May  7 19:25:35 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2023/08/25 12:16:31 adam Exp $
+$NetBSD: distinfo,v 1.9 2024/05/07 19:25:35 adam Exp $
 
-BLAKE2s (tenacity-8.2.3.tar.gz) = 196e9bfa1ff267aba296f3c0e8cce2504a37a3963f1b9d8c8854988989654724
-SHA512 (tenacity-8.2.3.tar.gz) = c1e82867c0be8a0a38d05ecee04568c3c4eebff85d8c1b90713e3ca953197da7a857d8dc20083afc4fa4b92cc5e43a8aabe8022bc104394acbe6a0aba7602613
-Size (tenacity-8.2.3.tar.gz) = 40651 bytes
+BLAKE2s (tenacity-8.3.0.tar.gz) = 4fec57593ae34d69b828c175036116b56b7586a02c88b8740a067656fdc63f60
+SHA512 (tenacity-8.3.0.tar.gz) = 46152ffacc0a87931cec09bd90eed3d2ad46f89101997c5da2aa510844c814b887a83805b4ec0de6a56759a7f2bcbab0cb2b2f1a4e6c11860ae53f64ff2a4c31
+Size (tenacity-8.3.0.tar.gz) = 43608 bytes



Home | Main Index | Thread Index | Old Index