freebsd-ports/databases/py-redis/Makefile
Kubilay Kocak 1eabed7529 databases/py-redis: Update to 2.8.0
- Update to 2.8.0
- Enable STAGE support
- Enable AUTOPLIST and delete pkg-plist accordingly
- Tweak HIREDIS option description

Changes:

 * redis-py should play better with gevent when a gevent Timeout is
   raised.
 * Added SENTINEL command.
 * Fixed a bug where pipelines could potentially correct a connection
   if the MULTI command generated a ResponseError.
 * Connections now call socket.shutdown() prior to socket.close() to
   ensure communication ends immediately per the note at
   http://docs.python.org/2/library/socket.html#socket.socket.close
 * Lock checks are now based on floats rather than ints.
2013-11-30 14:54:53 +00:00

36 lines
812 B
Makefile

# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$
PORTNAME= redis
PORTVERSION= 2.8.0
CATEGORIES= databases python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python client for Redis key-value store
LICENSE= MIT
USE_GITHUB= yes
GH_ACCOUNT= andymccurdy
GH_PROJECT= ${PORTNAME}-py
GH_COMMIT= 678f353
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_AUTOPLIST= yes
OPTIONS_DEFINE= HIREDIS
HIREDIS_DESC= High performance response parser (via hiredis)
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MHIREDIS}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}hiredis>0:${PORTSDIR}/databases/py-hiredis
.endif
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.mk>