head 1.11; access; symbols pkgsrc-2023Q4:1.10.0.14 pkgsrc-2023Q4-base:1.10 pkgsrc-2023Q3:1.10.0.12 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.10.0.10 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.10.0.8 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.6 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.4 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.2 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.9.0.2 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.8.0.8 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.6 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.4 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.2 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.7.0.4 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.2 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.6.0.4 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.2 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.5.0.8 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.4 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.2 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.2.0.2 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.1.0.2 pkgsrc-2018Q4-base:1.1; locks; strict; comment @# @; 1.11 date 2024.01.19.22.11.47; author adam; state Exp; branches; next 1.10; commitid q2dMF9aNfwAMO6VE; 1.10 date 2022.05.02.19.02.25; author adam; state Exp; branches; next 1.9; commitid hGtWCfqQ2bDwVvCD; 1.9 date 2022.01.04.20.55.25; author wiz; state Exp; branches; next 1.8; commitid CYyhdK9qtoffkmnD; 1.8 date 2021.03.08.20.09.38; author adam; state Exp; branches; next 1.7; commitid 2Mk4YL6Y6mwvNxKC; 1.7 date 2020.06.29.16.13.01; author adam; state Exp; branches; next 1.6; commitid SsnPQwh6sWpCA8eC; 1.6 date 2020.03.21.08.55.14; author adam; state Exp; branches; next 1.5; commitid bQ8qOgqWLBUEnf1C; 1.5 date 2019.05.29.20.40.56; author adam; state Exp; branches; next 1.4; commitid SQiPiqFt92GIP8pB; 1.4 date 2019.05.07.08.07.01; author adam; state Exp; branches; next 1.3; commitid qq8TRbVgRzpTmfmB; 1.3 date 2019.04.09.08.42.19; author adam; state Exp; branches; next 1.2; commitid XQDhF6pN6upMsEiB; 1.2 date 2019.02.25.08.49.12; author adam; state Exp; branches; next 1.1; commitid WAgm7cswEHHQS7dB; 1.1 date 2018.12.14.10.44.40; author adam; state Exp; branches; next ; commitid g7YR0M8M5qJWRK3B; desc @@ 1.11 log @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. @ text @# $NetBSD: Makefile,v 1.10 2022/05/02 19:02:25 adam Exp $ DISTNAME= Flask-Caching-2.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask-Caching/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/sh4nks/flask-caching 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-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 .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.10 log @py-flask-caching: updated to 1.10.1 Version 1.10.1 -------------- - A ``GoogleCloudStorageCache`` backend has been added to the user contributed caching backends. - Fix a regression introduced in the last release which broke all applications subclassing the ``Cache`` class. - Add test_generic_get_bytes test case. - Various improvements and fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2022/01/04 20:55:25 wiz Exp $ d3 1 a3 1 DISTNAME= Flask-Caching-1.10.1 d13 3 d17 1 d20 1 a20 3 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 d25 1 a25 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 # since 1.8.0 d27 1 a27 1 .include "../../lang/python/egg.mk" @ 1.9 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2021/03/08 20:09:38 adam Exp $ d3 1 a3 1 DISTNAME= Flask-Caching-1.10.0 a4 1 PKGREVISION= 1 @ 1.8 log @py-flask-caching: updated to 1.10.0 Version 1.10.0 -------------- - **Important**: The way caching backends are loaded have been refactored. Instead of passing the name of the initialization function one can now use the full path to the caching backend class. For example: ``CACHE_TYPE="flask_caching.backends.SimpleCache"``. In the next major release (2.0), this will be the only supported way. - UWSGICache is not officially supported anymore and moved to the user contributed backends. - Switch from Travis-CI to GitHub Actions - Fix add() in RedisCache without a timeout. - Fix error in how the FileSystemCache counts the number of files. - Type Annotations have been added. - Add some basic logging to SimpleCache and FileSystemCache for better observability. - Add option in memoize to ignore args - Stop marking wheels as Python 2 compatible. - Fix ``default_timeout`` not being properly passed to its super constructor. - Fix ``kwargs`` not being passed on in function ``_memoize_make_cache_key``. - Add a Redis Cluster Mode caching backend. - Do not let PIP install this package on unsupported Python Versions. - Fix uWSGI initialization by checking if uWSGI has the 'cache2' option enabled. - Documentation updates and fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2020/06/29 16:13:01 adam Exp $ d5 1 @ 1.7 log @py-flask-caching: updated to 1.9.0 Version 1.9.0 - Add an option to include the functions source code when generating the cache key. - Add an feature that allows one to completely control the way how cache keys are generating. For example, one can now implement a function that generates cache the keys based on the POST-based requests. - Fix the cache backend naming collisions by renaming them from ``simple`` to ``simplecache``, ``null`` to ``nullcache`` and ``filesystem`` to ``filesystemcache``. - Explicitly pass the ``default_timeout`` to ``RedisCache`` from ``RedisSentinelCache``. - Use ``os.replace`` instead of werkzeug's ``rename`` due to Windows raising an ``OSError`` if the dst file already exist. - Documentation updates and fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2020/03/21 08:55:14 adam Exp $ d3 1 a3 1 DISTNAME= Flask-Caching-1.9.0 @ 1.6 log @py-flask-caching: updated to 1.8.0 Version 1.8.0 - **BREAKING:** Removed support for Python 2. Python 3.5 and upwards are supported as of now. - Add option to specify if ``None`` is a cached value or not. - Allow to use ``__caching_id__`` rather than ``__repr__`` as an object caching key. - The RedisCache backend now support generating the key_prefix via a callable. - Emit a warning if the ``CACHE_TYPE`` is set to ``filesystem`` but no ``CACHE_DIR`` is set. - Fixes Google App Engine Memcache backend. - Various documentation updates and fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2019/05/29 20:40:56 adam Exp $ d3 1 a3 1 DISTNAME= Flask-Caching-1.8.0 @ 1.5 log @py-flask-caching: updated to 1.7.2 Version 1.7.2: - Do not run a cached/memoized function if the cached return value is None. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2019/05/07 08:07:01 adam Exp $ d3 1 a3 1 DISTNAME= Flask-Caching-1.7.2 d15 1 d23 2 @ 1.4 log @py-flask-caching: updated to 1.7.1 Version 1.7.1: - Fix introspecting Python 3 functions by using varkw. - Remove leftover files (uwsgi.py) in PyPI package. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2019/04/09 08:42:19 adam Exp $ d3 1 a3 1 DISTNAME= Flask-Caching-1.7.1 @ 1.3 log @py-flask-caching: updated to 1.7.0 Version 1.7.0: **This is the last version supporting Python 2!** - Added a feature called 'response_filter' which enables one to only cache views depending on the response code. - A DeprecationWarning got turned into a TypeError. Version 1.6.0: - The delete_many function is now able to ignore any errors and continue deleting the cache. However, in order to preserve backwards compatibility, the default mode is to abort the deletion process. In order to use the new deletion mode, one has to flip the config setting CACHE_IGNORE_ERRORS to True. This was and still is only relevant for the **filesystem** and **simple** cache backends. - Re-added the gaememcached CACHE_TYPE for improved backwards compatibility. - Documentation improvements @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2019/02/25 08:49:12 adam Exp $ d3 1 a3 1 DISTNAME= Flask-Caching-1.7.0 @ 1.2 log @py-flask-caching: updated to 1.5.0 Version 1.5.0: - Add support for a Redis Sentinel Cluster. - Parameterize the hash function so alternatives can be used. - Include the deprecated werkzeug.contrib.cache module in Flask-Caching. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2018/12/14 10:44:40 adam Exp $ d3 1 a3 1 DISTNAME= Flask-Caching-1.5.0 d14 1 d16 1 @ 1.1 log @py-flask-caching: added version 1.4.0 This is a fork of the Flask-Cache extension. Adds easy cache support to Flask. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= Flask-Caching-1.4.0 d15 2 a16 1 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov @