aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-hiredis/Makefile33
-rw-r--r--databases/py-hiredis/distinfo2
-rw-r--r--databases/py-hiredis/pkg-descr3
4 files changed, 39 insertions, 0 deletions
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 <gd@rambler-co.ru>
+#
+# $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 <bsd.port.mk>
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