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.diff -r1.2 -r1.3 pkgsrc/devel/py-cachelib/Makefile
(adam)
@@ -1,16 +1,25 @@ | @@ -1,16 +1,25 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2021/06/09 20:22:13 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2021/08/05 13:23:15 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= cachelib-0.1.1 | 3 | DISTNAME= cachelib-0.2.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=c/cachelib/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=c/cachelib/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/pallets/cachelib | 9 | HOMEPAGE= https://github.com/pallets/cachelib | |
10 | COMMENT= Collection of cache libraries in the same API interface | 10 | COMMENT= Collection of cache libraries in the same API interface | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | TEST_DEPENDS+= ${PYPKGPREFIX}-redis>=3.5.3:../../databases/py-redis | |||
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2.4:../../devel/py-test | |||
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-xprocess>=0.17.1:../../devel/py-test-xprocess | |||
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-uwsgi>=2.0.19.1:../../www/py-uwsgi | |||
17 | ||||
13 | USE_LANGUAGES= # none | 18 | USE_LANGUAGES= # none | |
14 | 19 | |||
20 | PYSETUPTESTTARGET= pytest | |||
21 | ||||
22 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
23 | ||||
15 | .include "../../lang/python/egg.mk" | 24 | .include "../../lang/python/egg.mk" | |
16 | .include "../../mk/bsd.pkg.mk" | 25 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2021/06/09 20:22:13 adam Exp $ | 1 | $NetBSD: distinfo,v 1.3 2021/08/05 13:23:15 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (cachelib-0.1.1.tar.gz) = 02175a586b13f978f160697c26505cd1af558512 | 3 | SHA1 (cachelib-0.2.0.tar.gz) = c87284891169534770c52b482c9ec427baa9b980 | |
4 | RMD160 (cachelib-0.1.1.tar.gz) = 853477722db4002358a736f3853a7f98a5d8ff88 | 4 | RMD160 (cachelib-0.2.0.tar.gz) = 69b80fa9a406c25ef4c2f1806a3137a19d47bd39 | |
5 | SHA512 (cachelib-0.1.1.tar.gz) = 865dba727427907227b021ecc5962738c85fb74f898acfe1612e48247ada9eda3eddb72c3c29c700fe4275ed699accc5af9526afbaf0dfbfb3a1a1a6370cc3d6 | 5 | SHA512 (cachelib-0.2.0.tar.gz) = 4011d9ead4fe27a54508355eba46e91a924ce30ef3d7cdc5a2049f7e0e48f924b64d65f203aebcf9a8729f956b6edde4160cdb7edfa7e63293e2853b94bd6601 | |
6 | Size (cachelib-0.1.1.tar.gz) = 10192 bytes | 6 | Size (cachelib-0.2.0.tar.gz) = 17735 bytes |
@@ -1,25 +1,21 @@ | @@ -1,25 +1,21 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2021/02/25 14:59:15 khorben Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2021/08/05 13:23:15 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | |||
6 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
7 | ${PYSITELIB}/cachelib/__init__.py | 6 | ${PYSITELIB}/cachelib/__init__.py | |
8 | ${PYSITELIB}/cachelib/__init__.pyc | 7 | ${PYSITELIB}/cachelib/__init__.pyc | |
9 | ${PYSITELIB}/cachelib/__init__.pyo | 8 | ${PYSITELIB}/cachelib/__init__.pyo | |
10 | ${PYSITELIB}/cachelib/_compat.py | |||
11 | ${PYSITELIB}/cachelib/_compat.pyc | |||
12 | ${PYSITELIB}/cachelib/_compat.pyo | |||
13 | ${PYSITELIB}/cachelib/base.py | 9 | ${PYSITELIB}/cachelib/base.py | |
14 | ${PYSITELIB}/cachelib/base.pyc | 10 | ${PYSITELIB}/cachelib/base.pyc | |
15 | ${PYSITELIB}/cachelib/base.pyo | 11 | ${PYSITELIB}/cachelib/base.pyo | |
16 | ${PYSITELIB}/cachelib/file.py | 12 | ${PYSITELIB}/cachelib/file.py | |
17 | ${PYSITELIB}/cachelib/file.pyc | 13 | ${PYSITELIB}/cachelib/file.pyc | |
18 | ${PYSITELIB}/cachelib/file.pyo | 14 | ${PYSITELIB}/cachelib/file.pyo | |
19 | ${PYSITELIB}/cachelib/memcached.py | 15 | ${PYSITELIB}/cachelib/memcached.py | |
20 | ${PYSITELIB}/cachelib/memcached.pyc | 16 | ${PYSITELIB}/cachelib/memcached.pyc | |
21 | ${PYSITELIB}/cachelib/memcached.pyo | 17 | ${PYSITELIB}/cachelib/memcached.pyo | |
22 | ${PYSITELIB}/cachelib/redis.py | 18 | ${PYSITELIB}/cachelib/redis.py | |
23 | ${PYSITELIB}/cachelib/redis.pyc | 19 | ${PYSITELIB}/cachelib/redis.pyc | |
24 | ${PYSITELIB}/cachelib/redis.pyo | 20 | ${PYSITELIB}/cachelib/redis.pyo | |
25 | ${PYSITELIB}/cachelib/simple.py | 21 | ${PYSITELIB}/cachelib/simple.py |