diff options
Diffstat (limited to 'python-django-cacheops.spec')
-rw-r--r-- | python-django-cacheops.spec | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/python-django-cacheops.spec b/python-django-cacheops.spec index a8a080d..afc5224 100644 --- a/python-django-cacheops.spec +++ b/python-django-cacheops.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-django-cacheops -Version: 6.2 +Version: 7.0 Release: 1 Summary: A slick ORM cache with automatic granular event-driven invalidation for Django. License: BSD URL: http://github.com/Suor/django-cacheops -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/17/56/997d73970d7a226b5a2982471f8c5ab822fbe05ea1bb694c6c5f099c8131/django-cacheops-6.2.tar.gz +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2a/76/0b849548671faaaf2a925a61129f09589e8962e7a648dcaaf9e130de5e34/django-cacheops-7.0.tar.gz BuildArch: noarch @@ -22,7 +22,7 @@ And there is more to it: - a couple of hacks to make django faster Requirements ++++++++++++ -Python 3.5+, Django 2.1+ and Redis 4.0+. +Python 3.7+, Django 3.2+ and Redis 4.0+. Installation ++++++++++++ Using pip: @@ -56,8 +56,7 @@ Setup redis connection and enable caching for desired models: 'socket_timeout': 0.1, # connection timeout in seconds, optional 'db': 0 # redis database, default: 0 } - # To use your own redis client class, - # should be compatible or subclass cacheops.redis.CacheopsRedis + # Use your own redis client class, should be compatible or subclass redis.StrictRedis CACHEOPS_CLIENT_CLASS = 'your.redis.ClientClass' CACHEOPS = { # Automatically cache any User.objects.get() calls for 15 minutes @@ -256,7 +255,7 @@ And there is more to it: - a couple of hacks to make django faster Requirements ++++++++++++ -Python 3.5+, Django 2.1+ and Redis 4.0+. +Python 3.7+, Django 3.2+ and Redis 4.0+. Installation ++++++++++++ Using pip: @@ -290,8 +289,7 @@ Setup redis connection and enable caching for desired models: 'socket_timeout': 0.1, # connection timeout in seconds, optional 'db': 0 # redis database, default: 0 } - # To use your own redis client class, - # should be compatible or subclass cacheops.redis.CacheopsRedis + # Use your own redis client class, should be compatible or subclass redis.StrictRedis CACHEOPS_CLIENT_CLASS = 'your.redis.ClientClass' CACHEOPS = { # Automatically cache any User.objects.get() calls for 15 minutes @@ -487,7 +485,7 @@ And there is more to it: - a couple of hacks to make django faster Requirements ++++++++++++ -Python 3.5+, Django 2.1+ and Redis 4.0+. +Python 3.7+, Django 3.2+ and Redis 4.0+. Installation ++++++++++++ Using pip: @@ -521,8 +519,7 @@ Setup redis connection and enable caching for desired models: 'socket_timeout': 0.1, # connection timeout in seconds, optional 'db': 0 # redis database, default: 0 } - # To use your own redis client class, - # should be compatible or subclass cacheops.redis.CacheopsRedis + # Use your own redis client class, should be compatible or subclass redis.StrictRedis CACHEOPS_CLIENT_CLASS = 'your.redis.ClientClass' CACHEOPS = { # Automatically cache any User.objects.get() calls for 15 minutes @@ -703,7 +700,7 @@ Components ++++++++++ %prep -%autosetup -n django-cacheops-6.2 +%autosetup -n django-cacheops-7.0 %build %py3_build @@ -743,5 +740,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 6.2-1 +* Fri Apr 07 2023 Python_Bot <Python_Bot@openeuler.org> - 7.0-1 - Package Spec generated |