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.7.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/583a3fa7a778
branches: trunk
changeset: 316777:583a3fa7a778
user: adam <adam%pkgsrc.org@localhost>
date: Tue Dec 18 11:24:45 2018 +0000
description:
py-dogpile-cache: updated to 0.7.1
0.7.1
[bug] [region] Fixed regression in 0.7.0 caused by 136 where the assumed arguments for the CacheRegion.async_creation_runner expanded to include the new CacheRegion.get_or_create.creator_args
parameter, as it was not tested that the async runner would be implicitly called with these arguments when the CacheRegion.cache_on_arguments() decorator was used. The exact signature of
async_creation_runner is now restored to have the same arguments in all cases.
0.7.0
[bug] The decorator module is now used when creating function decorators within CacheRegion.cache_on_arguments() and CacheRegion.cache_multi_on_arguments() so that function signatures are preserved.
Pull request courtesy ankitpatel96.
Additionally adds a small performance enhancement which is to avoid internally creating a @wraps() decorator for the creator function on every get operation, by allowing the arguments to the creator
be passed separately to CacheRegion.get_or_create().
[bug] [py3k] Fixed all Python 3.x deprecation warnings including inspect.getargspec()
diffstat:
devel/py-dogpile-cache/Makefile | 5 +++--
devel/py-dogpile-cache/PLIST | 3 ++-
devel/py-dogpile-cache/distinfo | 10 +++++-----
3 files changed, 10 insertions(+), 8 deletions(-)
diffs (50 lines):
diff -r 5bb27f52944b -r 583a3fa7a778 devel/py-dogpile-cache/Makefile
--- a/devel/py-dogpile-cache/Makefile Tue Dec 18 10:22:29 2018 +0000
+++ b/devel/py-dogpile-cache/Makefile Tue Dec 18 11:24:45 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2018/08/18 21:06:24 adam Exp $
+# $NetBSD: Makefile,v 1.4 2018/12/18 11:24:45 adam Exp $
-DISTNAME= dogpile.cache-0.6.7
+DISTNAME= dogpile.cache-0.7.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/./-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/dogpile.cache/}
@@ -10,6 +10,7 @@
COMMENT= Caching front-end based on the Dogpile lock
LICENSE= modified-bsd
+DEPENDS+= ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
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
diff -r 5bb27f52944b -r 583a3fa7a778 devel/py-dogpile-cache/PLIST
--- a/devel/py-dogpile-cache/PLIST Tue Dec 18 10:22:29 2018 +0000
+++ b/devel/py-dogpile-cache/PLIST Tue Dec 18 11:24:45 2018 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/14 13:53:25 leot Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/12/18 11:24:45 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/dogpile/__init__.py
${PYSITELIB}/dogpile/__init__.pyc
diff -r 5bb27f52944b -r 583a3fa7a778 devel/py-dogpile-cache/distinfo
--- a/devel/py-dogpile-cache/distinfo Tue Dec 18 10:22:29 2018 +0000
+++ b/devel/py-dogpile-cache/distinfo Tue Dec 18 11:24:45 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2018/08/18 21:06:24 adam Exp $
+$NetBSD: distinfo,v 1.4 2018/12/18 11:24:45 adam Exp $
-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
+SHA1 (dogpile.cache-0.7.1.tar.gz) = cdd519726d91b9f663f8da0594ee847209c525a0
+RMD160 (dogpile.cache-0.7.1.tar.gz) = 89ef16eee45fc8d9b61470ed7ce6732e601515a2
+SHA512 (dogpile.cache-0.7.1.tar.gz) = 39c0a1d3d5027bc61cc69eda46c846c72d09892b2de0ea2e9545b1f710911dce8726b4ee4a0daef0d3c409a16733920d437f6e833a5b3f55ccc80267bb0da39c
+Size (dogpile.cache-0.7.1.tar.gz) = 326127 bytes
Home |
Main Index |
Thread Index |
Old Index