aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryzlin <yzlin@FreeBSD.org>2009-11-26 00:15:17 +0800
committeryzlin <yzlin@FreeBSD.org>2009-11-26 00:15:17 +0800
commitbd8d8d498bb16351c64b48c7e1d34111a36e2706 (patch)
treefbc24fa2a92bcea3fa87772b75d3bf6bb399047a
parentb7a49ae95aa5a9779403d7b4f411e846a2a6d981 (diff)
downloadfreebsd-ports-gnome-bd8d8d498bb16351c64b48c7e1d34111a36e2706.tar.gz
freebsd-ports-gnome-bd8d8d498bb16351c64b48c7e1d34111a36e2706.tar.zst
freebsd-ports-gnome-bd8d8d498bb16351c64b48c7e1d34111a36e2706.zip
Add py-pylibmc 0.9.1, python libmemcached wrapper.
PR: ports/140857 Submitted by: Gea-Suan Lin <gslin at gslin.org> Approved by: lwhsu/rafan (mentors, implicit)
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-pylibmc/Makefile23
-rw-r--r--databases/py-pylibmc/distinfo3
-rw-r--r--databases/py-pylibmc/pkg-descr4
-rw-r--r--databases/py-pylibmc/pkg-plist5
5 files changed, 36 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 676f3ee9e0b9..715f5bcf63bf 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -570,6 +570,7 @@
SUBDIR += py-psycopg
SUBDIR += py-psycopg2
SUBDIR += py-pyPgSQL
+ SUBDIR += py-pylibmc
SUBDIR += py-pysqlite20
SUBDIR += py-pysqlite21
SUBDIR += py-pysqlite22
diff --git a/databases/py-pylibmc/Makefile b/databases/py-pylibmc/Makefile
new file mode 100644
index 000000000000..0ccfe89dfa83
--- /dev/null
+++ b/databases/py-pylibmc/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: py-pylibmc
+# Date created: 2009-11-25
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pylibmc
+PORTVERSION= 0.9.1
+CATEGORIES= databases python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Python libmemcached wrapper
+
+LIB_DEPENDS= memcached:${PORTSDIR}/databases/libmemcached
+
+MAKE_ENV= LIBMEMCACHED_DIR="${LOCALBASE}"
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.mk>
diff --git a/databases/py-pylibmc/distinfo b/databases/py-pylibmc/distinfo
new file mode 100644
index 000000000000..3ddce27fdf36
--- /dev/null
+++ b/databases/py-pylibmc/distinfo
@@ -0,0 +1,3 @@
+MD5 (pylibmc-0.9.1.tar.gz) = 6f482598b6a909210e5e6ccbfeb17bb5
+SHA256 (pylibmc-0.9.1.tar.gz) = 9a32e17ce684d5cdbeaa6f6890a33ae61bc246f47aa2a7df2b481e7a40c3c831
+SIZE (pylibmc-0.9.1.tar.gz) = 20758
diff --git a/databases/py-pylibmc/pkg-descr b/databases/py-pylibmc/pkg-descr
new file mode 100644
index 000000000000..2e32bceea71a
--- /dev/null
+++ b/databases/py-pylibmc/pkg-descr
@@ -0,0 +1,4 @@
+pylibmc is a Python wrapper around the accompanying C Python extension
+_pylibmc, which is a wrapper around libmemcached from TangentOrg.
+
+WWW: http://pypi.python.org/pypi/pylibmc
diff --git a/databases/py-pylibmc/pkg-plist b/databases/py-pylibmc/pkg-plist
new file mode 100644
index 000000000000..1fb5a57672a1
--- /dev/null
+++ b/databases/py-pylibmc/pkg-plist
@@ -0,0 +1,5 @@
+@comment $FreeBSD$
+%%PYTHON_SITELIBDIR%%/_pylibmc.so
+%%PYTHON_SITELIBDIR%%/pylibmc.py
+%%PYTHON_SITELIBDIR%%/pylibmc.pyc
+%%PYTHON_SITELIBDIR%%/pylibmc.pyo