pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-postgresql Updated py-postgresql to 5.0.2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/13fa73856434
branches: trunk
changeset: 352417:13fa73856434
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Sep 13 23:59:37 2016 +0000
description:
Updated py-postgresql to 5.0.2.
Ok from OWNER, darcy.
Version 5.0.2 (2016-09-08)
--------------------------
- Fixed an infinite recursion problem in the DB wrapper class of the classic
module that could occur when the underlying connection could not be properly
opened (bug report by Justin Pryzby).
Version 5.0.1 (2016-08-18)
--------------------------
- The update() and delete() methods of the DB wrapper now use the OID instead
of the primary key if both are provided. This restores backward compatibility
with PyGreSQL 4.x and allows updating the primary key itself if an OID exists.
- The connect() function of the DB API 2.0 module now accepts additional keyword
parameters such as "application_name" which will be passed on to PostgreSQL.
- PyGreSQL now adapts some queries to be able to access older PostgreSQL 8.x
databases (as suggested on the mailing list by Andres Mejia). However, these
old versions of PostgreSQL are not officially supported and tested any more.
- Fixed an issue with Postgres types that have an OID >= 0x80000000 (reported
on the mailing list by Justin Pryzby).
- Allow extra values that are not used in the command in the parameter dict
passed to the query_formatted() method (as suggested by Justin Pryzby).
- Improved handling of empty arrays in the classic module.
- Unused classic connections were not properly garbage collected which could
cause memory leaks (reported by Justin Pryzby).
- Made C extension compatible with MSVC 9 again (this was needed to compile for
Python 2 on Windows).
diffstat:
databases/py-postgresql/Makefile | 10 +++-------
databases/py-postgresql/distinfo | 10 +++++-----
2 files changed, 8 insertions(+), 12 deletions(-)
diffs (42 lines):
diff -r 25d674577ff8 -r 13fa73856434 databases/py-postgresql/Makefile
--- a/databases/py-postgresql/Makefile Tue Sep 13 23:16:37 2016 +0000
+++ b/databases/py-postgresql/Makefile Tue Sep 13 23:59:37 2016 +0000
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.79 2016/03/23 21:51:25 wiz Exp $
+# $NetBSD: Makefile,v 1.80 2016/09/13 23:59:37 wiz Exp $
-DISTNAME= PyGreSQL-5.0
-PKGNAME= ${PYPKGPREFIX}-postgresql-5.0
-PKGREVISION= 1
+DISTNAME= PyGreSQL-5.0.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/PyGreSQL/postgresql/}
CATEGORIES= databases python
MASTER_SITES= http://pygresql.org/files/
-DIST_SUBDIR= py-postgresql-5.0-20160323
OWNER= darcy%NetBSD.org@localhost
HOMEPAGE= http://www.PyGreSQL.org/
@@ -19,8 +17,6 @@
MAKE_FILE= GNUmakefile
MAKE_ENV+= INSTALLED_LIBPQ=1
-PY_PATCHPLIST= yes
-PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX:Q}
REPLACE_PYTHON= pg.py pgdb.py
.include "../../lang/python/application.mk"
diff -r 25d674577ff8 -r 13fa73856434 databases/py-postgresql/distinfo
--- a/databases/py-postgresql/distinfo Tue Sep 13 23:16:37 2016 +0000
+++ b/databases/py-postgresql/distinfo Tue Sep 13 23:59:37 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.25 2016/03/23 21:51:25 wiz Exp $
+$NetBSD: distinfo,v 1.26 2016/09/13 23:59:37 wiz Exp $
-SHA1 (py-postgresql-5.0-20160323/PyGreSQL-5.0.tar.gz) = ffcd791b22b3adcbc9f03a2b3eac7de269b72d2d
-RMD160 (py-postgresql-5.0-20160323/PyGreSQL-5.0.tar.gz) = bf64ffbd5055d792d3515ea07ffb631f60fe5ffb
-SHA512 (py-postgresql-5.0-20160323/PyGreSQL-5.0.tar.gz) = cdf1ed78f9bc604c202ddd72286160856954e27ce5fba60379fbd1e82597785f65b53e8b3310199cdaa925ad75bd01f7b54778153d1fa8ed8049fd4e401ebb88
-Size (py-postgresql-5.0-20160323/PyGreSQL-5.0.tar.gz) = 633868 bytes
+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
Home |
Main Index |
Thread Index |
Old Index