summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-08-18 21:06:24 +0000
committeradam <adam@pkgsrc.org>2018-08-18 21:06:24 +0000
commit3d9a6408cc13e6743dd8c877f6fadbb9ef244d4c (patch)
treeaf58b861651cdcb52b45b811814cd7a27ca40fca /devel
parent554486a3b153dfa42cb4544c719b2a22ee6df7f7 (diff)
downloadpkgsrc-3d9a6408cc13e6743dd8c877f6fadbb9ef244d4c.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/py-dogpile-cache/Makefile11
-rw-r--r--devel/py-dogpile-cache/distinfo10
2 files changed, 13 insertions, 8 deletions
diff --git a/devel/py-dogpile-cache/Makefile b/devel/py-dogpile-cache/Makefile
index a7c4c6f651d..c292b31f096 100644
--- a/devel/py-dogpile-cache/Makefile
+++ b/devel/py-dogpile-cache/Makefile
@@ -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
@@ -10,6 +10,11 @@ HOMEPAGE= https://bitbucket.org/zzzeek/dogpile.cache
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 --git a/devel/py-dogpile-cache/distinfo b/devel/py-dogpile-cache/distinfo
index f63835cf504..e4d50b625e7 100644
--- a/devel/py-dogpile-cache/distinfo
+++ b/devel/py-dogpile-cache/distinfo
@@ -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