Hello community,

here is the log from the commit of package PyGreSQL for openSUSE:Factory
checked in at Thu Mar 10 12:50:58 CET 2011.



--------
--- PyGreSQL/PyGreSQL.changes   2006-07-25 17:22:32.000000000 +0200
+++ /mounts/work_src_done/STABLE/PyGreSQL/PyGreSQL.changes      2011-03-09 
15:40:27.000000000 +0100
@@ -1,0 +2,49 @@
+Fri Mar  4 10:23:19 UTC 2011 - [email protected]
+
+- New version: 4.0
+- Dropped support for Python below 2.3 and PostgreSQL below 7.4.
+- Improved performance of fetchall() for large result sets by
+  speeding up the type casts (as suggested by Peter Schuller).
+- Exposed exceptions as attributes of the connection object.
+- Exposed connection as attribute of the cursor object.
+- Cursors now support the iteration protocol.
+- Added new method to get parameter settings.
+- Added customizable row_factory as suggested by Simon Pamies.
+- Separated between mandatory and additional type objects.
+- Added keyword args to insert, update and delete methods.
+- Added exception handling for direct copy.
+- Start transactions only when necessary, not after every commit().
+- Release the GIL while making a connection (as suggested by Peter
+  Schuller).
+- If available, use decimal.Decimal for numeric types.
+- Allow DB wrapper to be used with DB-API 2 connections (as
+  suggested by Chris Hilton).
+- Made private attributes of DB wrapper accessible.
+- Dropped dependence on mx.DateTime module.
+- Support for PQescapeStringConn() and PQescapeByteaConn(); these
+  are now also used by the internal _quote() functions.
+- Added 'int8' to INTEGER types. New SMALLINT type.
+- Added a way to find the number of rows affected by a query()
+  with the classic pg module by returning it as a string. For single
+  inserts, query() still returns the oid as an integer. The pgdb
+  module already provides the "rowcount" cursor attribute for the
+  same purpose.
+- Improved getnotify() by calling PQconsumeInput() instead of
+  submitting an empty command.
+- Removed compatibility code for old OID munging style.
+- The insert() and update() methods now use the "returning" clause
+  if possible to get all changed values, and they also check in
+  advance whether a subsequent select is possible, so that ongoing
+  transactions won't break if there is no select privilege.
+- Added "protocol_version" and "server_version" attributes.
+- Revived the "user" attribute.
+- The pg module now works correctly with composite primary keys;
+  these are represented as frozensets.
+- Removed the undocumented and actually unnecessary "view"
+  parameter from the get() method.
+- get() raises a nicer ProgrammingError instead of a KeyError if
+  no primary key was found.
+- delete() now also works based on the primary key if no oid
+  available and returns whether the row existed or not.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  PyGreSQL-3.8.1.tar.bz2
  PyGreSQL.patch

New:
----
  PyGreSQL-4.0.tgz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ PyGreSQL.spec ++++++
--- /var/tmp/diff_new_pack.i0OWQh/_old  2011-03-10 12:50:31.000000000 +0100
+++ /var/tmp/diff_new_pack.i0OWQh/_new  2011-03-10 12:50:31.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package PyGreSQL (Version 3.8.1)
+# spec file for package PyGreSQL
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,14 @@
 
 
 Name:           PyGreSQL
-BuildRequires:  openssl-devel postgresql postgresql-devel python-devel
+BuildRequires:  openssl-devel postgresql-devel python-devel
 Url:            http://www.pygresql.org
 Summary:        Python Client Library for PostgreSQL
-Version:        3.8.1
-Release:        194
-License:        BSD 3-Clause
+Version:        4.0
+Release:        1
+License:        BSD3c
 Group:          Productivity/Databases/Clients
-Source0:        %{name}-%{version}.tar.bz2
-Patch0:         PyGreSQL.patch
+Source0:        %{name}-%{version}.tgz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Provides:       postgresql-python pg_pyth
 Obsoletes:      postgresql-python pg_pyth
@@ -47,7 +46,6 @@
 
 %prep
 %setup -q
-#%patch0
 
 %build
 ./setup.py build
@@ -56,7 +54,7 @@
 ./setup.py install --prefix=%{_prefix} --root=%buildroot
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf ${_buildroot}
 
 %files
 %defattr(-,root,root,-)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to