f0d40dd06a
What's new in psycopg 2.5 ------------------------- New features: - Added :ref:`JSON adaptation <adapt-json>`. - Added :ref:`support for PostgreSQL 9.2 range types <adapt-range>`. - `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 (🎫`#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 (🎫`#108`). - Added a simple way to :ref:`customize casting of composite types <adapt-composite>` into Python objects other than namedtuples. Many thanks to Ronan Dunklau and Tobias Oberstein for the feature development. - `connection.reset()` implemented using :sql:`DISCARD ALL` on server versions supporting it. Bug fixes: - Properly cleanup memory of broken connections (🎫`#148`). - Fixed bad interaction of ``setup.py`` with other dependencies in Distribute projects on Python 3 (🎫`#153`). Other changes: - 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 <http://github.com/psycopg/ZPsycopgDA>.
20 lines
604 B
Makefile
20 lines
604 B
Makefile
# $NetBSD: Makefile,v 1.23 2013/05/04 23:52:45 wiz Exp $
|
|
|
|
DISTNAME= psycopg2-2.5
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= http://initd.org/psycopg/tarballs/PSYCOPG-2-5/
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= http://initd.org/psycopg/
|
|
COMMENT= PostgreSQL database adapter for Python
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
PYTHON_VERSIONS_INCLUDE_3X= yes
|
|
REPLACE_PYTHON+= tests/*.py
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|