1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Add py-dj22-django-redis 4.10.0 (copied from py-django-redis)

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-12-28 06:55:15 +00:00
parent 692ba71286
commit 9a8acc2d6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521044
4 changed files with 51 additions and 0 deletions

View File

@ -1482,6 +1482,7 @@
SUBDIR += py-dj22-django-model-utils
SUBDIR += py-dj22-django-mptt
SUBDIR += py-dj22-django-prometheus
SUBDIR += py-dj22-django-redis
SUBDIR += py-dj22-django-tables2
SUBDIR += py-dj22-django-taggit
SUBDIR += py-dj22-django-taggit-serializer

View File

@ -0,0 +1,30 @@
# $FreeBSD$
PORTNAME= django-redis
PORTVERSION= 4.10.0
CATEGORIES= www databases
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj22-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Full featured Redis cache/session backend for Django
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11: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:3.5+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
do-test:
@cd ${WRKSRC}/tests && ${PYTHON_CMD} runtests.py
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1547928909
SHA256 (django-redis-4.10.0.tar.gz) = af0b393864e91228dd30d8c85b5c44d670b5524cb161b7f9e41acc98b6e5ace7
SIZE (django-redis-4.10.0.tar.gz) = 59208

View File

@ -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