Index: Makefile =================================================================== --- Makefile (nonexistent) +++ Makefile (working copy) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= django-redis +PORTVERSION= 4.10.0 +PORTREVISION= 1 +CATEGORIES= www databases +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj22- + +MAINTAINER= alex@xanderio.de +COMMENT= Full featured Redis cache/session backend for Django + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}redis>=2.10.0:databases/py-redis@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fakeredis>=0:databases/py-fakeredis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC}/tests && ${PYTHON_CMD} runtests.py + +.include Index: distinfo =================================================================== --- distinfo (nonexistent) +++ distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1547928909 +SHA256 (django-redis-4.10.0.tar.gz) = af0b393864e91228dd30d8c85b5c44d670b5524cb161b7f9e41acc98b6e5ace7 +SIZE (django-redis-4.10.0.tar.gz) = 59208 Index: pkg-descr =================================================================== --- pkg-descr (nonexistent) +++ pkg-descr (working copy) @@ -0,0 +1,17 @@ +Django-redis is a BSD Licensed, full featured Redis cache/session +backend for Django. + +Why use django-redis? + + * Modular client system (pluggable clients). + * Master-Slave support in the default client. + * Used in production in several projects as cache and session storage. + * Supports infinite timeouts. + * Python 3 support in same code base. + * Facilities for raw access to Redis client/connection pool. + * Highly configurable (can emulate memcached exception behavior, for + example). + * Unix sockets supported by default. + * Pluggable parsers. + +WWW: https://github.com/niwinz/django-redis