From 34841b97553ce4af1a89c9dd920a8a1863e749f6 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Tue, 5 Jun 2012 02:35:55 +0000 Subject: [PATCH] Python extension that wraps hiredis. WWW: https://github.com/pietern/hiredis-py PR: ports/168510 Submitted by: Denis Generalov --- databases/Makefile | 1 + databases/py-hiredis/Makefile | 33 +++++++++++++++++++++++++++++++++ databases/py-hiredis/distinfo | 2 ++ databases/py-hiredis/pkg-descr | 3 +++ 4 files changed, 39 insertions(+) create mode 100644 databases/py-hiredis/Makefile create mode 100644 databases/py-hiredis/distinfo create mode 100644 databases/py-hiredis/pkg-descr diff --git a/databases/Makefile b/databases/Makefile index 615035971518..20170d47dc48 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -684,6 +684,7 @@ SUBDIR += py-flask-sqlalchemy SUBDIR += py-forgetsql SUBDIR += py-gdbm + SUBDIR += py-hiredis SUBDIR += py-htsql SUBDIR += py-kyotocabinet SUBDIR += py-leveldb diff --git a/databases/py-hiredis/Makefile b/databases/py-hiredis/Makefile new file mode 100644 index 000000000000..2fda5dde27cf --- /dev/null +++ b/databases/py-hiredis/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: py-hiredis +# Date created: 2012-06-01 +# Whom: Denis Generalov +# +# $FreeBSD$ +# + +PORTNAME= hiredis +PORTVERSION= 0.1.1 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= gd@rambler-co.ru +COMMENT= Python extension that wraps hiredis + +LICENSE= BSD + +LIB_DEPENDS= hiredis:${PORTSDIR}/databases/hiredis + +USE_PYTHON= yes +USE_PYDISTUTILS=yes + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/hiredis/__init__.py \ + %%PYTHON_SITELIBDIR%%/hiredis/__init__.pyc \ + %%PYTHON_SITELIBDIR%%/hiredis/__init__.pyo \ + %%PYTHON_SITELIBDIR%%/hiredis/hiredis.so \ + %%PYTHON_SITELIBDIR%%/hiredis/version.py \ + %%PYTHON_SITELIBDIR%%/hiredis/version.pyc \ + %%PYTHON_SITELIBDIR%%/hiredis/version.pyo +PLIST_DIRS= %%PYTHON_SITELIBDIR%%/hiredis + +.include diff --git a/databases/py-hiredis/distinfo b/databases/py-hiredis/distinfo new file mode 100644 index 000000000000..f3bec98f1f38 --- /dev/null +++ b/databases/py-hiredis/distinfo @@ -0,0 +1,2 @@ +SHA256 (hiredis-0.1.1.tar.gz) = ca7b3840d12f836dabfd73708bd64c0ac31204b22a926279b6515e6433e50ffc +SIZE (hiredis-0.1.1.tar.gz) = 35598 diff --git a/databases/py-hiredis/pkg-descr b/databases/py-hiredis/pkg-descr new file mode 100644 index 000000000000..fc12abb4e458 --- /dev/null +++ b/databases/py-hiredis/pkg-descr @@ -0,0 +1,3 @@ +Python extension that wraps hiredis. + +WWW: https://github.com/pietern/hiredis-py