pkgsrc-Bugs archive

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

pkg/46084: databases/py-mssql update to 1.0.2



>Number:         46084
>Category:       pkg
>Synopsis:       databases/py-mssql update to 1.0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 23 20:45:00 +0000 2012
>Originator:     Bartosz Kuzma
>Release:        NetBSD 5.1
>Organization:
>Environment:
>Description:
databases/py-mssql update to 1.0.2

Changes since 0.8.0:
Tue Apr 23 23:00:00 2009  Andrzej Kukula <akukula%gmail.com@localhost>
        + bugfix: fixed rare quoting bug in select_db()
        + feature: added 'max_conn' parameter to pymssql.connect() and
          _mssql.connect() which defaults to 25, thanks Daniel Watrous
          <dwmaillist%gmail.com@localhost>
        * nagios-plugin update - thanks Josselin Mouette 
<joss%debian.org@localhost>:
          + Include a -P port option, to avoid having to passing it with the
            host name
          + Fix the encoding of the comments; utf-8 is the declared encoding
            of the file and must be followed
          + Fix a typo in the SQL syntax
          + Connect explicitly to the "master" database (required since 1.0.0)
          + Improve perfdata output.
        * version 1.0.2

Tue Apr 21 22:56:00 2009  Andrzej Kukula <akukula%gmail.com@localhost>
        * mssqldbmodule.c:
          + bugfix in format_and_run_query(): query strings were sometimes
            overwritten with garbage due to DECREF in wrong place; thanks
            Igor Nazarenko <igor.n.nazarenko%gmail.com@localhost>
          + bugfix in get_result(): if a query batch contained DECLARE or
            possibly other T-SQL statements, no results were returned
            thanks Kay Schluehr <schluehrk%users.sourceforge.net@localhost>
          + bugfix in execute_scalar(): check if there are any columns in result
          + bugfix: check for FAIL after each dbnextrow()
          + feature: Add support for bigint - #2660972; thanks Alexandr
            Zamaraev <shura_zam%users.sourceforge.net@localhost>
        * pymssql.c:
          + bugfix in execute(): if execute is called without second argument,
            don't treat '%' in query string as formatting character; restored
            compatibility with common sense and with pymssql < 1.0.0; thanks
            Corey Bertram <corey.bertram%monitoredsecurity.com@localhost>,
            Wes McKinney <wesmckinn%gmail.com@localhost>
          + feature: it is possible to specify 'as_dict' to pymssql.connect
            and rows will be returned as dictionaries instead of tuples;
            thanks Daniel Watrous <dwmaillist%gmail.com@localhost>

Thu Jan 30 18:36:00 2009  Andrzej Kukula <akukula%gmail.com@localhost>
        * mssqldbmodule.c:
          + Pyssize_t error on x64 - thanks Josselin Mouette 
<joss%debian.org@localhost>
          + critical charset updates, thanks Josselin Mouette 
<joss%debian.org@localhost>
          + more Py_ssize_t updates, further code cleanups
          + fixed some compiler warnings
        * pymssql.py:
          + execute() failed, thanks Josselin Mouette 
<joss%debian.org@localhost>
          + critical charset updates, thanks Josselin Mouette 
<joss%debian.org@localhost>
          + removed warnings, users don't want them and they are not 'MUST'
            priority in DB-API spec
        * nagios-plugin: introducted Nagios plugin, thanks Julien Blache
          and Josselin Mouette
        * version 1.0.1

Thu Jan 29 19:23:00 2009  Andrzej Kukula <akukula%gmail.com@localhost>
        * version 1.0.0
        * so many changes I'll not put them here, I'll document
          changes from now on.

Mon Sep 25 20:18:00 2006  Andrzej Kukula <akukula%gmail.com@localhost>
        * setup.py: fix for Fink (http://Fink.SF.Net) under OS X (thanks
          Terrence Brannon <metaperl%gmail.com@localhost>)
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/databases/py-mssql/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile    14 Jun 2011 11:23:15 -0000      1.12
+++ Makefile    23 Feb 2012 20:40:33 -0000
@@ -1,9 +1,8 @@
 # $NetBSD: Makefile,v 1.12 2011/06/14 11:23:15 obache Exp $
 #
 
-DISTNAME=              pymssql-0.8.0
+DISTNAME=              pymssql-1.0.2
 PKGNAME=               ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=           2
 CATEGORIES=            databases python
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=pymssql/}
 
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/databases/py-mssql/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo    14 Oct 2011 04:14:35 -0000      1.4
+++ distinfo    23 Feb 2012 20:40:33 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.4 2011/10/14 04:14:35 dholland Exp $
 
-SHA1 (pymssql-0.8.0.tar.gz) = e06618f2023ef2b7f6901479d7e3b6c56cecf323
-RMD160 (pymssql-0.8.0.tar.gz) = d55535d9e17bc79a3f3cda040fc13edd7c3c74d6
-Size (pymssql-0.8.0.tar.gz) = 158030 bytes
-SHA1 (patch-mssqldbmodule_c) = 838189627666cbffbb324da7238289e78080c63c
+SHA1 (pymssql-1.0.2.tar.gz) = e35b1a68285728cfe06b193c57c13059e65f5691
+RMD160 (pymssql-1.0.2.tar.gz) = 9130ac3e8a7e489470e8411750c07e91a2a30da7
+Size (pymssql-1.0.2.tar.gz) = 175469 bytes
+SHA1 (patch-mssqldbmodule_c) = bac4650e3f4ca75177bebb8dac1173003c443923
Index: patches/patch-mssqldbmodule_c
===================================================================
RCS file: /cvsroot/pkgsrc/databases/py-mssql/patches/patch-mssqldbmodule_c,v
retrieving revision 1.1
diff -u -r1.1 patch-mssqldbmodule_c
--- patches/patch-mssqldbmodule_c       14 Oct 2011 04:14:36 -0000      1.1
+++ patches/patch-mssqldbmodule_c       23 Feb 2012 20:40:33 -0000
@@ -1,16 +1,16 @@
-$NetBSD: patch-mssqldbmodule_c,v 1.1 2011/10/14 04:14:36 dholland Exp $
+$NetBSD$
 
 Fix build with latest freetds, which now provides BYTE and LPBYTE.
 
---- mssqldbmodule.c~   2006-09-22 19:44:17.000000000 +0000
+--- mssqldbmodule.c.orig       2009-04-23 21:17:15.000000000 +0000
 +++ mssqldbmodule.c
-@@ -67,9 +67,6 @@
-   #define SQLVARCHAR  SYBVARCHAR
-   #define SQLCHAR     SYBCHAR
-   #define SQLTEXT     SYBTEXT
--
--  #define BYTE                unsigned char
--  typedef unsigned char *LPBYTE;
- #endif
- 
- #define TYPE_STRING   1
+@@ -83,9 +83,6 @@ typedef int Py_ssize_t;
+ #define SQLVARCHAR     SYBVARCHAR
+ #define SQLCHAR        SYBCHAR
+ #define SQLTEXT        SYBTEXT
+-
+-#define BYTE           unsigned char
+-typedef unsigned char *LPBYTE;
+ #endif
+ 
+ #define TYPE_STRING      1



Home | Main Index | Thread Index | Old Index