pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-dogpile-cache



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Dec 18 11:24:45 UTC 2018

Modified Files:
        pkgsrc/devel/py-dogpile-cache: Makefile PLIST distinfo

Log Message:
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()


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-dogpile-cache/Makefile \
    pkgsrc/devel/py-dogpile-cache/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-dogpile-cache/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-dogpile-cache/Makefile
diff -u pkgsrc/devel/py-dogpile-cache/Makefile:1.3 pkgsrc/devel/py-dogpile-cache/Makefile:1.4
--- pkgsrc/devel/py-dogpile-cache/Makefile:1.3  Sat Aug 18 21:06:24 2018
+++ pkgsrc/devel/py-dogpile-cache/Makefile      Tue Dec 18 11:24:45 2018
@@ -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 @@ HOMEPAGE=     https://bitbucket.org/zzzeek/d
 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
Index: pkgsrc/devel/py-dogpile-cache/distinfo
diff -u pkgsrc/devel/py-dogpile-cache/distinfo:1.3 pkgsrc/devel/py-dogpile-cache/distinfo:1.4
--- pkgsrc/devel/py-dogpile-cache/distinfo:1.3  Sat Aug 18 21:06:24 2018
+++ pkgsrc/devel/py-dogpile-cache/distinfo      Tue Dec 18 11:24:45 2018
@@ -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

Index: pkgsrc/devel/py-dogpile-cache/PLIST
diff -u pkgsrc/devel/py-dogpile-cache/PLIST:1.1 pkgsrc/devel/py-dogpile-cache/PLIST:1.2
--- pkgsrc/devel/py-dogpile-cache/PLIST:1.1     Fri Apr 14 13:53:25 2017
+++ pkgsrc/devel/py-dogpile-cache/PLIST Tue Dec 18 11:24:45 2018
@@ -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



Home | Main Index | Thread Index | Old Index