pkgsrc-Bugs archive

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

pkg/34433: [update] databases/py-psycopg2



>Number:         34433
>Category:       pkg
>Synopsis:       [update] databases/py-psycopg2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 30 18:25:00 +0000 2006
>Originator:     Martin Wilke
>Release:        NetBSD 4.0_BETA i386
>Organization:
>Environment:


System: NetBSD 4.0_BETA (MIWIBOX) #0: Tue Aug 29 10:29:38 CEST 2006
        miwi%mwilke.ath.cx@localhost:/usr/obj/sys/arch/i386/compile/MIWIBOX



>Description:


- Update to 2.0.4
- Change HOMEPAGE

- Changelog
                

        * Fixed bug in float conversion (check for NULL string was
        erroneously removed in 2.0.3!)

        * Release 2.0.3.

        * psycopg/cursor_type.c: applied patch from jbellis (#113) to
        allow column selection in .copy_from().

        * psycopg/psycopgmodule.c: fixed memory leak in custom exceptions
        (applied patch from #114).

        * psycopg/adapter_datetime.c (pydatetime_str): fixed error
        in conversion of microseconds for intervals and better algo
        (thanks to Mario Frasca.)

        * psycopg/adapter_binary.c: same as below.

        * psycopg/adapter_qstring.c: does not segfault anymore if 
        .getquoted() is called without preparing the qstring with 
        the connection.

        * psycopg/typecast_basic.c: fixed problem with bogus
        conversion when importing gtk (that was crazy, I didn't
        understand why it happened but the new code just fixes it.)

        * ZPsycopgDA/db.py: better type analisys, using an hash
        instead of a series of if (variation on patch from Charlie
        Clark.)




>How-To-Repeat:





>Fix:


--- py--psycopg2 begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/pkgsrc/databases/py-psycopg2/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile    12 Jul 2006 16:34:39 -0000      1.1.1.1
+++ Makefile    30 Aug 2006 17:09:40 -0000
@@ -1,13 +1,13 @@
 # $NetBSD: Makefile,v 1.1.1.1 2006/07/12 16:34:39 joerg Exp $
 #
 
-DISTNAME=      psycopg2-2.0.2
+DISTNAME=      psycopg2-2.0.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  http://initd.org/pub/software/psycopg/
 
 MAINTAINER=    joerg%NetBSD.org@localhost
-HOMEPAGE=      http://initd.org/software/psycopg
+HOMEPAGE=      http://initd.org/projects/psycopg2
 COMMENT=       PostgreSQL database adapter for Python
 
 PYDISTUTILSPKG=        yes
Index: distinfo
===================================================================
RCS file: /home/pcvs/pkgsrc/databases/py-psycopg2/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo    12 Jul 2006 17:55:05 -0000      1.2
+++ distinfo    30 Aug 2006 17:10:10 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.2 2006/07/12 17:55:05 joerg Exp $
 
-SHA1 (psycopg2-2.0.2.tar.gz) = 94c37b6cfdc7fa40cf5c9b4e1b6d2b774f7b1ee2
-RMD160 (psycopg2-2.0.2.tar.gz) = 8a56c952eda241ebc000bd9455c3482ee5890345
-Size (psycopg2-2.0.2.tar.gz) = 279200 bytes
+SHA1 (psycopg2-2.0.4.tar.gz) = 29598a186d3a6afc542cd02537d2219af4d44386
+RMD160 (psycopg2-2.0.4.tar.gz) = ee4378ca2065edc2581555fbdf49880751e300e1
+Size (psycopg2-2.0.4.tar.gz) = 279860 bytes
 SHA1 (patch-aa) = db059c33b907bef15e96e70f6376c6d80ca95312
Index: patches/patch-aa
===================================================================
RCS file: /home/pcvs/pkgsrc/databases/py-psycopg2/patches/patch-aa,v
retrieving revision 1.1
diff -u -r1.1 patch-aa
--- patches/patch-aa    12 Jul 2006 17:55:05 -0000      1.1
+++ patches/patch-aa    30 Aug 2006 17:26:40 -0000
@@ -1,11 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2006/07/12 17:55:05 joerg Exp $
-
---- setup.cfg.orig     2006-07-12 19:53:29.000000000 +0200
-+++ setup.cfg
-@@ -1,5 +1,5 @@
- [build_ext]
--define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3,PSYCOPG_DEBUG
-+define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
- # PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this)
- # PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower)
- # HAVE_PQFREEMEM should be defined on PostgreSQL >= 7.3
--- py--psycopg2 ends here ---






Home | Main Index | Thread Index | Old Index