pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-cachelib py-cachelib: updated to 0.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9d7da04e273
branches:  trunk
changeset: 459066:b9d7da04e273
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 29 09:38:52 2021 +0000

description:
py-cachelib: updated to 0.3.0

Version 0.3.0
-------------
-   Optimize ``FileSystemCache`` pruning.
-   Fix a bug in ``FileSystemCache`` where entries would not be removed
    when the total was over the threshold, and the entry count would be
    lost.
-   ``FileSystemCache`` logs system-related exceptions.
-   Removal of expired entries in ``FileSystemCache`` is only triggered
    if the number of entries is over the ``threshhold`` when calling
    ``set``. ``get`` ``has`` still return ``None`` and ``False``
    respectively for expired entries, but will not remove the files. All
    removals happen at pruning time or explicitly with ``clear`` and
    ``delete``.

diffstat:

 devel/py-cachelib/Makefile |   4 ++--
 devel/py-cachelib/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 75ce8743d07a -r b9d7da04e273 devel/py-cachelib/Makefile
--- a/devel/py-cachelib/Makefile        Wed Sep 29 09:38:06 2021 +0000
+++ b/devel/py-cachelib/Makefile        Wed Sep 29 09:38:52 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2021/08/05 13:23:15 adam Exp $
+# $NetBSD: Makefile,v 1.4 2021/09/29 09:38:52 adam Exp $
 
-DISTNAME=      cachelib-0.2.0
+DISTNAME=      cachelib-0.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cachelib/}
diff -r 75ce8743d07a -r b9d7da04e273 devel/py-cachelib/distinfo
--- a/devel/py-cachelib/distinfo        Wed Sep 29 09:38:06 2021 +0000
+++ b/devel/py-cachelib/distinfo        Wed Sep 29 09:38:52 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/08/05 13:23:15 adam Exp $
+$NetBSD: distinfo,v 1.4 2021/09/29 09:38:52 adam Exp $
 
-SHA1 (cachelib-0.2.0.tar.gz) = c87284891169534770c52b482c9ec427baa9b980
-RMD160 (cachelib-0.2.0.tar.gz) = 69b80fa9a406c25ef4c2f1806a3137a19d47bd39
-SHA512 (cachelib-0.2.0.tar.gz) = 4011d9ead4fe27a54508355eba46e91a924ce30ef3d7cdc5a2049f7e0e48f924b64d65f203aebcf9a8729f956b6edde4160cdb7edfa7e63293e2853b94bd6601
-Size (cachelib-0.2.0.tar.gz) = 17735 bytes
+SHA1 (cachelib-0.3.0.tar.gz) = 0ebbc695a401e653f0001ea5cf83daa78118529f
+RMD160 (cachelib-0.3.0.tar.gz) = 6d4042cc817f2620bc00b52796b20c4733282f93
+SHA512 (cachelib-0.3.0.tar.gz) = f9184cf9702c2df77e09d28d6feb8e6f0bc22f17c110a2371e76c4b78163950803e4f013c3746e21b9ac5771f72238ecd8bb041c5a7f44eab6bcb4de6e2ea377
+Size (cachelib-0.3.0.tar.gz) = 18340 bytes



Home | Main Index | Thread Index | Old Index