aboutsummaryrefslogblamecommitdiff
path: root/www/py-django-redis/Makefile
blob: 2888ff5e172560c8c5dfe24b5dbc5650006ebe0a (plain) (tree)
1
2
3
4
5
6
7
8
9


                            
                     



                                       
                                


                                                                    
                                 
 


                                                                       

                                                                            

                                                                                
 

                                   
                   
 


                                                        
                      
# $FreeBSD$

PORTNAME=	django-redis
PORTVERSION=	4.8.0
CATEGORIES=	www databases
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	rene@FreeBSD.org
COMMENT=	Full featured Redis cache/session backend for Django

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django18>=1.8:www/py-django18 \
		${PYTHON_PKGNAMEPREFIX}redis>=2.10.0:databases/py-redis

TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fakeredis>=0:databases/py-fakeredis \
		${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis \
		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock \
		${PYTHON_PKGNAMEPREFIX}msgpack-python>=0:devel/py-msgpack-python

USES=		python
USE_PYTHON=	distutils autoplist
NO_ARCH=	yes

do-test: build
	@cd ${WRKSRC}/tests && ${PYTHON_CMD} runtests.py

.include <bsd.port.mk>