2012-12-10 03:35:15 +01:00
|
|
|
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
|
2011-03-18 03:53:46 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= redis
|
2013-06-16 11:10:19 +02:00
|
|
|
PORTVERSION= 2.7.6
|
2011-03-18 03:53:46 +01:00
|
|
|
CATEGORIES= databases python
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2013-02-09 15:50:27 +01:00
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
2011-03-18 03:53:46 +01:00
|
|
|
COMMENT= Python client for Redis key-value store
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
|
2012-12-10 03:35:15 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= andymccurdy
|
|
|
|
GH_PROJECT= ${PORTNAME}-py
|
2013-06-16 11:10:19 +02:00
|
|
|
GH_COMMIT= a6302d9
|
2013-04-28 23:57:02 +02:00
|
|
|
|
2012-11-28 04:35:05 +01:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= HIREDIS
|
|
|
|
HIREDIS_DESC= Add py-hiredis C extension support
|
2013-04-28 23:57:02 +02:00
|
|
|
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
|
2012-11-28 04:35:05 +01:00
|
|
|
|
2013-09-20 18:13:47 +02:00
|
|
|
NO_STAGE= yes
|
2012-11-28 04:35:05 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MHIREDIS}
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}hiredis>0:${PORTSDIR}/databases/py-hiredis
|
|
|
|
.endif
|
2011-03-18 03:53:46 +01:00
|
|
|
|
2013-04-28 23:57:02 +02:00
|
|
|
regression-test: build
|
|
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
|
|
|
|
2011-03-18 03:53:46 +01:00
|
|
|
.include <bsd.port.mk>
|