aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2011-10-28 16:14:02 +0800
committerwen <wen@FreeBSD.org>2011-10-28 16:14:02 +0800
commit6a17d57204517892de1a163d140883ecaf500ce5 (patch)
tree9e2a644d8c1ed5ef42d52d492cec4b346a5c0ab4 /databases
parent1fe13edae83bf63939a9e023dad2bd9a912c8684 (diff)
downloadfreebsd-ports-gnome-6a17d57204517892de1a163d140883ecaf500ce5.tar.gz
freebsd-ports-gnome-6a17d57204517892de1a163d140883ecaf500ce5.tar.zst
freebsd-ports-gnome-6a17d57204517892de1a163d140883ecaf500ce5.zip
This module provides a sqlite-backed dictionary conforming to the
dbm interface, along with a shelve class that wraps the dict and provides serialization for it. WWW: http://github.com/Yelp/sqlite3dbm/
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-sqlite3dbm/Makefile25
-rw-r--r--databases/py-sqlite3dbm/distinfo2
-rw-r--r--databases/py-sqlite3dbm/pkg-descr5
4 files changed, 33 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index e71201e8158a..2e9949372bd4 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -690,6 +690,7 @@
SUBDIR += py-sqlalchemy
SUBDIR += py-sqlalchemy06
SUBDIR += py-sqlite3
+ SUBDIR += py-sqlite3dbm
SUBDIR += py-sqlkit
SUBDIR += py-sqlobject
SUBDIR += py-sqlparse
diff --git a/databases/py-sqlite3dbm/Makefile b/databases/py-sqlite3dbm/Makefile
new file mode 100644
index 000000000000..9520e66f09f1
--- /dev/null
+++ b/databases/py-sqlite3dbm/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: py-sqlite3dbm
+# Date created: Oct 28, 2011
+# Whom: Wen Heping <wen@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sqlite3dbm
+PORTVERSION= 0.1.4
+CATEGORIES= databases python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Sqlite-backed dictionary
+
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+USE_PYTHON= 2.6+
+USE_PYDISTUTILS=easy_install
+
+.include <bsd.port.mk>
diff --git a/databases/py-sqlite3dbm/distinfo b/databases/py-sqlite3dbm/distinfo
new file mode 100644
index 000000000000..d3271b705824
--- /dev/null
+++ b/databases/py-sqlite3dbm/distinfo
@@ -0,0 +1,2 @@
+SHA256 (sqlite3dbm-0.1.4.tar.gz) = 4721607e0b817b89efdba7e79cab881a03164b94777f4cf796ad5dd59a7612c5
+SIZE (sqlite3dbm-0.1.4.tar.gz) = 12214
diff --git a/databases/py-sqlite3dbm/pkg-descr b/databases/py-sqlite3dbm/pkg-descr
new file mode 100644
index 000000000000..c01516573b1f
--- /dev/null
+++ b/databases/py-sqlite3dbm/pkg-descr
@@ -0,0 +1,5 @@
+This module provides a sqlite-backed dictionary conforming to the
+dbm interface, along with a shelve class that wraps the dict and
+provides serialization for it.
+
+WWW: http://github.com/Yelp/sqlite3dbm/