--- psycopg2-2.0.13.orig/debian/changelog +++ psycopg2-2.0.13/debian/changelog @@ -1,3 +1,111 @@ +psycopg2 (2.0.13-2ubuntu3~lts0) lucid; urgency=low + + * No change rebuild for Python 2.7 LTS PPA. + + -- Barry Warsaw Wed, 14 Sep 2011 15:45:39 -0400 + +psycopg2 (2.0.13-2ubuntu2) lucid; urgency=low + + * Drop the zope2 package as we have no zope2 in lucid. + + -- James Westby Fri, 16 Apr 2010 11:04:47 +0100 + +psycopg2 (2.0.13-2ubuntu1) lucid; urgency=low + + * debian/control, debian/rules: Install a seperate testsuite package. + + -- Chuck Short Fri, 22 Jan 2010 09:54:59 -0500 + +psycopg2 (2.0.13-2) unstable; urgency=low + + [ Piotr Ożarowski ] + * Add XB-Python-Version to python-psycopg2-dbg and zope-psycopgda2 + + [ Fabio Tranchitella ] + * Do not build anymore python-psycopg2da. (Closes: #558204) + + -- Fabio Tranchitella Wed, 06 Jan 2010 15:36:39 +0100 + +psycopg2 (2.0.13-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Mon, 12 Oct 2009 06:50:00 +0000 + +psycopg2 (2.0.12-1) unstable; urgency=low + + [ Fabio Tranchitella ] + * New upstream release. (Closes: #536341, #528529) + * debian/control: bumped Standard-Versions to 3.8.3, no changes required. + + [ Bernd Zeimetz ] + * Make the build process compatible to Python2.6. + + -- Fabio Tranchitella Thu, 27 Aug 2009 18:05:48 +0200 + +psycopg2 (2.0.9-5) unstable; urgency=low + + * debian/control: added dependency on python-egenix-mxdatetime. + (Closes: #521338) + + -- Fabio Tranchitella Fri, 27 Mar 2009 16:05:49 +0100 + +psycopg2 (2.0.9-4) unstable; urgency=low + + * debian/rules: add again support for mx datetime. (Closes: #518948) + * debian/control: new archive sections. + + -- Fabio Tranchitella Wed, 18 Mar 2009 07:03:53 +0100 + +psycopg2 (2.0.9-3) unstable; urgency=low + + * debian/control: do not build against python-egenix-mx-base-dev anymore. + (Closes: #518519) + + -- Fabio Tranchitella Fri, 06 Mar 2009 20:42:04 +0100 + +psycopg2 (2.0.9-2) unstable; urgency=low + + * psycopg/psycopg.h: removed the patch. (Closes: #517895) + + -- Fabio Tranchitella Fri, 06 Mar 2009 13:27:44 +0100 + +psycopg2 (2.0.9-1) unstable; urgency=low + + * New upstream release. (Closes: #516887) + + -- Fabio Tranchitella Fri, 27 Feb 2009 17:38:13 +0100 + +psycopg2 (2.0.8-1) unstable; urgency=low + + [ Fabio Tranchitella ] + [Carlos Galisteo] + * debian/control + - Added Homepage field. + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Fabio Tranchitella ] + * New upstream release. (Closes: #499880) + * psycopg/psycopg.h: patched, fixed a typo. (Closes: #479571) + + -- Fabio Tranchitella Tue, 18 Nov 2008 21:05:04 +0100 + +psycopg2 (2.0.7-4) unstable; urgency=low + + * Rebuilt, this should fixes a dependency problem. (Closes: #485868) + + -- Fabio Tranchitella Thu, 12 Jun 2008 09:42:55 +0200 + +psycopg2 (2.0.7-3) unstable; urgency=low + + * ZPsycopgDA/DA.py: updated the patch, which was out of sync with the + upstream tarball. + + -- Fabio Tranchitella Tue, 13 May 2008 17:22:30 +0200 + psycopg2 (2.0.7-2) unstable; urgency=medium * ZPsycopgDA/DA.py: updated the patch. (Closes: #478860) --- psycopg2-2.0.13.orig/debian/rules +++ psycopg2-2.0.13/debian/rules @@ -3,6 +3,14 @@ # GNU copyright 1997 to 1999 by Joey Hess. PYVERS=$(shell pyversions -r debian/control) +-include /usr/share/python/python.mk +ifeq (,$(py_sitename)) + py_sitename = site-packages + py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages + py_sitename_sh = $(py_sitename) + py_libdir_sh = $(py_libdir) + py_setup_install_args = +endif configure: configure-stamp configure-stamp: @@ -25,7 +33,7 @@ dh_testdir dh_testroot rm -fr *-stamp build - for python in $(PYVERS); do \ + -for python in $(PYVERS); do \ $$python setup.py clean ; \ done dh_clean @@ -38,20 +46,21 @@ # psycopg2 for python in $(PYVERS); do \ $$python setup.py install \ - --root=$(CURDIR)/debian/python-psycopg2 --no-compile; \ + --root=$(CURDIR)/debian/python-psycopg2 --no-compile $(py_setup_install_args); \ done for python in $(PYVERS); do \ $$python-dbg setup.py install \ - --root=$(CURDIR)/debian/python-psycopg2-dbg --no-compile; \ + --root=$(CURDIR)/debian/python-psycopg2-dbg --no-compile $(py_setup_install_args); \ done + # seperate out the testsuite + mkdir -p $(CURDIR)/debian/python-psycopg2-testsuite/usr/share/python-psycopg2-testsuite + cp $(CURDIR)/tests/* $(CURDIR)/debian/python-psycopg2-testsuite/usr/share/python-psycopg2-testsuite find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f find debian/python-*-dbg -depth -empty -exec rmdir {} \; install-indep: build # Zope package - dh_installzope -p zope-psycopgda2 ZPsycopgDA - # Zope3 package - dh_installzope -p python-psycopg2da psycopg2da + #dh_installzope -p zope-psycopgda2 ZPsycopgDA # Build architecture-independent files here. binary-indep: build install-indep @@ -62,7 +71,6 @@ dh_link -i dh_compress -i dh_fixperms -i - dh_pycentral -p python-psycopg2da dh_installdeb -i dh_gencontrol -i dh_md5sums -i --- psycopg2-2.0.13.orig/debian/control +++ psycopg2-2.0.13/debian/control @@ -2,12 +2,13 @@ Section: python Priority: optional Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python-all-dbg, python-central (>= 0.5.0), python (>= 2.3.5-7), python-egenix-mx-base-dev, autoconf, libpq-dev -Build-Depends-Indep: zope-debhelper (>= 0.3.4) -Maintainer: Fabio Tranchitella -Standards-Version: 3.7.3 +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Fabio Tranchitella +Standards-Version: 3.8.3 XS-Python-Version: all Vcs-Svn: svn://svn.debian.org/python-modules/packages/psycopg2/trunk/ -Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/psycopg2/trunk/?op=log +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/psycopg2/trunk/ +Homepage: http://initd.org/projects/psycopg Package: python-psycopg2 Architecture: any @@ -35,8 +36,9 @@ Package: python-psycopg2-dbg Priority: extra Architecture: any -Section: python -Depends: python-psycopg2 (= ${binary:Version}), python-dbg, python-egenix-mxdatetime-dbg, ${shlibs:Depends} +Section: debug +Depends: python-psycopg2 (= ${binary:Version}), python-dbg, ${shlibs:Depends} +XB-Python-Version: ${python:Versions} Description: Python module for PostgreSQL (debug extension) psycopg is a PostgreSQL database adapter for the Python programming language (just like pygresql and popy.) This is version 2, a complete rewrite of the @@ -46,19 +48,32 @@ . This package contains the extensions built for the Python debug interpreter. -Package: zope-psycopgda2 -Architecture: all -Section: python -Depends: ${zope:Depends}, python-psycopg2 (>= ${source:Version}) -Description: Zope database adapter based on python-psycopg2 - The package contains the PostgreSQL database adapter for Zope 2.7, 2.8 and - 2.9 based on the psycopg2 Python module. +#Package: zope-psycopgda2 +#Architecture: all +#Section: zope +#Depends: ${zope:Depends}, python-psycopg2 (>= ${source:Version}) +#XB-Python-Version: ${python:Versions} +#Description: Zope database adapter based on python-psycopg2 +# The package contains the PostgreSQL database adapter for Zope 2.7, 2.8 and +# 2.9 based on the psycopg2 Python module. -Package: python-psycopg2da -Architecture: all +Package: python-psycopg2-testsuite +Architecture: any Section: python -Depends: ${zope:Depends}, python-psycopg2 (>= ${source:Version}) -XB-Python-Version: ${zope:PythonVersion} -Description: Zope database adapter based on python-psycopg2 -- zope3 version - The package contains the PostgreSQL database adapter for Zope 3 based on - the psycopg2 Python module. +Depends: ${python:Depends}, ${shlibs:Depends}, python-egenix-mxdatetime +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: Python module for PostgreSQL + psycopg is a PostgreSQL database adapter for the Python programming language + (just like pygresql and popy.) This is version 2, a complete rewrite of the + original code to provide new-style classes for connection and cursor objects + and other sweet candies. Like the original, psycopg 2 was written with the + aim of being very small and fast, and stable as a rock. + . + psycopg 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. + psycopg 2 also provides full asycronous operations for the really brave + programmer. + . + This package includes the testsuite.