svn commit: r499311 - in head/www: . py-django-cacheops
Kai Knoblich
kai at FreeBSD.org
Thu Apr 18 19:42:41 UTC 2019
Author: kai
Date: Thu Apr 18 19:42:39 2019
New Revision: 499311
URL: https://svnweb.freebsd.org/changeset/ports/499311
Log:
New port: www/py-django-cacheops
A slick app that supports automatic or manual queryset caching and automatic
granular event-driven invalidation.
It uses redis as backend for ORM cache and redis or filesystem for simple
time-invalidated one.
And there is more to it:
* Decorators to cache any user function or view as a queryset or by time
* Extensions for django and jinja2 templates
* Transparent transaction support
* Dog-pile prevention mechanism
* A couple of hacks to make django faster
WWW: https://github.com/Suor/django-cacheops
Approved by: mentors (implicit)
Added:
head/www/py-django-cacheops/
head/www/py-django-cacheops/Makefile (contents, props changed)
head/www/py-django-cacheops/distinfo (contents, props changed)
head/www/py-django-cacheops/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Thu Apr 18 19:37:00 2019 (r499310)
+++ head/www/Makefile Thu Apr 18 19:42:39 2019 (r499311)
@@ -1533,6 +1533,7 @@
SUBDIR += py-django-bootstrap3
SUBDIR += py-django-braces
SUBDIR += py-django-bulk-update
+ SUBDIR += py-django-cacheops
SUBDIR += py-django-caching-app-plugins
SUBDIR += py-django-classy-tags
SUBDIR += py-django-cms
Added: head/www/py-django-cacheops/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-django-cacheops/Makefile Thu Apr 18 19:42:39 2019 (r499311)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= django-cacheops
+PORTVERSION= 4.1
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= kai at FreeBSD.org
+COMMENT= Slick ORM cache with automatic granular event-driven invalidation
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}redis>=2.9.1:databases/py-redis@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}funcy>=1.8:devel/py-funcy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/www/py-django-cacheops/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-django-cacheops/distinfo Thu Apr 18 19:42:39 2019 (r499311)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1555579412
+SHA256 (django-cacheops-4.1.tar.gz) = 2a5cd01ad64f565d0ad18bf103c96988ccdf7d245601dedd8ef52f9ef63e0727
+SIZE (django-cacheops-4.1.tar.gz) = 53766
Added: head/www/py-django-cacheops/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-django-cacheops/pkg-descr Thu Apr 18 19:42:39 2019 (r499311)
@@ -0,0 +1,15 @@
+A slick app that supports automatic or manual queryset caching and automatic
+granular event-driven invalidation.
+
+It uses redis as backend for ORM cache and redis or filesystem for simple
+time-invalidated one.
+
+And there is more to it:
+
+* Decorators to cache any user function or view as a queryset or by time
+* Extensions for django and jinja2 templates
+* Transparent transaction support
+* Dog-pile prevention mechanism
+* A couple of hacks to make django faster
+
+WWW: https://github.com/Suor/django-cacheops
More information about the svn-ports-head
mailing list