Hello community,

here is the log from the commit of package PyGreSQL for openSUSE:Factory 
checked in at 2014-12-29 00:30:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/PyGreSQL (Old)
 and      /work/SRC/openSUSE:Factory/.PyGreSQL.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "PyGreSQL"

Changes:
--------
--- /work/SRC/openSUSE:Factory/PyGreSQL/PyGreSQL.changes        2011-10-07 
16:06:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.PyGreSQL.new/PyGreSQL.changes   2014-12-29 
00:30:13.000000000 +0100
@@ -1,0 +2,45 @@
+Sat Dec 13 16:52:21 UTC 2014 - [email protected]
+
+- Clean up specfile
+- Use download Url as source
+- Update to version 4.1.1
+  + Add WhenNotified class and method.  Replaces need for third party
+    pgnotify.
+  + Sharpen test for inserting current_timestamp.
+  + Add more quote tests.  False and 0 should evaluate to NULL.
+  + More tests   + Any number other than 0 is True.
+  + Do not use positional parameters internally.
+    This restores backward compatibility with version 4.0.
+  + Add methods for changing the decimal point.
+- Changes from version 4.1
+  + Dropped support for Python below 2.5 and PostgreSQL below 8.3.
+  + Added support for Python up to 2.7 and PostgreSQL up to 9.2.
+  + Particularly, support PQescapeLiteral() and PQescapeIdentifier().
+  + The query method of the classic API now supports positional parameters.
+    This an effective way to pass arbitrary or unknown data without worrying
+    about SQL injection or syntax errors
+  + The classic API now supports a method namedresult() in addition to
+    getresult() and dictresult(), which returns the rows of the result
+    as named tuples if these are supported (Python 2.6 or higher).
+  + The classic API has got the new methods begin(), commit(), rollback(),
+    savepoint() and release() for handling transactions.
+  + Both classic and DBAPI 2 connections can now be used as context
+    managers for encapsulating transactions.
+  + The execute() and executemany() methods now return the cursor object,
+    so you can now write statements like "for row in cursor.execute(...)"
+  + Binary objects are now automatically escaped and unescaped.
+  + Bug in money quoting fixed.  Amounts of $0.00 handled correctly.
+  + Proper handling of date and time objects as input.
+  + Proper handling of floats with 'nan' or 'inf' values as input.
+  + Fixed the set_decimal() function.
+  + All DatabaseError instances now have a sqlstate attribute.
+  + The getnotify() method can now also return payload strings (#15).
+  + Better support for notice processing with the new methods
+    set_notice_receiver() and get_notice_receiver()
+  + Open transactions are rolled back when pgdb connections are closed
+  + Connections and cursors can now be used with the "with" statement
+  + New method use_regtypes() that can be called to let getattnames()
+  return regular type names instead of the simplified classic types (#44).
+- Fix Provides/Obsoletes tags
+
+-------------------------------------------------------------------

Old:
----
  PyGreSQL-4.0.tgz

New:
----
  PyGreSQL-4.1.1.tgz

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

Other differences:
------------------
++++++ PyGreSQL.spec ++++++
--- /var/tmp/diff_new_pack.f2zLqb/_old  2014-12-29 00:30:14.000000000 +0100
+++ /var/tmp/diff_new_pack.f2zLqb/_new  2014-12-29 00:30:14.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package PyGreSQL
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -18,18 +18,19 @@
 
 
 Name:           PyGreSQL
-BuildRequires:  openssl-devel postgresql-devel python-devel
 Url:            http://www.pygresql.org
 Summary:        Python Client Library for PostgreSQL
-Version:        4.0
+Version:        4.1.1
 Release:        1
 License:        BSD-3-Clause
 Group:          Productivity/Databases/Clients
-Source0:        %{name}-%{version}.tgz
+Source0:        
https://pypi.python.org/packages/source/P/PyGreSQL/%{name}-%{version}.tgz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Provides:       postgresql-python pg_pyth
-Obsoletes:      postgresql-python pg_pyth
-Requires:       python >= %py_ver, python < %py_ver.99
+BuildRequires:  openssl-devel
+BuildRequires:  postgresql-devel
+BuildRequires:  python-devel
+Provides:       postgresql-python pg_pyth = %{version}
+Obsoletes:      postgresql-python pg_pyth < %{version}
 
 %description
 PyGreSQL is a Python module that interfaces to a PostgreSQL database.
@@ -40,14 +41,14 @@
 %setup -q
 
 %build
-./setup.py build
+python setup.py build
 
 %install
-./setup.py install  --prefix=%{_prefix} --root=%buildroot
+python setup.py install  --prefix=%{_prefix} --root=%buildroot
 
 %files
 %defattr(-,root,root,-)
 %doc docs/* tutorial
-%_libdir/python%py_ver/site-packages/*
+%{python_sitearch}
 
 %changelog

++++++ PyGreSQL-4.0.tgz -> PyGreSQL-4.1.1.tgz ++++++
++++ 7260 lines of diff (skipped)

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

Reply via email to