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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9789d19eb7d
branches:  trunk
changeset: 388300:c9789d19eb7d
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 16 14:01:30 2022 +0000

description:
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.

diffstat:

 devel/py-cachelib/Makefile |  9 +++++----
 devel/py-cachelib/distinfo |  8 ++++----
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r 88706cd96cb6 -r c9789d19eb7d devel/py-cachelib/Makefile
--- a/devel/py-cachelib/Makefile        Wed Nov 16 13:55:36 2022 +0000
+++ b/devel/py-cachelib/Makefile        Wed Nov 16 14:01:30 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2022/04/26 18:36:40 adam Exp $
+# $NetBSD: Makefile,v 1.8 2022/11/16 14:01:30 adam Exp $
 
-DISTNAME=      cachelib-0.6.0
+DISTNAME=      cachelib-0.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cachelib/}
@@ -17,9 +17,10 @@
 
 USE_LANGUAGES= # none
 
-PYSETUPTESTTARGET=     pytest
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 88706cd96cb6 -r c9789d19eb7d devel/py-cachelib/distinfo
--- a/devel/py-cachelib/distinfo        Wed Nov 16 13:55:36 2022 +0000
+++ b/devel/py-cachelib/distinfo        Wed Nov 16 14:01:30 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2022/04/26 18:36:40 adam Exp $
+$NetBSD: distinfo,v 1.9 2022/11/16 14:01:30 adam Exp $
 
-BLAKE2s (cachelib-0.6.0.tar.gz) = 255da6a42f2f73aa31a02f998944be4f7b241132e8f95727c313ed6acf523c71
-SHA512 (cachelib-0.6.0.tar.gz) = a828b6a9e425efcfbae46c148f1f56fd6f4df2ce37ed72b90fc4c3ea9edec1273aa2f2e1f9ad59fad30d1b8e37d6794176b85a7b5afb2b65264bd992dfc5c4f6
-Size (cachelib-0.6.0.tar.gz) = 21842 bytes
+BLAKE2s (cachelib-0.9.0.tar.gz) = 82572416182b0467bca8cc86664c840b9d17da997b3f0f968b5eff9c1e744b20
+SHA512 (cachelib-0.9.0.tar.gz) = 33f1dc99bcd993107f27b0cbc99a703fa41a7e46cd4ebf851b8e6f6a8d78e973db68b71f0f64a8455ec7e2995bda9f3e6c569c5f1522fe7269a8299b83ecc510
+Size (cachelib-0.9.0.tar.gz) = 21007 bytes



Home | Main Index | Thread Index | Old Index