Wed Nov 16 14:01:30 2022 UTC ()
py-cachelib: updated to 0.9.0

Version 0.9.0
-------------
- Add separate internal read/write clients to ``RedisCache`` to improve compatibility with flask-caching.
- Fix bug where cache entries would expire immediately when ``RedisCache.add``
  was called without timeout.
- Improve ``FileSystemCache.set`` compatibility with Windows systems.

Version 0.8.0
-------------
- Remove deprecated ``RedisCache.load_object`` and ``RedisCache.dump_object``.

Version 0.7.0
-------------
- ``FileSystemCache`` now stores universal expiration timestamps using python's ``struct`` module.
- Drop support for Python 3.6.


(adam)
diff -r1.7 -r1.8 pkgsrc/devel/py-cachelib/Makefile
diff -r1.8 -r1.9 pkgsrc/devel/py-cachelib/distinfo

cvs diff -r1.7 -r1.8 pkgsrc/devel/py-cachelib/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-cachelib/Makefile 2022/04/26 18:36:40 1.7
+++ pkgsrc/devel/py-cachelib/Makefile 2022/11/16 14:01:30 1.8
@@ -1,25 +1,26 @@ @@ -1,25 +1,26 @@
1# $NetBSD: Makefile,v 1.7 2022/04/26 18:36:40 adam Exp $ 1# $NetBSD: Makefile,v 1.8 2022/11/16 14:01:30 adam Exp $
2 2
3DISTNAME= cachelib-0.6.0 3DISTNAME= cachelib-0.9.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=c/cachelib/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=c/cachelib/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/pallets/cachelib 9HOMEPAGE= https://github.com/pallets/cachelib
10COMMENT= Collection of cache libraries in the same API interface 10COMMENT= Collection of cache libraries in the same API interface
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13TEST_DEPENDS+= ${PYPKGPREFIX}-redis>=3.5.3:../../databases/py-redis 13TEST_DEPENDS+= ${PYPKGPREFIX}-redis>=3.5.3:../../databases/py-redis
14TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2.4:../../devel/py-test 14TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2.4:../../devel/py-test
15TEST_DEPENDS+= ${PYPKGPREFIX}-test-xprocess>=0.17.1:../../devel/py-test-xprocess 15TEST_DEPENDS+= ${PYPKGPREFIX}-test-xprocess>=0.17.1:../../devel/py-test-xprocess
16TEST_DEPENDS+= ${PYPKGPREFIX}-uwsgi>=2.0.19.1:../../www/py-uwsgi 16TEST_DEPENDS+= ${PYPKGPREFIX}-uwsgi>=2.0.19.1:../../www/py-uwsgi
17 17
18USE_LANGUAGES= # none 18USE_LANGUAGES= # none
19 19
20PYSETUPTESTTARGET= pytest 
21 
22PYTHON_VERSIONS_INCOMPATIBLE= 27 20PYTHON_VERSIONS_INCOMPATIBLE= 27
23 21
 22do-test:
 23 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 24
24.include "../../lang/python/egg.mk" 25.include "../../lang/python/egg.mk"
25.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.8 -r1.9 pkgsrc/devel/py-cachelib/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-cachelib/distinfo 2022/04/26 18:36:40 1.8
+++ pkgsrc/devel/py-cachelib/distinfo 2022/11/16 14:01:30 1.9
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.8 2022/04/26 18:36:40 adam Exp $ 1$NetBSD: distinfo,v 1.9 2022/11/16 14:01:30 adam Exp $
2 2
3BLAKE2s (cachelib-0.6.0.tar.gz) = 255da6a42f2f73aa31a02f998944be4f7b241132e8f95727c313ed6acf523c71 3BLAKE2s (cachelib-0.9.0.tar.gz) = 82572416182b0467bca8cc86664c840b9d17da997b3f0f968b5eff9c1e744b20
4SHA512 (cachelib-0.6.0.tar.gz) = a828b6a9e425efcfbae46c148f1f56fd6f4df2ce37ed72b90fc4c3ea9edec1273aa2f2e1f9ad59fad30d1b8e37d6794176b85a7b5afb2b65264bd992dfc5c4f6 4SHA512 (cachelib-0.9.0.tar.gz) = 33f1dc99bcd993107f27b0cbc99a703fa41a7e46cd4ebf851b8e6f6a8d78e973db68b71f0f64a8455ec7e2995bda9f3e6c569c5f1522fe7269a8299b83ecc510
5Size (cachelib-0.6.0.tar.gz) = 21842 bytes 5Size (cachelib-0.9.0.tar.gz) = 21007 bytes