summaryrefslogtreecommitdiff
path: root/databases/py-SQLDict
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2000-10-03 20:55:20 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2000-10-03 20:55:20 +0000
commit67bb1521abcb59f80a4455e1fe062063e897022e (patch)
tree6af082dd20c5850c6a89afd3c1584d85ae7cdf70 /databases/py-SQLDict
parentAdd a WITH_SSL knob. (diff)
Python dictionary wrapper around a SQL database
Notes
Notes: svn path=/head/; revision=33385
Diffstat (limited to 'databases/py-SQLDict')
-rw-r--r--databases/py-SQLDict/Makefile28
-rw-r--r--databases/py-SQLDict/distinfo1
-rw-r--r--databases/py-SQLDict/pkg-comment1
-rw-r--r--databases/py-SQLDict/pkg-descr6
-rw-r--r--databases/py-SQLDict/pkg-plist3
5 files changed, 39 insertions, 0 deletions
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