pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-dogpile-cache py-dogpile-cache: updated to 0.6.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3353d166bf14
branches:  trunk
changeset: 311802:3353d166bf14
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Aug 18 21:06:24 2018 +0000

description:
py-dogpile-cache: updated to 0.6.7

0.6.7:
[bug] Fixed issue in the CacheRegion.get_or_create_multi() method which was erroneously considering the cached value as the timestamp field if the CacheRegion.invalidate() method had ben used, 
usually causing a TypeError to occur, or in less frequent cases an invalid result for whether or not the cached value was invalid, leading to excessive caching or regeneration. The issue was a 
regression caused by an implementation issue in the pluggable invalidation feature added in 38.

0.6.6:
[feature] Added method CacheRegion.actual_backend which calculates and caches the actual backend for the region, which may be abstracted by the use of one or more ProxyBackend subclasses.
[bug] Fixed a condition in the Lock where the ?get? function could be called a second time unnecessarily, when returning an existing, expired value from the cache.

0.6.5:
[bug] Fixed import issue for Python 3.7 where several variables named ?async? were, leading to syntax errors. Pull request courtesy Brian Sheldon.

diffstat:

 devel/py-dogpile-cache/Makefile |  11 ++++++++---
 devel/py-dogpile-cache/distinfo |  10 +++++-----
 2 files changed, 13 insertions(+), 8 deletions(-)

diffs (42 lines):

diff -r a80b8ff51d09 -r 3353d166bf14 devel/py-dogpile-cache/Makefile
--- a/devel/py-dogpile-cache/Makefile   Sat Aug 18 20:57:30 2018 +0000
+++ b/devel/py-dogpile-cache/Makefile   Sat Aug 18 21:06:24 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2017/09/17 13:39:11 adam Exp $
+# $NetBSD: Makefile,v 1.3 2018/08/18 21:06:24 adam Exp $
 
-DISTNAME=      dogpile.cache-0.6.4
+DISTNAME=      dogpile.cache-0.6.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/./-/}
-CATEGORIES=    devel
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/dogpile.cache/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,6 +10,11 @@
 COMMENT=       Caching front-end based on the Dogpile lock
 LICENSE=       modified-bsd
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
diff -r a80b8ff51d09 -r 3353d166bf14 devel/py-dogpile-cache/distinfo
--- a/devel/py-dogpile-cache/distinfo   Sat Aug 18 20:57:30 2018 +0000
+++ b/devel/py-dogpile-cache/distinfo   Sat Aug 18 21:06:24 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2017/09/17 13:39:11 adam Exp $
+$NetBSD: distinfo,v 1.3 2018/08/18 21:06:24 adam Exp $
 
-SHA1 (dogpile.cache-0.6.4.tar.gz) = 437ecf8f6ac7bd03d54c2067f065fba1727617a7
-RMD160 (dogpile.cache-0.6.4.tar.gz) = 73dd2ae9d9dce936849eb21441ef35b1d7f5ae71
-SHA512 (dogpile.cache-0.6.4.tar.gz) = 0e86ed6aacbfbbbefdc3622ac956679c4986c77989daa3c3e845d4b8dbbf7945b4d0764789f03540b2ff59712e2ee86c8283cc3ee8d9e950f9ef1772db7ea137
-Size (dogpile.cache-0.6.4.tar.gz) = 315533 bytes
+SHA1 (dogpile.cache-0.6.7.tar.gz) = 1f424bdc37ffcc7fe734b52d21bd46e93ffaed3b
+RMD160 (dogpile.cache-0.6.7.tar.gz) = 4868fcbf39795757ec732af2522721b92299266a
+SHA512 (dogpile.cache-0.6.7.tar.gz) = fbe01c635b2d58cdda61df8597643775c09d56d432e1cd658a8288e761c992f0b58991120f7f77ef5dea68f93271c6c412651326449bdac8a7f37f767b49e85c
+Size (dogpile.cache-0.6.7.tar.gz) = 323220 bytes



Home | Main Index | Thread Index | Old Index