summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/py-postgresql/Makefile11
-rw-r--r--databases/py-postgresql/files/md57
-rw-r--r--databases/py-postgresql/pkg/DESCR11
-rw-r--r--databases/py-postgresql/pkg/PLIST8
4 files changed, 22 insertions, 15 deletions
diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile
index 283f9d9a53c..80afa6fab86 100644
--- a/databases/py-postgresql/Makefile
+++ b/databases/py-postgresql/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2000/05/20 19:52:51 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2000/07/03 14:10:33 darcy Exp $
-DISTNAME= PyGreSQL-2.4
-PKGNAME= py-postgresql-2.4
+DISTNAME= PyGreSQL-3.0
+PKGNAME= py-postgresql-3.0
CATEGORIES= databases
MASTER_SITES= ftp://ftp.druid.net/pub/distrib/
EXTRACT_SUFX= .tgz
@@ -10,7 +10,8 @@ MAINTAINER= darcy@NetBSD.org
HOMEPAGE= http://www.druid.net/pygresql/
DEPENDS+= python-1.5.2:../../lang/python
-DEPENDS+= postgresql>=6.5.3:../../databases/postgresql
+DEPENDS+= postgresql-7.*:../../databases/postgresql
+DEPENDS+= mxDateTime-1.3.0:../../misc/py-mxDateTime
ALL_TARGET= default
@@ -20,6 +21,8 @@ PLIST_SUBST+= PYTHON_LIBDIR=lib/python1.5
.include "../../mk/bsd.prefs.mk"
+PGUSER?= pgsql
+
do-configure:
${SED} -e "s,@LOCALBASE@,${LOCALBASE},g" \
${FILESDIR}/Setup.in > ${WRKSRC}/Setup.in
diff --git a/databases/py-postgresql/files/md5 b/databases/py-postgresql/files/md5
index d50815e8445..e7879eb9318 100644
--- a/databases/py-postgresql/files/md5
+++ b/databases/py-postgresql/files/md5
@@ -1,4 +1,3 @@
-$NetBSD: md5,v 1.1.1.1 1999/10/04 17:36:48 jlam Exp $
-
-MD5 (python/PyGreSQL-2.4.tgz) = 7241ae4f9b2e901d05f62e029b35a302
-MD5 (PyGreSQL-2.4.tgz) = 7241ae4f9b2e901d05f62e029b35a302
+$NetBSD: md5,v 1.2 2000/07/03 14:10:35 darcy Exp $
+
+MD5 (PyGreSQL-3.0.tgz) = 3f67b76d6cfece4ac21eee1a9154a206
diff --git a/databases/py-postgresql/pkg/DESCR b/databases/py-postgresql/pkg/DESCR
index 168e8a67963..006b1687c05 100644
--- a/databases/py-postgresql/pkg/DESCR
+++ b/databases/py-postgresql/pkg/DESCR
@@ -1,12 +1,17 @@
-PyGreSQL - v2.4: PostgreSQL module for Python
+PyGreSQL - v3.0: PostgreSQL module for Python
- PyGreSQL, version 2.4
+ PyGreSQL, version 3.0
A Python interface for PostgreSQL database.
Written by D'Arcy J.M. Cain, darcy@druid.net<BR>
Based heavily on code written by Pascal Andre, andre@chimay.via.ecp.fr.
Copyright (c) 1995, Pascal ANDRE (andre@via.ecp.fr)
- Copyright (c) 1997, 1998, 1999
+ Copyright (c) 1997, 1998, 1999, 2000
PyGreSQL is a python module that interfaces to a PostgreSQL database. It
embeds the PostgreSQL query library to allow easy use of the powerful
PostgreSQL features from a Python script.
+
+This version includes support for the Python DB-API.
+
+See README for more information and credits.
+
diff --git a/databases/py-postgresql/pkg/PLIST b/databases/py-postgresql/pkg/PLIST
index 9500988cbf4..f236a692b42 100644
--- a/databases/py-postgresql/pkg/PLIST
+++ b/databases/py-postgresql/pkg/PLIST
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 1999/10/04 17:36:49 jlam Exp $
+@comment $NetBSD: PLIST,v 1.2 2000/07/03 14:10:36 darcy Exp $
${PYTHON_LIBDIR}/site-packages/_pgmodule.so
${PYTHON_LIBDIR}/site-packages/pg.py
${PYTHON_LIBDIR}/site-packages/pg.pyc
${PYTHON_LIBDIR}/site-packages/pg.pyo
-${PYTHON_LIBDIR}/site-packages/pgsqldb.py
-${PYTHON_LIBDIR}/site-packages/pgsqldb.pyc
-${PYTHON_LIBDIR}/site-packages/pgsqldb.pyo
+${PYTHON_LIBDIR}/site-packages/pgdb.py
+${PYTHON_LIBDIR}/site-packages/pgdb.pyc
+${PYTHON_LIBDIR}/site-packages/pgdb.pyo
share/doc/py-postgresql/README
share/doc/py-postgresql/tutorial/advanced.py
share/doc/py-postgresql/tutorial/basics.py