From f8ca67cd95ec371301ac2d5a3a6ab3b3411ed333 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 7 Apr 2023 04:51:56 +0000 Subject: automatic import of python-django-cacheops --- .gitignore | 1 + python-django-cacheops.spec | 23 ++++++++++------------- sources | 2 +- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 423da25..e465c2d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /django-cacheops-6.2.tar.gz +/django-cacheops-7.0.tar.gz 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 - 6.2-1 +* Fri Apr 07 2023 Python_Bot - 7.0-1 - Package Spec generated diff --git a/sources b/sources index 2668be7..f910c86 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -080ae536ebb8112582eefee82838d0d3 django-cacheops-6.2.tar.gz +225fb9b972f7162b3c58fb21a3171763 django-cacheops-7.0.tar.gz -- cgit v1.2.3