pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-postgresql Upgrade to 5.0.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e93fbad00a3a
branches:  trunk
changeset: 355737:e93fbad00a3a
user:      darcy <darcy%pkgsrc.org@localhost>
date:      Sun Dec 11 11:25:52 2016 +0000

description:
Upgrade to 5.0.3.
- It is now possible to use a custom array cast function by changing
  the type caster for the 'anyarray' type.  For instance, by calling
  set_typecast('anyarray', lambda v, c: v) you can have arrays returned
  as strings instead of lists.  Note that in the pg module, you can also
  call set_array(False) in order to return arrays as strings.
- The namedtuple classes used for the rows of query results are now cached
  and reused internally, since creating namedtuples classes in Python is a
  somewhat expensive operation.  By default the cache has a size of 1024
  entries, but this can be changed with the set_row_factory_size() function.
  In certain cases this change can notably improve the performance.

diffstat:

 databases/py-postgresql/Makefile |   5 ++---
 databases/py-postgresql/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (29 lines):

diff -r 2a330e9fc250 -r e93fbad00a3a databases/py-postgresql/Makefile
--- a/databases/py-postgresql/Makefile  Sun Dec 11 11:10:27 2016 +0000
+++ b/databases/py-postgresql/Makefile  Sun Dec 11 11:25:52 2016 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.81 2016/10/09 21:41:57 wiz Exp $
+# $NetBSD: Makefile,v 1.82 2016/12/11 11:25:52 darcy Exp $
 
-DISTNAME=              PyGreSQL-5.0.2
+DISTNAME=              PyGreSQL-5.0.3
 PKGNAME=               ${PYPKGPREFIX}-${DISTNAME:S/PyGreSQL/postgresql/}
-PKGREVISION=           1
 CATEGORIES=            databases python
 MASTER_SITES=          http://pygresql.org/files/
 
diff -r 2a330e9fc250 -r e93fbad00a3a databases/py-postgresql/distinfo
--- a/databases/py-postgresql/distinfo  Sun Dec 11 11:10:27 2016 +0000
+++ b/databases/py-postgresql/distinfo  Sun Dec 11 11:25:52 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.26 2016/09/13 23:59:37 wiz Exp $
+$NetBSD: distinfo,v 1.27 2016/12/11 11:25:52 darcy Exp $
 
-SHA1 (PyGreSQL-5.0.2.tar.gz) = c6c62fd355a8709f04c1b568964c8dc9f66228ae
-RMD160 (PyGreSQL-5.0.2.tar.gz) = ba19c7cac3a17c1070f5910a5ecf67ba040194cb
-SHA512 (PyGreSQL-5.0.2.tar.gz) = 5332f23754df47e121d7301de056f5ab4defd91cba9762ef9196d0c04279ee4d1fcc7c24d23fa5f3a025fad1914666207f90ec858efd09207806cd9af3d920eb
-Size (PyGreSQL-5.0.2.tar.gz) = 637713 bytes
+SHA1 (PyGreSQL-5.0.3.tar.gz) = f0588d0881691c5edd6c488f1f542783cf191d7e
+RMD160 (PyGreSQL-5.0.3.tar.gz) = 3314afd8a770ccc5927611a867e3ae5b3d001d8c
+SHA512 (PyGreSQL-5.0.3.tar.gz) = bbec22a2d4ca09b570b0e4845e3c7592a15173639a3fe7fa59426ad6354bf1cab7dc1e21ceda16b42b8bbb4f6653aa59288b4f22238cd0baf2f6ebe98622d17e
+Size (PyGreSQL-5.0.3.tar.gz) = 642756 bytes



Home | Main Index | Thread Index | Old Index