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:           Thu Aug  5 13:23:15 UTC 2021

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-cachelib/Makefile \
    pkgsrc/devel/py-cachelib/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-cachelib/PLIST

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.2 pkgsrc/devel/py-cachelib/Makefile:1.3
--- pkgsrc/devel/py-cachelib/Makefile:1.2       Wed Jun  9 20:22:13 2021
+++ pkgsrc/devel/py-cachelib/Makefile   Thu Aug  5 13:23:15 2021
@@ -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 @@ HOMEPAGE=    https://github.com/pallets/cac
 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"
Index: pkgsrc/devel/py-cachelib/distinfo
diff -u pkgsrc/devel/py-cachelib/distinfo:1.2 pkgsrc/devel/py-cachelib/distinfo:1.3
--- pkgsrc/devel/py-cachelib/distinfo:1.2       Wed Jun  9 20:22:13 2021
+++ pkgsrc/devel/py-cachelib/distinfo   Thu Aug  5 13:23:15 2021
@@ -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

Index: pkgsrc/devel/py-cachelib/PLIST
diff -u pkgsrc/devel/py-cachelib/PLIST:1.1 pkgsrc/devel/py-cachelib/PLIST:1.2
--- pkgsrc/devel/py-cachelib/PLIST:1.1  Thu Feb 25 14:59:15 2021
+++ pkgsrc/devel/py-cachelib/PLIST      Thu Aug  5 13:23:15 2021
@@ -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



Home | Main Index | Thread Index | Old Index