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.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97e80b83dfa0
branches:  trunk
changeset: 456673:97e80b83dfa0
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Aug 05 13:23:15 2021 +0000

description:
py-cachelib: updated to 0.2.0

Version 0.2.0

Support for Python 2 has been dropped. Only Python 3.6 and above are supported.
Fix FileSystemCache.set incorrectly considering value overrides on existing keys as new cache entries.
SimpleCache and FileSystemCache first remove expired entries, followed by older entries, when cleaning up.
Fix problem where file count was not being updated in FileSystemCache.get and FileSystemCache.has after removals.
When attempting to access non-existent entries with Memcached, these will now be initialized with a given value delta.

diffstat:

 devel/py-cachelib/Makefile |  13 +++++++++++--
 devel/py-cachelib/PLIST    |   6 +-----
 devel/py-cachelib/distinfo |  10 +++++-----
 3 files changed, 17 insertions(+), 12 deletions(-)

diffs (64 lines):

diff -r 21125cb61352 -r 97e80b83dfa0 devel/py-cachelib/Makefile
--- a/devel/py-cachelib/Makefile        Thu Aug 05 13:22:30 2021 +0000
+++ b/devel/py-cachelib/Makefile        Thu Aug 05 13:23:15 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2021/06/09 20:22:13 adam Exp $
+# $NetBSD: Makefile,v 1.3 2021/08/05 13:23:15 adam Exp $
 
-DISTNAME=      cachelib-0.1.1
+DISTNAME=      cachelib-0.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cachelib/}
@@ -10,7 +10,16 @@
 COMMENT=       Collection of cache libraries in the same API interface
 LICENSE=       modified-bsd
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-redis>=3.5.3:../../databases/py-redis
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2.4:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xprocess>=0.17.1:../../devel/py-test-xprocess
+TEST_DEPENDS+= ${PYPKGPREFIX}-uwsgi>=2.0.19.1:../../www/py-uwsgi
+
 USE_LANGUAGES= # none
 
+PYSETUPTESTTARGET=     pytest
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 21125cb61352 -r 97e80b83dfa0 devel/py-cachelib/PLIST
--- a/devel/py-cachelib/PLIST   Thu Aug 05 13:22:30 2021 +0000
+++ b/devel/py-cachelib/PLIST   Thu Aug 05 13:23:15 2021 +0000
@@ -1,15 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2021/02/25 14:59:15 khorben Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/08/05 13:23:15 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/cachelib/__init__.py
 ${PYSITELIB}/cachelib/__init__.pyc
 ${PYSITELIB}/cachelib/__init__.pyo
-${PYSITELIB}/cachelib/_compat.py
-${PYSITELIB}/cachelib/_compat.pyc
-${PYSITELIB}/cachelib/_compat.pyo
 ${PYSITELIB}/cachelib/base.py
 ${PYSITELIB}/cachelib/base.pyc
 ${PYSITELIB}/cachelib/base.pyo
diff -r 21125cb61352 -r 97e80b83dfa0 devel/py-cachelib/distinfo
--- a/devel/py-cachelib/distinfo        Thu Aug 05 13:22:30 2021 +0000
+++ b/devel/py-cachelib/distinfo        Thu Aug 05 13:23:15 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2021/06/09 20:22:13 adam Exp $
+$NetBSD: distinfo,v 1.3 2021/08/05 13:23:15 adam Exp $
 
-SHA1 (cachelib-0.1.1.tar.gz) = 02175a586b13f978f160697c26505cd1af558512
-RMD160 (cachelib-0.1.1.tar.gz) = 853477722db4002358a736f3853a7f98a5d8ff88
-SHA512 (cachelib-0.1.1.tar.gz) = 865dba727427907227b021ecc5962738c85fb74f898acfe1612e48247ada9eda3eddb72c3c29c700fe4275ed699accc5af9526afbaf0dfbfb3a1a1a6370cc3d6
-Size (cachelib-0.1.1.tar.gz) = 10192 bytes
+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



Home | Main Index | Thread Index | Old Index