pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-flask-caching



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jan 19 22:11:47 UTC 2024

Modified Files:
        pkgsrc/www/py-flask-caching: Makefile PLIST distinfo

Log Message:
py-flask-caching: updated to 2.1.0

Version 2.1.0

fix type signature in flask_caching.utils.make_template_fragment_key.
Added docs and example for make_cache_key
support Flask 3

Version 2.0.2

fix issue with boto3 dependencie due to latest cachelib released
migrate flask_caching.backends.RedisCluster dependency from redis-py-cluster to redis-py
bug fix: make the make_cache_key attributed of decorated view functions writeable.

Version 2.0.1

Relax dependency pin to allow Flask 2.x.x

Version 2.0.0

fix bug where flask_caching.backends.RedisSentinelCache.get_many would query wrong host&port combination.
Remove flask_caching.backends.FileSystemCache method overrides. It now shares 100% of cachelib.FileSystemCache API and is fully compatible. Functionality relient on implementation details of said 
overrides from older releases might not work anymore.
Add proxy to underlaying has method of cache clients.
flask_caching.backends.FileSystemCache now stores timestamps in a universal (non-frammed) way following the lastest version of cachelib.FileSystemCache. The change also reduces overhead from 17 bytes 
(via previous method using pickle) to 4 bytes (using python's struct). This, however, will break compatibily since older timestamps are serialized with a different strategy.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-flask-caching/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/py-flask-caching/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/py-flask-caching/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-flask-caching/Makefile
diff -u pkgsrc/www/py-flask-caching/Makefile:1.10 pkgsrc/www/py-flask-caching/Makefile:1.11
--- pkgsrc/www/py-flask-caching/Makefile:1.10   Mon May  2 19:02:25 2022
+++ pkgsrc/www/py-flask-caching/Makefile        Fri Jan 19 22:11:47 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2022/05/02 19:02:25 adam Exp $
+# $NetBSD: Makefile,v 1.11 2024/01/19 22:11:47 adam Exp $
 
-DISTNAME=      Flask-Caching-1.10.1
+DISTNAME=      Flask-Caching-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Flask-Caching/}
@@ -10,17 +10,19 @@ HOMEPAGE=   https://github.com/sh4nks/flas
 COMMENT=       Caching support to your Flask application
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-cachelib>=0.9.0:../../devel/py-cachelib
 DEPENDS+=      ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
+TEST_DEPENDS+= ${PYPKGPREFIX}-asgiref-[0-9]*:../../www/py-asgiref
 TEST_DEPENDS+= ${PYPKGPREFIX}-libmc-[0-9]*:../../devel/py-libmc
 TEST_DEPENDS+= ${PYPKGPREFIX}-redis-[0-9]*:../../databases/py-redis
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xprocess-[0-9]*:../../devel/py-test-xprocess
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 # since 1.8.0
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-flask-caching/PLIST
diff -u pkgsrc/www/py-flask-caching/PLIST:1.7 pkgsrc/www/py-flask-caching/PLIST:1.8
--- pkgsrc/www/py-flask-caching/PLIST:1.7       Mon May  2 19:02:25 2022
+++ pkgsrc/www/py-flask-caching/PLIST   Fri Jan 19 22:11:47 2024
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.7 2022/05/02 19:02:25 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}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.8 2024/01/19 22:11:47 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/flask_caching/__init__.py
 ${PYSITELIB}/flask_caching/__init__.pyc
 ${PYSITELIB}/flask_caching/__init__.pyo
@@ -44,3 +43,7 @@ ${PYSITELIB}/flask_caching/contrib/uwsgi
 ${PYSITELIB}/flask_caching/jinja2ext.py
 ${PYSITELIB}/flask_caching/jinja2ext.pyc
 ${PYSITELIB}/flask_caching/jinja2ext.pyo
+${PYSITELIB}/flask_caching/py.typed
+${PYSITELIB}/flask_caching/utils.py
+${PYSITELIB}/flask_caching/utils.pyc
+${PYSITELIB}/flask_caching/utils.pyo

Index: pkgsrc/www/py-flask-caching/distinfo
diff -u pkgsrc/www/py-flask-caching/distinfo:1.11 pkgsrc/www/py-flask-caching/distinfo:1.12
--- pkgsrc/www/py-flask-caching/distinfo:1.11   Mon May  2 19:02:25 2022
+++ pkgsrc/www/py-flask-caching/distinfo        Fri Jan 19 22:11:47 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2022/05/02 19:02:25 adam Exp $
+$NetBSD: distinfo,v 1.12 2024/01/19 22:11:47 adam Exp $
 
-BLAKE2s (Flask-Caching-1.10.1.tar.gz) = d5504d8e8996c7399e7c10f9bd65c43328e18a5d3a88cfaf46046d617a468b4c
-SHA512 (Flask-Caching-1.10.1.tar.gz) = 387e4028eab59f45b4c85bf40b4b0d9d1f0f58c2825a212842ae4951f197d6dcf671442a4403518d20fd9807718d1cb1a326cf887a39b72688a8f8b8f1b6cd78
-Size (Flask-Caching-1.10.1.tar.gz) = 76850 bytes
+BLAKE2s (Flask-Caching-2.1.0.tar.gz) = 6c6c8131c126d4e008b33834b938ad5ec3f0f62c627b8ae1205058dc0c6ff735
+SHA512 (Flask-Caching-2.1.0.tar.gz) = 72a070d804377c950c790b543766ed9f33be997e96ed857432473e4355f6cd4552ad6b0816dfc810089d8a0e89460d24f211cc29a563829b68433c69d402d794
+Size (Flask-Caching-2.1.0.tar.gz) = 67277 bytes



Home | Main Index | Thread Index | Old Index