diff options
author | Johann Visagie <wjv@FreeBSD.org> | 2002-10-23 14:33:47 +0000 |
---|---|---|
committer | Johann Visagie <wjv@FreeBSD.org> | 2002-10-23 14:33:47 +0000 |
commit | 6cd163c1f8d222b22ff03ac91e82be8fc7d7a154 (patch) | |
tree | cc2d5922e6b192d81fb96c33a30a89ab97951051 /databases/py-PyGreSQL/files/patch-pgdb.py | |
parent | Fix pre-build target (I messed it up with my first PR a long time ago.) (diff) |
- Make this port a subport of databases/postgresql7, since the development of
PyGreSQL has been folded into that of PostgreSQL itself.
- This update effectivly takes PyGreSQL to version 3.3, which is distributed
with PostgreSQL 7.2.3.
- Byte-compile installed modules to ensure clean deinstallation.
- Install documentation under $DOCSDIR.
- Remove Makefile from $FILESDIR - not required anymore.
- Remove patch-pgdb.py - not required any longer.
- Add two patches to ensure installation is $PREFIX-clean.
- Update pkg-comment and pkg-descr to reflect the current status of the port.
Notes
Notes:
svn path=/head/; revision=68661
Diffstat (limited to 'databases/py-PyGreSQL/files/patch-pgdb.py')
-rw-r--r-- | databases/py-PyGreSQL/files/patch-pgdb.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/databases/py-PyGreSQL/files/patch-pgdb.py b/databases/py-PyGreSQL/files/patch-pgdb.py deleted file mode 100644 index 1210ef8e5fa0..000000000000 --- a/databases/py-PyGreSQL/files/patch-pgdb.py +++ /dev/null @@ -1,28 +0,0 @@ ---- pgdb.py.orig Sun Nov 5 20:15:26 2000 -+++ pgdb.py Thu Nov 29 17:38:24 2001 -@@ -58,7 +58,7 @@ - import string - import exceptions - import types --import DateTime -+import mx.DateTime - import time - - ### module constants -@@ -384,13 +384,13 @@ - - # mandatory type helpers - def Date(year, month, day): -- return DateTime.DateTime(year, month, day) -+ return mx.DateTime.DateTime(year, month, day) - - def Time(hour, minute, second): -- return DateTime.TimeDelta(hour, minute, second) -+ return mx.DateTime.TimeDelta(hour, minute, second) - - def Timestamp(year, month, day, hour, minute, second): -- return DateTime.DateTime(year, month, day, hour, minute, second) -+ return mx.DateTime.DateTime(year, month, day, hour, minute, second) - - def DateFromTicks(ticks): - return apply(Date, time.localtime(ticks)[:3]) |