diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2000-10-03 20:55:20 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2000-10-03 20:55:20 +0000 |
commit | 67bb1521abcb59f80a4455e1fe062063e897022e (patch) | |
tree | 6af082dd20c5850c6a89afd3c1584d85ae7cdf70 | |
parent | Add a WITH_SSL knob. (diff) |
Python dictionary wrapper around a SQL database
Notes
Notes:
svn path=/head/; revision=33385
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/py-SQLDict/Makefile | 28 | ||||
-rw-r--r-- | databases/py-SQLDict/distinfo | 1 | ||||
-rw-r--r-- | databases/py-SQLDict/pkg-comment | 1 | ||||
-rw-r--r-- | databases/py-SQLDict/pkg-descr | 6 | ||||
-rw-r--r-- | databases/py-SQLDict/pkg-plist | 3 |
6 files changed, 40 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 36daa0f53b03..d1d3b551b5c6 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -46,6 +46,7 @@ SUBDIR += py-MySQL SUBDIR += py-MySQLdb SUBDIR += py-PyGreSQL + SUBDIR += py-SQLDict SUBDIR += rdb SUBDIR += ruby-gdbm SUBDIR += ruby14-gdbm diff --git a/databases/py-SQLDict/Makefile b/databases/py-SQLDict/Makefile new file mode 100644 index 000000000000..54f7734f35ee --- /dev/null +++ b/databases/py-SQLDict/Makefile @@ -0,0 +1,28 @@ +# Ports collection Makefile for: SQLDict +# Date created: 10/03/2000 +# Whom: nectar@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= SQLDict +PORTVERSION= 1.0.0 +CATEGORIES= databases python +MASTER_SITES= http://dustman.net/andy/python/SQLDict/1.0.0/ +PKGNAMEPREFIX= py- + +MAINTAINER= nectar@FreeBSD.org + +USE_PYTHON= yes +NO_WRKSUBDIR= yes + +do-build: + @cd ${WRKSRC} && ${PYTHON_CMD} -c 'import SQLDict' + @cd ${WRKSRC} && ${PYTHON_CMD} -O -c 'import SQLDict' + +do-install: +.for f in SQLDict.py SQLDict.pyc SQLDict.pyo + ${INSTALL_DATA} ${WRKSRC}/${f} ${PYTHON_SITELIBDIR}/${f} +.endfor + +.include <bsd.port.mk> diff --git a/databases/py-SQLDict/distinfo b/databases/py-SQLDict/distinfo new file mode 100644 index 000000000000..791257a8d9d2 --- /dev/null +++ b/databases/py-SQLDict/distinfo @@ -0,0 +1 @@ +MD5 (SQLDict-1.0.0.tar.gz) = b5b0c9683c9f1e15b904563d22fc7cdc diff --git a/databases/py-SQLDict/pkg-comment b/databases/py-SQLDict/pkg-comment new file mode 100644 index 000000000000..97a1d101b8f4 --- /dev/null +++ b/databases/py-SQLDict/pkg-comment @@ -0,0 +1 @@ +Python dictionary wrapper around a SQL database diff --git a/databases/py-SQLDict/pkg-descr b/databases/py-SQLDict/pkg-descr new file mode 100644 index 000000000000..3c805edd2f02 --- /dev/null +++ b/databases/py-SQLDict/pkg-descr @@ -0,0 +1,6 @@ +From the module documentation: + + SQLDict: A helper class for the Python DB API. + + This creates a database interface which works pretty much like a + Python dictionary (or shelve). diff --git a/databases/py-SQLDict/pkg-plist b/databases/py-SQLDict/pkg-plist new file mode 100644 index 000000000000..69294e6c5409 --- /dev/null +++ b/databases/py-SQLDict/pkg-plist @@ -0,0 +1,3 @@ +lib/%%PYTHON_VERSION%%/site-packages/SQLDict.py +lib/%%PYTHON_VERSION%%/site-packages/SQLDict.pyc +lib/%%PYTHON_VERSION%%/site-packages/SQLDict.pyo |