pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-cachelib



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Nov 16 14:01:30 UTC 2022

Modified Files:
        pkgsrc/devel/py-cachelib: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-cachelib/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-cachelib/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-cachelib/Makefile
diff -u pkgsrc/devel/py-cachelib/Makefile:1.7 pkgsrc/devel/py-cachelib/Makefile:1.8
--- pkgsrc/devel/py-cachelib/Makefile:1.7       Tue Apr 26 18:36:40 2022
+++ pkgsrc/devel/py-cachelib/Makefile   Wed Nov 16 14:01:30 2022
@@ -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 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-uwsgi>=2.0
 
 USE_LANGUAGES= # none
 
-PYSETUPTESTTARGET=     pytest
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-cachelib/distinfo
diff -u pkgsrc/devel/py-cachelib/distinfo:1.8 pkgsrc/devel/py-cachelib/distinfo:1.9
--- pkgsrc/devel/py-cachelib/distinfo:1.8       Tue Apr 26 18:36:40 2022
+++ pkgsrc/devel/py-cachelib/distinfo   Wed Nov 16 14:01:30 2022
@@ -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