mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
01020d179e
- Update to 2.7.6 - Update setup.py patch Changes: * 2.7.6 * Added CONFIG RESETSTAT command. Thanks Yossi Gottlieb. * Fixed a bug introduced in 2.7.3 that caused issues with script objects and pipelines. Thanks Carpentier Pierre-Francois. * Converted redis-py's test suite to use the awesome py.test library. * Fixed a bug introduced in 2.7.5 that prevented a ConnectionError from being raised when the Redis server is LOADING data. * Added a BusyLoadingError exception that's raised when the Redis server is starting up and not accepting commands yet. BusyLoadingError subclasses ConnectionError, which this state previously returned. Thanks Yossi Gottlieb. * 2.7.5 * DEL, HDEL and ZREM commands now return the numbers of keys deleted instead of just True/False. * from_url now supports URIs with a port number. Thanks Aaron Westendorf.
36 lines
773 B
Makefile
36 lines
773 B
Makefile
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= redis
|
|
PORTVERSION= 2.7.6
|
|
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= a6302d9
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
OPTIONS_DEFINE= HIREDIS
|
|
HIREDIS_DESC= Add py-hiredis C extension support
|
|
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>
|