aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-06-05 10:35:55 +0800
committermiwi <miwi@FreeBSD.org>2012-06-05 10:35:55 +0800
commit59478dfc1947058fe0b4159cbd36b8b14f574cf3 (patch)
tree8d38c1569c2299529dfa6d55dcffa3cdd13b1dd4 /databases
parent985b348f18042af67f6128d030a441c3d409452b (diff)
downloadfreebsd-ports-gnome-59478dfc1947058fe0b4159cbd36b8b14f574cf3.tar.gz
freebsd-ports-gnome-59478dfc1947058fe0b4159cbd36b8b14f574cf3.tar.zst
freebsd-ports-gnome-59478dfc1947058fe0b4159cbd36b8b14f574cf3.zip
Python extension that wraps hiredis.
WWW: https://github.com/pietern/hiredis-py PR: ports/168510 Submitted by: Denis Generalov <gd@rambler-co.ru>
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