aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-memcached
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-17 13:33:25 +0800
committerkrion <krion@FreeBSD.org>2004-04-17 13:33:25 +0800
commit965d71396f61caadf9d21c0ffa51fdf56cb91ec6 (patch)
tree18a1b2e94d6e7597c579e9c0af1e742bc031d8e1 /databases/py-memcached
parent2d564bde46f8b27913c065e15c43e52405bceea6 (diff)
downloadfreebsd-ports-gnome-965d71396f61caadf9d21c0ffa51fdf56cb91ec6.tar.gz
freebsd-ports-gnome-965d71396f61caadf9d21c0ffa51fdf56cb91ec6.tar.zst
freebsd-ports-gnome-965d71396f61caadf9d21c0ffa51fdf56cb91ec6.zip
Add py-memcached 1.2, python API for memcached, a distributed memory
cache daemon. PR: ports/65643 Submitted by: michael johnson <ahze at ahze dot net>
Diffstat (limited to 'databases/py-memcached')
-rw-r--r--databases/py-memcached/Makefile23
-rw-r--r--databases/py-memcached/distinfo2
-rw-r--r--databases/py-memcached/pkg-descr8
-rw-r--r--databases/py-memcached/pkg-plist3
4 files changed, 36 insertions, 0 deletions
diff --git a/databases/py-memcached/Makefile b/databases/py-memcached/Makefile
new file mode 100644
index 000000000000..14c0c41ed435
--- /dev/null
+++ b/databases/py-memcached/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: py-memcached
+# Date created: 2004-04-16
+# Whom: michael johnson <ahze@ahze.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= memcached
+PORTVERSION= 1.2
+CATEGORIES= databases
+MASTER_SITES= http://www.danga.com/memcached/dist/
+PKGNAMEPREFIX= py-
+DISTNAME= python-${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Python API for memcached, a distributed memory cache daemon
+
+RUN_DEPENDS= memcached:${PORTSDIR}/databases/memcached
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+
+.include <bsd.port.mk>
diff --git a/databases/py-memcached/distinfo b/databases/py-memcached/distinfo
new file mode 100644
index 000000000000..30901f185734
--- /dev/null
+++ b/databases/py-memcached/distinfo
@@ -0,0 +1,2 @@
+MD5 (python-memcached-1.2.tar.gz) = 7bbba370429bd3d7ab70bbf0828d841c
+SIZE (python-memcached-1.2.tar.gz) = 5582
diff --git a/databases/py-memcached/pkg-descr b/databases/py-memcached/pkg-descr
new file mode 100644
index 000000000000..c9b773982a16
--- /dev/null
+++ b/databases/py-memcached/pkg-descr
@@ -0,0 +1,8 @@
+The API takes advantage of the server's opaque flag support and sets its
+"complex" flag whenever the object being stored or retrieved isn't a plain
+scalar. In that case, the Storable module is used to freeze and thaw the
+value automatically going in and out of the memcached.
+
+The Python API, while tested, has not experienced real-world production use.
+
+WWW: http://www.danga.com/memcached/apis.bml
diff --git a/databases/py-memcached/pkg-plist b/databases/py-memcached/pkg-plist
new file mode 100644
index 000000000000..6b0bfc0c6f69
--- /dev/null
+++ b/databases/py-memcached/pkg-plist
@@ -0,0 +1,3 @@
+%%PYTHON_SITELIBDIR%%/memcache.py
+%%PYTHON_SITELIBDIR%%/memcache.pyc
+%%PYTHON_SITELIBDIR%%/memcache.pyo