diff --git a/python3-psycopg2.changes b/python3-psycopg2.changes deleted file mode 100644 index 739c10c..0000000 --- a/python3-psycopg2.changes +++ /dev/null @@ -1,59 +0,0 @@ -------------------------------------------------------------------- -Tue Apr 16 18:05:47 UTC 2013 - jfunk@funktronics.ca - -- Update to 2.5: - - Added JSON adaptation. - - Added support for PostgreSQL 9.2 range types. - - `connection` and `cursor` objects can be used in ``with`` statements as - context managers as specified by recent DBAPI extension. - - Added `psycopg2.extensions.Diagnostics` object to get extended info from - a database error. Many thanks to Matthew Woodcraft for the implementation - (ticket #149). - - Added `connection.cursor_factory` attribute to customize the default - object returned by `connection.cursor()`. - - Added support for backward scrollable cursors. Thanks to Jon Nelson for - the initial patch (ticket #108). - - Added a simple way to customize casting of composite types into Python - objects other than namedtuples. Many thanks to Ronan Dunklau and Tobias - Oberstein for the feature development. - - `connection.reset()` implemented using `DISCARD ALL` on server versions - supporting it. - - Properly cleanup memory of broken connections (ticket #148). - - Fixed bad interaction of ``setup.py`` with other dependencies in - Distribute projects on Python 3 (ticket #153). - - Added support for Python 3.3. - - Dropped support for Python 2.4. Please use Psycopg 2.4.x if you need it. - - `psycopg2.errorcodes` map updated to PostgreSQL 9.2. - - Dropped Zope adapter from source repository. ZPsycopgDA now has its own - project at . -- Changes from 2.4.6: - - Fixed 'cursor()' arguments propagation in connection subclasses and - overriding of the 'cursor_factory' argument. Thanks to Corry Haines for - the report and the initial patch (ticket #105). - - Dropped GIL release during string adaptation around a function call - invoking a Python API function, which could cause interpreter crash. - Thanks to Manu Cupcic for the report (ticket #110). - - Close a green connection if there is an error in the callback. Maybe a - harsh solution but it leaves the program responsive (ticket #113). - - 'register_hstore()', 'register_composite()', 'tpc_recover()' work with - RealDictConnection and Cursor (ticket #114). - - Fixed broken pool for Zope and connections re-init across ZSQL methods in - the same request (tickets #123, #125, #142). - - connect() raises an exception instead of swallowing keyword arguments when - a connection string is specified as well (ticket #131). - - Discard any result produced by 'executemany()' (ticket #133). - - Fixed pickling of FixedOffsetTimezone objects (ticket #135). - - Release the GIL around PQgetResult calls after COPY (ticket #140). - - Fixed empty strings handling in composite caster (ticket #141). - - Fixed pickling of DictRow and RealDictRow objects. - -------------------------------------------------------------------- -Thu Nov 22 13:47:34 UTC 2012 - toddrme2178@gmail.com - -- Removed openSUSE 11.4 spec file workarounds - -------------------------------------------------------------------- -Fri May 25 05:28:02 UTC 2012 - highwaystar.ru@gmail.com - -- python3 package added - diff --git a/python3-psycopg2.spec b/python3-psycopg2.spec deleted file mode 100644 index 8e12188..0000000 --- a/python3-psycopg2.spec +++ /dev/null @@ -1,77 +0,0 @@ -# -# spec file for package python3-psycopg2 -# -# Copyright (c) 2012 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 -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -Name: python3-psycopg2 -Version: 2.5 -Release: 0 -License: LGPL-3.0+ or ZPL-2.0 -Summary: Python-PostgreSQL Database Adapter -Url: http://initd.org/psycopg/ -Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: postgresql-devel -BuildRequires: python3-devel -BuildRequires: python3-2to3 -Recommends: postgresql-server -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: python(abi) = %{py3_ver} - -%description -psycopg2 is a PostgreSQL database adapter for the Python programming -language. psycopg2 was written with the aim of being very small and fast, -and stable as a rock. - -psycopg2 is different from the other database adapter because it was -designed for heavily multi-threaded applications that create and destroy -lots of cursors and make a conspicuous number of concurrent INSERTs or -UPDATEs. psycopg2 also provide full asycronous operations and support -for coroutine libraries. - -%package doc -Summary: Documentation for psycopg python PostgreSQL database adapter -Group: Documentation/HTML -Requires: %{name} = %{version} - -%description doc -Documentation and example files for the psycopg python PostgreSQL database adapter. - -%prep -%setup -q -n psycopg2-%{version} - -%build -CFLAGS="%{optflags} -fno-strict-aliasing" python3 setup.py build -rm -rf doc/src doc/html/.buildinfo # Remove junk - -%install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -rm -rf %{buildroot}%{python_sitearch}/psycopg2/tests # Don't package testsuite -%fdupes -s %{buildroot}/%{_mandir} # Create symlinks for man pages -%fdupes %{buildroot} # Create hardlinks for the rest - -%files -%defattr(-,root,root,-) -%doc AUTHORS LICENSE NEWS README -%{python3_sitearch}/psycopg2 -%{python3_sitearch}/psycopg2-%{version}-py%{py3_ver}.egg-info - -%files doc -%defattr(-,root,root) -%doc doc/html examples/ - -%changelog