pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-postgresql Update package to 3.8.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b0d7ef61172
branches:  trunk
changeset: 514336:1b0d7ef61172
user:      darcy <darcy%pkgsrc.org@localhost>
date:      Sun Jun 11 00:58:39 2006 +0000

description:
Update package to 3.8.1.

Mostly bug fixes from 3.8.

- Use string methods instead of deprecated string functions.
- Only use SQL-standard way of escaping quotes.
- Added the functions escape_string() and escape/unescape_bytea()
  (as suggested by Charlie Dyson and Kavous Bojnourdi a long time ago).
- Reverted code in clear() method that set date to current.
- Added code for backwards compatibility in OID munging code.
- Reorder attnames tests so that "interval" is checked for before "int."
- If caller supplies key dictionary, make sure that all has a namespace.

diffstat:

 databases/py-postgresql/Makefile |  11 +++++++----
 databases/py-postgresql/PLIST    |  21 +++++++++++++++++++--
 databases/py-postgresql/distinfo |   8 ++++----
 3 files changed, 30 insertions(+), 10 deletions(-)

diffs (80 lines):

diff -r fcd1f4aba05e -r 1b0d7ef61172 databases/py-postgresql/Makefile
--- a/databases/py-postgresql/Makefile  Sun Jun 11 00:46:50 2006 +0000
+++ b/databases/py-postgresql/Makefile  Sun Jun 11 00:58:39 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.46 2006/06/07 12:54:55 joerg Exp $
+# $NetBSD: Makefile,v 1.47 2006/06/11 00:58:39 darcy Exp $
 
-DISTNAME=              PyGreSQL-3.8
-PKGNAME=               ${PYPKGPREFIX}-postgresql-3.8
+DISTNAME=              PyGreSQL-3.8.1
+PKGNAME=               ${PYPKGPREFIX}-postgresql-3.8.1
 CATEGORIES=            databases python
 MASTER_SITES=  ftp://ftp.druid.net/pub/distrib/
 EXTRACT_SUFX=  .tgz
@@ -27,10 +27,13 @@
 
 post-install:
        ${INSTALL_DATA_DIR} ${DOCDIR}/tutorial
-       ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+       ${INSTALL_DATA_DIR} ${DOCDIR}/docs
        for inst_file in ${WRKSRC}/tutorial/*.py; do   \
                ${INSTALL_DATA} $${inst_file} ${DOCDIR}/tutorial;        \
        done
+       for inst_file in ${WRKSRC}/docs/*; do   \
+               ${INSTALL_DATA} $${inst_file} ${DOCDIR}/docs;        \
+       done
 
 .include "../../lang/python/extension.mk"
 .include "../../mk/pgsql.buildlink3.mk"
diff -r fcd1f4aba05e -r 1b0d7ef61172 databases/py-postgresql/PLIST
--- a/databases/py-postgresql/PLIST     Sun Jun 11 00:46:50 2006 +0000
+++ b/databases/py-postgresql/PLIST     Sun Jun 11 00:58:39 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2004/08/30 08:33:34 darcy Exp $
+@comment $NetBSD: PLIST,v 1.7 2006/06/11 00:58:39 darcy Exp $
 ${PYSITELIB}/_pg.so
 ${PYSITELIB}/pg.py
 ${PYSITELIB}/pg.pyc
@@ -6,10 +6,27 @@
 ${PYSITELIB}/pgdb.py
 ${PYSITELIB}/pgdb.pyc
 ${PYSITELIB}/pgdb.pyo
-share/doc/${PYPKGPREFIX}-postgresql/README
+share/doc/${PYPKGPREFIX}-postgresql/docs/announce.html
+share/doc/${PYPKGPREFIX}-postgresql/docs/announce.txt
+share/doc/${PYPKGPREFIX}-postgresql/docs/changelog.html
+share/doc/${PYPKGPREFIX}-postgresql/docs/changelog.txt
+share/doc/${PYPKGPREFIX}-postgresql/docs/default.css
+share/doc/${PYPKGPREFIX}-postgresql/docs/docs.css
+share/doc/${PYPKGPREFIX}-postgresql/docs/future.html
+share/doc/${PYPKGPREFIX}-postgresql/docs/future.txt
+share/doc/${PYPKGPREFIX}-postgresql/docs/index.html
+share/doc/${PYPKGPREFIX}-postgresql/docs/install.html
+share/doc/${PYPKGPREFIX}-postgresql/docs/install.txt
+share/doc/${PYPKGPREFIX}-postgresql/docs/pg.html
+share/doc/${PYPKGPREFIX}-postgresql/docs/pg.txt
+share/doc/${PYPKGPREFIX}-postgresql/docs/pgdb.html
+share/doc/${PYPKGPREFIX}-postgresql/docs/pgdb.txt
+share/doc/${PYPKGPREFIX}-postgresql/docs/readme.html
+share/doc/${PYPKGPREFIX}-postgresql/docs/readme.txt
 share/doc/${PYPKGPREFIX}-postgresql/tutorial/advanced.py
 share/doc/${PYPKGPREFIX}-postgresql/tutorial/basics.py
 share/doc/${PYPKGPREFIX}-postgresql/tutorial/func.py
 share/doc/${PYPKGPREFIX}-postgresql/tutorial/syscat.py
 @dirrm share/doc/${PYPKGPREFIX}-postgresql/tutorial
+@dirrm share/doc/${PYPKGPREFIX}-postgresql/docs
 @dirrm share/doc/${PYPKGPREFIX}-postgresql
diff -r fcd1f4aba05e -r 1b0d7ef61172 databases/py-postgresql/distinfo
--- a/databases/py-postgresql/distinfo  Sun Jun 11 00:46:50 2006 +0000
+++ b/databases/py-postgresql/distinfo  Sun Jun 11 00:58:39 2006 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2006/02/17 17:58:02 darcy Exp $
+$NetBSD: distinfo,v 1.13 2006/06/11 00:58:39 darcy Exp $
 
-SHA1 (PyGreSQL-3.8.tgz) = ca54ae51824ba86f4d70607d1cfcb8f51874d7a5
-RMD160 (PyGreSQL-3.8.tgz) = 0d10c14634a1e7211ed17835d0d3adbaedd766e7
-Size (PyGreSQL-3.8.tgz) = 40754 bytes
+SHA1 (PyGreSQL-3.8.1.tgz) = 341d14beb99e88f779657db3ce146b41c897f975
+RMD160 (PyGreSQL-3.8.1.tgz) = 67945cb75dd0fbad4c1dac2e606e10f6cdde7002
+Size (PyGreSQL-3.8.1.tgz) = 81186 bytes



Home | Main Index | Thread Index | Old Index