From 1eabed7529d90de9f2b01b9e06c69aed911d5a94 Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Sat, 30 Nov 2013 14:54:53 +0000 Subject: [PATCH] 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. --- databases/py-redis/Makefile | 8 ++++---- databases/py-redis/distinfo | 4 ++-- databases/py-redis/pkg-plist | 27 --------------------------- 3 files changed, 6 insertions(+), 33 deletions(-) delete mode 100644 databases/py-redis/pkg-plist diff --git a/databases/py-redis/Makefile b/databases/py-redis/Makefile index c0900dd045d3..205f013de0ce 100644 --- a/databases/py-redis/Makefile +++ b/databases/py-redis/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= redis -PORTVERSION= 2.7.6 +PORTVERSION= 2.8.0 CATEGORIES= databases python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,16 +14,16 @@ LICENSE= MIT USE_GITHUB= yes GH_ACCOUNT= andymccurdy GH_PROJECT= ${PORTNAME}-py -GH_COMMIT= a6302d9 +GH_COMMIT= 678f353 USE_PYTHON= yes USE_PYDISTUTILS= easy_install +PYDISTUTILS_AUTOPLIST= yes OPTIONS_DEFINE= HIREDIS -HIREDIS_DESC= Add py-hiredis C extension support +HIREDIS_DESC= High performance response parser (via hiredis) OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options -NO_STAGE= yes .include .if ${PORT_OPTIONS:MHIREDIS} diff --git a/databases/py-redis/distinfo b/databases/py-redis/distinfo index 71bf2b313803..0f17f83f698d 100644 --- a/databases/py-redis/distinfo +++ b/databases/py-redis/distinfo @@ -1,2 +1,2 @@ -SHA256 (redis-2.7.6.tar.gz) = 4fc95e2d38b54c0796b4f4229e51577f682558ff80416529258f5c0daec52331 -SIZE (redis-2.7.6.tar.gz) = 53524 +SHA256 (redis-2.8.0.tar.gz) = f92f1b624f3eb5e8ae2aa4f0e1e5e4397512881978bae56fc1824573801afa40 +SIZE (redis-2.8.0.tar.gz) = 54250 diff --git a/databases/py-redis/pkg-plist b/databases/py-redis/pkg-plist deleted file mode 100644 index 13e10600a9e2..000000000000 --- a/databases/py-redis/pkg-plist +++ /dev/null @@ -1,27 +0,0 @@ -@comment $FreeBSD$ -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/__init__.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/__init__.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/__init__.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/_compat.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/_compat.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/_compat.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/client.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/client.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/client.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/connection.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/connection.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/connection.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/exceptions.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/exceptions.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/exceptions.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/utils.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/utils.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis/utils.pyo -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/redis -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%