pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-sqlite2 Update to 2.3.3:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ded778a58377
branches:  trunk
changeset: 524204:ded778a58377
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 20 17:28:37 2007 +0000

description:
Update to 2.3.3:

- self->statement was not checked while fetching data, which could
  lead to crashes if you used the pysqlite API in unusual ways.
  Closing the cursor and continuing to fetch data was enough.

- Converters are stored in a converters dictionary. The converter name
  is uppercased first. The old upper-casing algorithm was wrong and
  was replaced by a simple call to the Python string's upper() method
  instead.

- Applied patch by Glyph Lefkowitz that fixes the problem with
  subsequent SQLITE_SCHEMA errors.

- Improvement to the row type: rows can now be iterated over and have a keys()
  method. This improves compatibility with both tuple and dict a lot.

- A bugfix for the subsecond resolution in timestamps.

- Corrected the way the flags PARSE_DECLTYPES and PARSE_COLNAMES are
  checked for. Now they work as documented.

- gcc on Linux sucks. It exports all symbols by default in shared
  libraries, so if symbols are not unique it can lead to problems with
  symbol lookup.  pysqlite used to crash under Apache when mod_cache
  was enabled because both modules had the symbol cache_init. I fixed
  this by applying the prefix pysqlite_ almost everywhere. Sigh.

diffstat:

 databases/py-sqlite2/Makefile |  8 ++++----
 databases/py-sqlite2/distinfo |  8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r 3e0440cd1a84 -r ded778a58377 databases/py-sqlite2/Makefile
--- a/databases/py-sqlite2/Makefile     Sat Jan 20 17:26:39 2007 +0000
+++ b/databases/py-sqlite2/Makefile     Sat Jan 20 17:28:37 2007 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2007/01/13 00:47:56 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2007/01/20 17:28:37 wiz Exp $
 
-DISTNAME=      pysqlite-2.3.2
-PKGNAME=       ${PYPKGPREFIX}-sqlite2-2.3.2
+DISTNAME=      pysqlite-2.3.3
+PKGNAME=       ${PYPKGPREFIX}-sqlite2-2.3.3
 CATEGORIES=    databases python
-MASTER_SITES=  http://initd.org/pub/software/pysqlite/releases/2.3/2.3.2/
+MASTER_SITES=  http://initd.org/pub/software/pysqlite/releases/2.3/2.3.3/
 
 MAINTAINER=    tsarna%NetBSD.org@localhost
 HOMEPAGE=      http://initd.org/tracker/pysqlite
diff -r 3e0440cd1a84 -r ded778a58377 databases/py-sqlite2/distinfo
--- a/databases/py-sqlite2/distinfo     Sat Jan 20 17:26:39 2007 +0000
+++ b/databases/py-sqlite2/distinfo     Sat Jan 20 17:28:37 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2007/01/10 10:39:18 drochner Exp $
+$NetBSD: distinfo,v 1.3 2007/01/20 17:28:37 wiz Exp $
 
-SHA1 (pysqlite-2.3.2.tar.gz) = eca24c09bfc644a4285eee4f914d55fdbf605cfb
-RMD160 (pysqlite-2.3.2.tar.gz) = 50be93e9df482699e71696ad5c76ae0dc50c92f9
-Size (pysqlite-2.3.2.tar.gz) = 79532 bytes
+SHA1 (pysqlite-2.3.3.tar.gz) = f6dda35c7c14454f3c91013691241a11d1228f77
+RMD160 (pysqlite-2.3.3.tar.gz) = 285bcc2156061783e3a65d1fb4efe9551e2f86d4
+Size (pysqlite-2.3.3.tar.gz) = 60695 bytes
 SHA1 (patch-aa) = b9804c6a35f591b0f7b3f72efccbe9e3327469d1



Home | Main Index | Thread Index | Old Index