--- psycopg2-2.6.1.orig/debian/README.source +++ psycopg2-2.6.1/debian/README.source @@ -0,0 +1,68 @@ +Preparing DFSG free tarball: + +These files are sourceless binary files that have to be removed for a DFSG +free tarball: + + doc/html/_static/jquery.js + doc/html/_static/underscore.js + +Patch management + +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + break + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- psycopg2-2.6.1.orig/debian/changelog +++ psycopg2-2.6.1/debian/changelog @@ -0,0 +1,954 @@ +psycopg2 (2.6.1-1build2) xenial; urgency=medium + + * No-change rebuild to drop python3.4 support. + + -- Matthias Klose Tue, 19 Jan 2016 13:33:44 +0000 + +psycopg2 (2.6.1-1build1) wily; urgency=medium + + * No-change rebuild for python3.5 transition + + -- Steve Langasek Fri, 24 Jul 2015 21:21:47 +0000 + +psycopg2 (2.6.1-1) unstable; urgency=medium + + * New upstream release + - Improve documentation regarding use of extensions. + ISOLATION_LEVEL_AUTOCOMMIT (Closes: #768194) + + -- Scott Kitterman Mon, 22 Jun 2015 17:24:53 -0400 + +psycopg2 (2.6-2) unstable; urgency=medium + + * Upload to unstable + * Build docs using python3 vice python + * Add doc-base registration + + -- Scott Kitterman Fri, 24 Apr 2015 11:04:31 -0400 + +psycopg2 (2.6-1) experimental; urgency=medium + + * New upstream release + - Adapt debian/rules build-indep and binary targets as well as + python-psycopg2-doc.install for adjustments in upstream documentation + build system + * Add dh-python to build-depends + * Update debian/watch to use the new pypi.debian.net redirector so that new + releases are detected and to account for no longer needing to mangle the + version since a +dfsg tarball is no longer required + + -- Scott Kitterman Mon, 09 Feb 2015 18:53:58 -0500 + +psycopg2 (2.5.4+dfsg-1) unstable; urgency=medium + + * New upstream release + - Repack source tarball to remove minified javascript files + * Swap DPMT to maintainer and add myself to uploaders + * Drop obsolete and unused python:Provides + * Add appropriate X-Python{3}-Version fields to debian/control + * Bump standards version to 3.9.6 without further change + * Install NEWS using dh_installchangelogs to install as upstream changelog + * Update debian/copyright + * Update debian/README.source list of files that need to be removed to + create a DFSG free tarball + * Drop obsolete python-psycopg2-doc breaks/replaces python-psycopg2-docs + + -- Scott Kitterman Sat, 27 Sep 2014 16:44:30 -0400 + +psycopg2 (2.5.3+dfsg-1) unstable; urgency=medium + + * Team upload + * New upstream release + * Correct python-psycopg2-doc install location (Closes: #686741) + * Update debian/copyright + * Repack source tarball to remove minified javascript files + - Update debian/watch to unmangle upstream version + + -- Scott Kitterman Mon, 26 May 2014 15:38:51 -0400 + +psycopg2 (2.5.2-1) unstable; urgency=low + + * Team upload + + [ Jakub Wilk ] + * Use canonical URIs for Vcs-* fields. + + [ Scott Kitterman ] + * New upstream release + - Update dh_installchangelogs rule from debian/rules since upstream no + longer provides a changelog + - Remove empty usr/lib/python3/dist-packages/psycopg2/tests dir in + python3-psycopg2-dbg + * Use python version independent paths in debian/patches/local_inventory + * Remove ancient, unused files from debian dir + * Bump standards version to 3.9.5 without further change + + -- Scott Kitterman Mon, 24 Feb 2014 21:45:02 -0500 + +psycopg2 (2.4.5-1) unstable; urgency=low + + * Team upload + * New upstream release + - Update debian/copyright + + -- Scott Kitterman Mon, 02 Apr 2012 10:23:45 -0400 + +psycopg2 (2.4.4-4) unstable; urgency=low + + * Team upload + * Rename python-pyscopg2-docs to the more usual python-pyscopg2-doc + - Not creating a transitional package due to the package only existing + for a short period and never in a stable release + * Fix typos in the last debian/changelog entry + * Fix misspellings in package descriptions in debian/control + * Bump standards version to 3.9.3 without further change + + -- Scott Kitterman Sun, 18 Mar 2012 10:31:22 -0400 + +psycopg2 (2.4.4-3) unstable; urgency=low + + * Team upload + * Fix debian/rules so python3-psycopg2-dbg so files are properly marked as + debug versions (Closes: #658219) + * Use local Python objects.inv instead of downloading from python.org + - Add python-doc and python3-doc to Build-Depends-Indep + - Add Quilt use to debian/rules and README.source + - Add debian/patches/local_inventory + + -- Scott Kitterman Thu, 02 Feb 2012 09:04:44 -0500 + +psycopg2 (2.4.4-2) unstable; urgency=low + + * Team upload + * Move python-egenix-mxdatetime from Depends to Recommends since support for + it is now detected at runtime (Closes: #523414) + * Add separate python-pyscopg2-docs package suggested by both python-psycopg2 + and python3-psycopg2 (only ship actual documentation in the binary and + not the source to build the documentation) + - Adjust debian/rules for an arch-indep package and python-sphinx + - Rebuild html and text docs from source instead of shipping provided + files + - Add python-sphinx (>= 1.0.7+dfsg-1~) to build-depends and use + sphinxdoc:Depends + - Add debian/python-psycopg2-docs.install + * Build packages for Python3 (Closes: #645906) + - Add python3-psycopg2/-dbg to debian/control + - Add python3-all-dev and python3-all-dbg to build-depends + - Adjust debian/rules + * Drop build-depends on autoconf (Closes: #589131) + * Drop redundant build-depends on python (python-all-dev covers it) + + -- Scott Kitterman Mon, 30 Jan 2012 09:12:12 -0500 + +psycopg2 (2.4.4-1) unstable; urgency=low + + * Team upload + * New upstream release (Closes: #607714) + - Update debian/copyright + * Add build-arch and build-indep targets to debian/rules + * Adjust debian/rules so docmentation is not compressed (Closes: #589142), + objects.inv is not compressed (Closes: #608745), and the upstream NEWS + file is included in the package (Closes: #651835) + * Exclude redundant COPYING files in the doc directory from being installed + * Remove redundant Section: field from the python-psycopg2 entry in debian/ + control + * Use dh_prep instead of deprecated dh_clean -k + * Remove obsolete debian/pycompat file + + -- Scott Kitterman Wed, 18 Jan 2012 12:59:48 -0500 + +psycopg2 (2.4.2-1) unstable; urgency=low + + [ Jakub Wilk ] + * Add Debian Python Modules Team to Uploaders. + + [ Fabio Tranchitella ] + * New upstream release. + * debian/watch: updated, use pypi. + * debian/control, debian/rules: switched to dh_python2. + * debian/control: bumped Standard-Version to 3.9.2, no changes required. + + -- Fabio Tranchitella Sun, 19 Jun 2011 18:25:53 +0000 + +psycopg2 (2.2.1-1) unstable; urgency=low + + * New upstream release. (Closes: #582823) + * debian/control: + - bumped Standards-Version to 3.9.0, no changes required. + - removed the zope-psycopg2da binary package. (Closes: #583293) + + -- Fabio Tranchitella Fri, 02 Jul 2010 15:04:19 +0200 + +psycopg2 (2.0.14-1) unstable; urgency=low + + * New upstream release. + * debian/control: bumped Standards-Version to 3.8.5, no changes required. + + -- Fabio Tranchitella Sat, 10 Apr 2010 10:32:45 +0200 + +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) + + -- Fabio Tranchitella Thu, 01 May 2008 17:43:54 +0200 + +psycopg2 (2.0.7-1) unstable; urgency=low + + * New upstream release. (Closes: #476101) + * debian/control: bumped Standard-Versions to 3.7.3. + + -- Fabio Tranchitella Tue, 15 Apr 2008 10:05:51 +0200 + +psycopg2 (2.0.6-4) unstable; urgency=low + + [ Sandro Tosi ] + * debian/control + - uniforming Vcs-Browser field + + [ Fabio Tranchitella ] + * Provides a encoding parameter when adding a ZPsycopgDA instance using the + ZMI. (Closes: #475123) + + -- Fabio Tranchitella Wed, 09 Apr 2008 19:51:10 +0200 + +psycopg2 (2.0.6-3) unstable; urgency=low + + [ Piotr Ożarowski ] + * XS-Vcs-Svn field renamed to Vcs-Svn + * Vcs-Browser field added + + [ Fabio Tranchitella ] + * Mention DB-API 2.0 compatibility in the long description. + (Closes: #430763) + + -- Fabio Tranchitella Thu, 08 Nov 2007 15:07:05 +0100 + +psycopg2 (2.0.6-2) unstable; urgency=low + + * Build a python-psycopg-dbg package + + -- Scott Kitterman Tue, 03 Jul 2007 16:55:48 -0400 + +psycopg2 (2.0.6-1) unstable; urgency=low + + * New upstream release. + * psycopg2da: removed, merged upstream. + + -- Fabio Tranchitella Sat, 09 Jun 2007 22:38:23 +0200 + +psycopg2 (2.0.5.1-7) UNRELEASED; urgency=low + + * debian/watch: added. + + -- Fabio Tranchitella Fri, 9 Feb 2007 12:35:55 +0100 + +psycopg2 (2.0.5.1-6) unstable; urgency=high + + * debian/zope-psycopgda2.dzproduct: requires Zope 2.9 or higher: previous + versions use python2.3 which is not supported anymore in psycopg. + + -- Fabio Tranchitella Mon, 15 Jan 2007 11:39:15 +0100 + +psycopg2 (2.0.5.1-5) unstable; urgency=medium + + * Do not run dh_pycentral on zope-psycopgda2. (Closes: #400846) + + -- Fabio Tranchitella Wed, 29 Nov 2006 09:04:09 +0100 + +psycopg2 (2.0.5.1-4) unstable; urgency=medium + + * Fixed a bug in psycopg2da. + * debian/control: bumped build-dependency on zope-debhelper. + * Added XS-Vcs-Svn field + + -- Fabio Tranchitella Fri, 24 Nov 2006 13:50:11 +0100 + +psycopg2 (2.0.5.1-3) unstable; urgency=low + + * psycopgda: imported upstream psycopg2da database adapter from SVN, which + builds a new binary package, python-psycopg2da. + + -- Fabio Tranchitella Fri, 10 Nov 2006 08:56:05 +0100 + +psycopg2 (2.0.5.1-2) unstable; urgency=low + + * debian/control: added again a dependency on python-egenix-mxdatetime. + (Closes: #389636) + + -- Fabio Tranchitella Tue, 3 Oct 2006 10:25:22 +0200 + +psycopg2 (2.0.5.1-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Tue, 19 Sep 2006 08:22:36 +0200 + +psycopg2 (2.0.4-1) unstable; urgency=low + + * New upstream release. + * debian/control: + + removed dependency on python-egenix-mxdatetime. + + added ${shlibs:Depends} for the python-psycopg2 package. + (Closes: #381462) + + -- Fabio Tranchitella Wed, 9 Aug 2006 10:28:30 +0200 + +psycopg2 (2.0.2-1) unstable; urgency=low + + * New upstream major release, new source package. (Closes: #377956) + + -- Fabio Tranchitella Sun, 16 Jul 2006 21:43:41 +0200 + +psycopg (1.1.21-8) unstable; urgency=low + + * debian/zope-psycopgda.dzproduct: added 2.9 to the list of supported + zope versions. (Closes: #376538) + + -- Fabio Tranchitella Fri, 14 Jul 2006 10:19:54 +0200 + +psycopg (1.1.21-7) unstable; urgency=low + + * Moved dh_installzope within an arch-indep target. (Closes: #373842) + + -- Fabio Tranchitella Fri, 16 Jun 2006 09:37:23 +0200 + +psycopg (1.1.21-6) unstable; urgency=low + + * Python policy transition. (Closes: #373482) + + -- Fabio Tranchitella Thu, 15 Jun 2006 19:09:36 +0200 + +psycopg (1.1.21-5) unstable; urgency=high + + * ypemod.c, new_psyco_bufferobject(): + - Escape quotes psycopg.Binary() results as '', not as \', since the + latter does not work any more with some client encodings with the latest + PostgreSQL (in some multi-byte encodings you can exploit \' escaping to + inject SQL code, see CVE-2006-2314). (Closes: #369230) + Thanks to Martin Pitt and Ubuntu security team for the patch. + + -- Fabio Tranchitella Tue, 30 May 2006 22:15:06 +0200 + +psycopg (1.1.21-4) unstable; urgency=low + + * debian/rules: remove *.o in the clean target. (Closes: #352835) + + -- Fabio Tranchitella Thu, 16 Feb 2006 12:06:53 +0000 + +psycopg (1.1.21-3) unstable; urgency=low + + * debian/control: removed build-dependency on postgresql-server-dev-8.0, + as suggested by Martin Pitt. (Closes: #339640) + + -- Fabio Tranchitella Fri, 18 Nov 2005 08:44:26 +0000 + +psycopg (1.1.21-2) unstable; urgency=low + + * debian/control: zope-psycopgda should depend on the same version of the + psycopg python module. (Closes: #336765) + + -- Fabio Tranchitella Wed, 2 Nov 2005 12:07:33 +0000 + +psycopg (1.1.21-1) unstable; urgency=low + + * New maintainer; Thanks Federico for your work, and be sure that I'll + take care of this package. + * New upstream release (Closes: #321592, #320618, #333638) + * debian/python2.4-psycopg.dirs: added. (Closes: #319509, #329115) + * debian/control: dropped support for python2.1 and + python2.2. (Closes: #333639) + * debian/control: Standards-Version bumped to 3.6.2, no changes required. + * debian/rules: make use of dh_installzope from zope-debhelper to build the + zope-psycopgda package. + (Closes: #158669, #323599, #268975, #292247, #327415) + * debian/control: added build-depends on postgresql-server-dev-8.0. + (Closes: #333638) + * Re-packaged upstream tarball replacing some broken images. + (Closes: #292008, #305392) + + -- Fabio Tranchitella Fri, 28 Oct 2005 11:24:37 +0000 + +psycopg (1.1.19-1) unstable; urgency=low + + * New upstream release. + * Applied patch from Martin Krafft to build Zope 2.7 packages. + * Modified to use the new PostgreSQL packages. + * Added python 2.4 package (Closes: #301403). + * Upstream applied various Ubuntu patches (Closes: #301947, #300893). + + -- Federico Di Gregorio Sat, 16 Jul 2005 20:47:08 +0200 + +psycopg (1.1.18-1) unstable; urgency=low + + * New upstream release. + * 1.1.16 fixed rowcount bug (closes: #266299). + + -- Federico Di Gregorio Wed, 5 Jan 2005 21:05:15 +0100 + +psycopg (1.1.17-1) unstable; urgency=high + + * Urgency is still high because 1.1.16 was never uploaded. + * New upstream release. + + -- Federico Di Gregorio Thu, 19 Nov 2004 01:14:30 +0200 + +psycopg (1.1.16-1) unstable; urgency=high + + * New upstream release. + * Tagged with urgency=high because fix a grave bug (rowcount) introduced + in 1.1.15. + * Upstream fix: does not segfault when using COPY TO/COPY FROM in + .execute() (closes: #279222). + + -- Federico Di Gregorio Sat, 30 Oct 2004 02:35:30 +0200 + +psycopg (1.1.15-1) unstable; urgency=low + + * New upstream release. + * Definitely fixed (ah ah) time interval problems (closes: #259213). + + -- Federico Di Gregorio Thu, 29 Jul 2004 23:43:59 +0200 + +psycopg (1.1.14-1) unstable; urgency=low + + * New upstream release. + * Don't put two copies of changelog in every package anymore + (closes: #256662). + * Updated test script works as expected (closes: #231391). + * Changes from NMU incorporated in 1.1.12: + - zpsycopgda depends on python2.2-psycopg (closes: #227420, #227147). + - compiled with postgresql in unstable (close: #220527). + + -- Federico Di Gregorio Fri, 9 Jul 2004 23:01:40 +0200 + +psycopg (1.1.13-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Fri, 21 May 2004 10:33:54 +0200 + +psycopg (1.1.12-1) unstable; urgency=low + + * New upstream release (the "martin you won't have this package" + release.) + * Integrated changes from NMU releases. + + -- Federico Di Gregorio Sun, 16 May 2004 10:14:47 +0200 + +psycopg (1.1.10-1.2) unstable; urgency=low + + * Non-maintainer upload. Thinking about taking this package over... + * Changed dependency on pyscopgda Python module to Python version 2.2. + (closes: #227147, #227420) + * Added Lintian overrides for image-in-/usr/lib warnings -- Zope needs + these images... + + -- martin f. krafft Thu, 15 Apr 2004 23:30:40 +0200 + +psycopg (1.1.10-1.1) unstable; urgency=low + + * Non-maintainer upload. + * No changes - this upload is simply a rebuild against the current unstable + instead of experimental postgresql-dev. + (closes: #219927, #220141, #220173, #220527) + + -- Peter Hawkins Sun, 28 Dec 2003 10:57:30 +1100 + +psycopg (1.1.10-1) unstable; urgency=low + + * Added download location to debian/copyright file (Closes: #215880). + + -- Federico Di Gregorio Sat, 8 Nov 2003 23:32:40 +0100 + +psycopg (1.1.9-1) unstable; urgency=low + + * New upstream release. + * Bug was agains an old 1.0.x version of psycopg (Closes: #208702). + + -- Federico Di Gregorio Wed, 10 Sep 2003 13:04:42 +0200 + +psycopg (1.1.8-1) unstable; urgency=low + + * New upstream release. + * Integrated NMU from Matthias Klose (closes: #205746). + + -- Federico Di Gregorio Fri, 1 Aug 2003 11:50:57 +0200 + +psycopg (1.1.5.1-1.1) unstable; urgency=low + + * NMU + * Update for python2.3 as the default python version (closes: #205746). + + -- Matthias Klose Fri, 22 Aug 2003 00:02:25 +0200 + +psycopg (1.1.7-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Sat, 26 Jul 2003 15:03:39 +0200 + +psycopg (1.1.6-1) unstable; urgency=low + + * New upstream release. + * Upstream applied patch from BTS (Closes: #200161). + + -- Federico Di Gregorio Sun, 13 Jul 2003 23:36:04 +0200 + +psycopg (1.1.5.1-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Mon, 23 Jun 2003 00:37:33 +0200 + +psycopg (1.1.5-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Sun, 22 Jun 2003 21:30:01 +0200 + +psycopg (1.1.4-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Wed, 7 May 2003 15:21:31 +0200 + +psycopg (1.1.3-1) unstable; urgency=low + + * New upstream release. + * Changed section in debian/control (-> python). + + -- Federico Di Gregorio Wed, 2 Apr 2003 10:33:36 +0200 + +psycopg (1.1.2-1) unstable; urgency=low + + * New upstream release. + * Started to track the 1.1.x branch. + + -- Federico Di Gregorio Tue, 25 Feb 2003 01:06:08 +0100 + +psycopg (1.0.15.1-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Fri, 14 Feb 2003 16:09:50 +0100 + +psycopg (1.0.15-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Wed, 12 Feb 2003 23:49:51 +0100 + +psycopg (1.0.14-1) unstable; urgency=low + + * Applied patch from John Goerzen to fix memory leak in executemany() + and callproc() (Closes: #169284). + * New upstream release (Closes: #170297). + + -- Federico Di Gregorio Mon, 25 Nov 2002 16:50:37 +0100 + +psycopg (1.0.13-1) unstable; urgency=low + + * New upstream release. + * Python 2.3 package added (Closes: #160831) + * IntegrityError raised when needed (upstream, Closes: #165791) + * Packages are lintian clean again. + + -- Federico Di Gregorio Fri, 25 Oct 2002 11:54:19 +0200 + +psycopg (1.0.12-1) unstable; urgency=low + + * New upstream release. + * Fixed wrong url in RELEASE-1.0. (Closes: #153840) + + -- Federico Di Gregorio Fri, 13 Sep 2002 13:16:36 +0200 + +psycopg (1.0.11.1-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Mon, 26 Aug 2002 10:41:54 +0200 + +psycopg (1.0.11-1) unstable; urgency=low + + * New upstream release. + * The dummy python-psycopg package now depends on the new default debian + python (2.2) and on python2.2-psycopg. + * Removed support for python 1.5 (support for 2.3 has to wait for egenix + packages.) + + -- Federico Di Gregorio Fri, 23 Aug 2002 11:25:01 +0200 + +psycopg (1.0.10-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Mon, 22 Jul 2002 02:04:59 +0200 + +psycopg (1.0.9-1) unstable; urgency=low + + * Resolved section override (main->interpreters). + * New upstream release. + + -- Federico Di Gregorio Thu, 20 Jun 2002 14:00:42 +0200 + +psycopg (1.0.8-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Tue, 23 Apr 2002 22:42:22 +0200 + +psycopg (1.0.7.1-2) unstable; urgency=low + + * Moved to main. + + -- Federico Di Gregorio Fri, 19 Apr 2002 10:06:58 +0200 + +psycopg (1.0.7.1-1) unstable; urgency=low + + * New upstream release. + * Fixed a bug in ./configure; closes: #141774. + + -- Federico Di Gregorio Mon, 8 Apr 2002 18:54:24 +0200 + +psycopg (1.0.7-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Fri, 29 Mar 2002 14:24:45 +0100 + +psycopg (1.0.6-1) unstable; urgency=low + + * New upstream release. + * Builds with new libpq libraries and header layout. + + -- Federico Di Gregorio Thu, 7 Mar 2002 11:59:40 +0100 + +psycopg (1.0.5-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Mon, 4 Mar 2002 14:43:13 +0100 + +psycopg (1.0.4-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Wed, 20 Feb 2002 20:37:16 +0100 + +psycopg (1.0.3-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Fri, 8 Feb 2002 15:17:44 +0100 + +psycopg (1.0.2-1) unstable; urgency=low + + * New upstream release. + * Added package for python2.2 (Closes: #132650). + + -- Federico Di Gregorio Fri, 8 Feb 2002 00:45:07 +0100 + +psycopg (1.0.1-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Sun, 20 Jan 2002 18:27:22 +0100 + +psycopg (1.0-4) unstable; urgency=low + + * Added build depend on plain python, to really close the %£$! #121229 + bug this time (Closes: #121229). + + -- Federico Di Gregorio Wed, 28 Nov 2001 10:50:06 +0100 + +psycopg (1.0-3) unstable; urgency=low + + * Added explicit build depends on python 1.5 & 2.1 (Closes: #121229). + * Fixed bad dependency on python1.5-egenix-mxdatetime. + + -- Federico Di Gregorio Mon, 26 Nov 2001 17:18:41 +0100 + +psycopg (1.0-2) unstable; urgency=low + + * Fixed dependencies as per python policy. + * Added default, unversioned psycopg package (python-psycopg). + * Added non-US/main and rebuilt after REJECT. + + -- Federico Di Gregorio Fri, 16 Nov 2001 01:14:54 +0100 + +psycopg (1.0-1) unstable; urgency=low + + * New upstream release. 1.0! + * Now we build versioned packages for python 1.5 and 2.1. + + -- Federico Di Gregorio Tue, 13 Nov 2001 19:24:39 +0100 + +psycopg (0.99.7-1) unstable; urgency=low + + * New upstream release fixing some little bugs. + * This version requires the mx DateTime packages that are not yet in + debian... waiting for them I'll distribute both psycopg and unofficial + packages on the initd psycopg page. + + -- Federico Di Gregorio Tue, 18 Sep 2001 23:28:51 +0200 + +psycopg (0.99.6-2) unstable; urgency=low + + * Added suggested build-depends (Closes: #112112). + * Applied patch by Michael Weber to configure.in, to look for a compiler + (Closes: #112024). + + -- Federico Di Gregorio Thu, 13 Sep 2001 10:49:37 +0200 + +psycopg (0.99.6-1) unstable; urgency=low + + * Added Build-depends line (Closes: #89798). + * Now zope-psycopgda requires python-psycopg, zope on debian still runs + with python 1.x only (Closes: #108890). + * Moved package to non-US (psycopg depends on postgresql that is in + non-US, sic). + + -- Federico Di Gregorio Mon, 3 Sep 2001 13:02:11 +0200 + +psycopg (0.99.5-1) unstable; urgency=low + + * New upstream release with bound variables quoting (Closes: #102843). + * The build process set the correct path to DateTime module + (Closes: #102838). + * Removes .pyc files in prerm (Closes: #104382) + + -- Federico Di Gregorio Thu, 12 Jul 2001 12:56:38 +0200 + +psycopg (0.99.4-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Mon, 2 Jul 2001 15:33:29 +0200 + +psycopg (0.99.3-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Wed, 20 Jun 2001 12:55:47 +0200 + +psycopg (0.99.2-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Tue, 5 Jun 2001 15:37:50 +0200 + +psycopg (0.99.1-1) unstable; urgency=low + + * New upstream release. + + -- Federico Di Gregorio Tue, 5 Jun 2001 12:46:18 +0200 + +psycopg (0.5.5-1) unstable; urgency=low + + * New upstream release (ok, *we* are the upstream authors, but after + putting the -1 in the version i am supposed to say "new upstream + version" when the non-debian versions changes, right? ouch...) + + -- Federico Di Gregorio Fri, 1 Jun 2001 17:18:52 +0200 + +psycopg (0.5.4-1) unstable; urgency=low + + * Another bugfixing release. + * Added debian revision to be able to release multiple versions with the + same upstream version. + + -- Federico Di Gregorio Fri, 18 May 2001 19:32:59 +0200 + +psycopg (0.5.3) unstable; urgency=low + + * Some bugs fixed, new release. + + -- Federico Di Gregorio Fri, 4 May 2001 16:19:09 +0200 + +psycopg (0.5.2) unstable; urgency=low + + * New bugfixing release. + + -- Federico Di Gregorio Fri, 27 Apr 2001 09:52:16 +0200 + +psycopg (0.5.1) unstable; urgency=low + + * New bugfixing release. + + -- Federico Di Gregorio Tue, 3 Apr 2001 11:13:26 +0200 + +psycopg (0.5.0) unstable; urgency=low + + * New release. + + -- Federico Di Gregorio Fri, 30 Mar 2001 12:54:42 +0200 + +psycopg (0.4.7) unstable; urgency=low + + * New release. + * Lots of small bug fixes (see detailed ChangeLog.) + * Includes beginning of DBAPI-2.0 testsuite. + + -- Federico Di Gregorio Fri, 16 Mar 2001 18:29:03 +0100 + +psycopg (0.4.6) unstable; urgency=low + + * New release. + * Fixed a little bug in debian/rules (does not create an examples + directory inside examples.) + + -- Federico Di Gregorio Wed, 14 Mar 2001 01:00:26 +0100 + +psycopg (0.4.5) unstable; urgency=low + + * New upstream (mmm... but one of the upstream authors it is + *me*... mmm...) release. + + -- Federico Di Gregorio Mon, 12 Mar 2001 11:41:42 +0100 + +psycopg (0.4.4) unstable; urgency=low + + * New release. + * Fixed Sections in debian/control. + + -- Federico Di Gregorio Fri, 9 Mar 2001 10:11:02 +0100 + +psycopg (0.4.3) unstable; urgency=low + + * New release. + * Fixed typo in connectionAdd.dtml (Closes: #88817) + + -- Federico Di Gregorio Wed, 7 Mar 2001 15:54:35 +0100 + +psycopg (0.4.2) unstable; urgency=low + + * New release (fixes bugs in ZPsycopgDA.) + + -- Federico Di Gregorio Mon, 5 Mar 2001 13:33:39 +0100 + +psycopg (0.4.1) unstable; urgency=low + + * New release. + * we now create packages for both versions of python in debian + (1.5 and 2.0, packages python-* and python2-*) + + -- Federico Di Gregorio Fri, 2 Mar 2001 12:10:52 +0100 + +psycopg (0.4) unstable; urgency=low + + * News release. + * Now debian/rules build the Zope Database Adapter zope-psycopgda too. + * Source name changed from python-psycopg to psycopg. + + -- Federico Di Gregorio Tue, 27 Feb 2001 15:11:04 +0100 + +python-psycopg (0.3) unstable; urgency=low + + * New release. Tons of bugs fixed and new features, see ChangeLog for + details. + + -- Federico Di Gregorio Mon, 26 Feb 2001 21:22:23 +0100 + +python-psycopg (0.2) unstable; urgency=low + + * New release. Fixed lots of bugs and memory leaks. + + -- Federico Di Gregorio Fri, 16 Feb 2001 11:04:17 +0100 + +python-psycopg (0.1) unstable; urgency=low + + * Initial release. + + -- Federico Di Gregorio Mon, 12 Feb 2001 14:46:53 +0100 + + --- psycopg2-2.6.1.orig/debian/compat +++ psycopg2-2.6.1/debian/compat @@ -0,0 +1 @@ +5 --- psycopg2-2.6.1.orig/debian/control +++ psycopg2-2.6.1/debian/control @@ -0,0 +1,112 @@ +Source: psycopg2 +Section: python +Priority: optional +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.6.6-3~), + python-all-dbg (>= 2.6.6-3~), python3-all-dev, python3-all-dbg, dh-python, + python-egenix-mx-base-dev, libpq-dev, python-sphinx (>= 1.0.7+dfsg-1~), quilt (>= 0.46-7) +Build-Depends-Indep: python-doc, python3-doc +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Python Modules Team +Uploaders: Fabio Tranchitella , Scott Kitterman +Standards-Version: 3.9.6 +X-Python-Version: >= 2.5 +X-Python3-Version: >= 3.1 +Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/psycopg2/trunk/ +Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/psycopg2/trunk/ +Homepage: http://initd.org/projects/psycopg + +Package: python-psycopg2 +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +Recommends: python-egenix-mxdatetime +Suggests: python-psycopg2-doc +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 asynchronous operations for the really brave + programmer. + . + The main advantages of psycopg2 are that it supports the full Python DBAPI-2.0 + and being thread safe at level 2. It also includes some extensions to the + standard DBAPI-2.0 to allow for better thread performance. + +Package: python-psycopg2-dbg +Priority: extra +Architecture: any +Section: debug +Depends: python-psycopg2 (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends} +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 + 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. + . + This package contains the extensions built for the Python debug interpreter. + +Package: python3-psycopg2 +Architecture: any +Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} +Suggests: python-psycopg2-doc +Provides: ${python3:Provides} +Description: Python 3 module for PostgreSQL + psycopg is a PostgreSQL database adapter for the Python3 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 asynchronous operations for the really brave + programmer. + . + The main advantages of psycopg2 are that it supports the full Python DBAPI-2.0 + and being thread safe at level 2. It also includes some extensions to the + standard DBAPI-2.0 to allow for better thread performance. + +Package: python3-psycopg2-dbg +Priority: extra +Architecture: any +Section: debug +Depends: python3-psycopg2 (= ${binary:Version}), python3-dbg, ${shlibs:Depends}, ${misc:Depends} +Description: Python 3 module for PostgreSQL (debug extension) + psycopg is a PostgreSQL database adapter for the Python3 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. + . + This package contains the extensions built for the Python debug interpreter. + +Package: python-psycopg2-doc +Architecture: all +Section: doc +Depends: ${sphinxdoc:Depends}, ${misc:Depends} +Suggests: python-psycopg2 | python3-psycopg2 +Description: Python module for PostgreSQL (documentation package) + 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 asynchronous operations for the really brave + programmer. + . + The main advantages of psycopg2 are that it supports the full Python DBAPI-2.0 + and being thread safe at level 2. It also includes some extensions to the + standard DBAPI-2.0 to allow for better thread performance. + . + This package contains the psycopg2 documentation --- psycopg2-2.6.1.orig/debian/copyright +++ psycopg2-2.6.1/debian/copyright @@ -0,0 +1,129 @@ +This package was debianized by Fabio Tranchitella on +Sun, 16 Jul 2006 21:10:01 +0200. + +psycopg2 can be downloaded from its homepage: + + http://initd.org/projects/psycopg + +Copyright: + + Copyright (C) 2001-2013 Federico Di Gregorio + Copyright (C) 2010-2014 Daniele Varrazzo + + For the files doc/copy_from.py and doc/copy_to.py: + Copyright (C) 2001-2005 Federico Di Gregorio + Copyright (C) 2002 Tom Jenkins + + For the file psycopg/xid_type.c: + Copyright (C) 2008 Canonical Ltd. + + For the files psycopg/xid.h, tests/test_connection.py, and + tests/test_dates.py: + Copyright (C) 2008-2011 James Henstridge + + For the files tests/test_cancel.py and tests/test_async.py + Copyright (C) 2010-2011 Jan Urbański + + For the file lib/errorcodes.py: + Copyright (C) 2006-2010 Johan Dahlin + + For the files psycopg/error.h and psycopg/diagnostics.h + Copyright (C) 2013 Matthew Woodcraft + + For the files doc/html/_static/*.js: + Copyright 2007-2014 by the Sphinx team, see AUTHORS. + + +License for psycopg2, ZPsycopgDA and psycopg2da: + +psycopg2 is free software: you can redistribute it and/or modify it +under the terms of the GNU Lesser General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +psycopg2 is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +License for more details. + +In addition, as a special exception, the copyright holders give +permission to link this program with the OpenSSL library (or with +modified versions of OpenSSL that use the same license as OpenSSL), +and distribute linked combinations including the two. + +You must obey the GNU Lesser General Public License in all respects for +all of the code used other than OpenSSL. If you modify file(s) with this +exception, you may extend this exception to your version of the file(s), +but you are not obligated to do so. If you do not wish to do so, delete +this exception statement from your version. If you delete this exception +statement from all source files in the program, then also delete it here. + +You should have received a copy of the GNU Lesser General Public License +along with psycopg2 (see the doc/ directory.) +If not, see . + +On Debian systems see /usr/share/common-licenses/LGPL-3 for details + +Alternative licenses +==================== + +Also, the following BSD-like license applies (at your option) to the +files following the pattern psycopg/adapter*.{h,c} and +psycopg/microprotocol*.{h,c}: + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product documentation + would be appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not + be misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source distribution. + + +License for the files tests/dbapi20.py and scripts/ext2html.py: + + These modules have been placed in the public domain. + + +doc/pep-0249.txt has been placed in the public domain + +Copyright (c) The Regents of the University of California. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + + +License and copyright for doc/html/_static/doctools.js, sidebar.js, +searchtools.js, basic.css, websupport.js, and default.css + * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + +See above for full BSD license text --- psycopg2-2.6.1.orig/debian/patches/local_inventory +++ psycopg2-2.6.1/debian/patches/local_inventory @@ -0,0 +1,18 @@ +Use local copies of object.inv for building documentation. +Doesn't need forwarding. +Patch by Scott Kitterman Feb 2, 2012 +Index: psycopg2-2.6/doc/src/conf.py +=================================================================== +--- psycopg2-2.6.orig/doc/src/conf.py 2015-04-24 10:48:33.877426955 -0400 ++++ psycopg2-2.6/doc/src/conf.py 2015-04-24 10:48:33.873426955 -0400 +@@ -63,8 +63,8 @@ + release = version + + intersphinx_mapping = { +- 'py': ('http://docs.python.org/', None), +- 'py3': ('http://docs.python.org/3.2', None), ++ 'py': ('/usr/share/doc/python-doc/html', None), ++ 'py3': ('/usr/share/doc/python3-doc/html', None), + } + + # Pattern to generate links to the bug tracker --- psycopg2-2.6.1.orig/debian/patches/series +++ psycopg2-2.6.1/debian/patches/series @@ -0,0 +1 @@ +local_inventory --- psycopg2-2.6.1.orig/debian/python-psycopg2-doc.doc-base +++ psycopg2-2.6.1/debian/python-psycopg2-doc.doc-base @@ -0,0 +1,11 @@ +Document: psycopg2 +Title: Psycopg2 Reference and API Documentation +Author: Daniele Varrazzo +Abstract: Psycopg2 is a Python module for PostgreSQL + This documentation contains a general reference of + Psycopg2 together with an API documentation +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-psycopg2-doc/html/index.html +Files: /usr/share/doc/python-psycopg2-doc/html/*.html --- psycopg2-2.6.1.orig/debian/python-psycopg2-doc.install +++ psycopg2-2.6.1/debian/python-psycopg2-doc.install @@ -0,0 +1,3 @@ +doc/src/_build/html usr/share/doc/python-psycopg2-doc/ +doc/src/_build/text usr/share/doc/python-psycopg2-doc/ +doc/pep-0249.txt usr/share/doc/python-psycopg2-doc/ --- psycopg2-2.6.1.orig/debian/rules +++ psycopg2-2.6.1/debian/rules @@ -0,0 +1,135 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +PYVERS=$(shell pyversions -r debian/control) +PY3VERS=$(shell py3versions -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 +DEFAULT_PYTHON3 = $(shell py3versions -d) +DEFAULT_BUILDIR = $(shell $(DEFAULT_PYTHON3) -c 'from distutils.command.build import build; from distutils.core import Distribution; b = build(Distribution()); b.finalize_options(); print(b.build_platlib)') + +configure: configure-stamp +configure-stamp: + dh_testdir + dh_quilt_patch + rm -f configure + touch configure-stamp + +build: configure build-stamp +build-stamp: + dh_testdir + for python in $(PYVERS); do \ + $$python setup.py build ; \ + done + for python3 in $(PY3VERS); do \ + $$python3 setup.py build ; \ + done + for python in $(PYVERS); do \ + $$python-dbg setup.py build ; \ + done + for python3 in $(PY3VERS); do \ + $$python3-dbg setup.py build ; \ + done + touch build-stamp + +clean: configure + dh_testdir + dh_testroot + rm -fr *-stamp build + -for python in $(PYVERS); do \ + $$python setup.py clean ; \ + done + -for python3 in $(PY3VERS); do \ + $$python3 setup.py clean ; \ + done + rm -rf $(CURDIR)/doc/src/_build + dh_quilt_unpatch + dh_clean + +build-arch: build +build-indep: + export PYTHONPATH=$(CURDIR)/$(DEFAULT_BUILDIR)/; \ + cd $(CURDIR)/doc/src; \ + make -f Makefile html; \ + make -f Makefile text + +install-arch: build-arch + dh_testdir + dh_testroot + dh_prep + dh_installdirs + # psycopg2 + for python in $(PYVERS); do \ + $$python setup.py install \ + --root=$(CURDIR)/debian/python-psycopg2 --no-compile $(py_setup_install_args); \ + done + for python3 in $(PY3VERS); do \ + $$python3 setup.py install \ + --root=$(CURDIR)/debian/python3-psycopg2 --no-compile --install-layout=deb; \ + done + for python in $(PYVERS); do \ + $$python-dbg setup.py install \ + --root=$(CURDIR)/debian/python-psycopg2-dbg --no-compile $(py_setup_install_args); \ + done + for python3 in $(PY3VERS); do \ + $$python3-dbg setup.py install \ + --root=$(CURDIR)/debian/python3-psycopg2-dbg --no-compile --install-layout=deb; \ + done + find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f + find debian/python-*-dbg -depth -empty -exec rmdir {} \; + rm -rf $(CURDIR)/debian/python3-psycopg2-dbg/usr/lib/python3/dist-packages/psycopg2/tests + +install-indep: build-indep + dh_testdir + dh_testroot + dh_prep + dh_install + +# Build architecture-independent files here. +binary-indep: build install-indep + dh_testdir + dh_testroot + dh_installdocs -i README.rst AUTHORS + dh_installchangelogs NEWS + dh_sphinxdoc -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install-arch + dh_testdir + dh_testroot + dh_installdocs -a README.rst AUTHORS + dh_installchangelogs NEWS + dh_link -a + dh_strip -ppython-psycopg2 --dbg-package=python-psycopg2-dbg + rm -rf debian/python-psycopg2-dbg/usr/share/doc/python-psycopg2-dbg + ln -s python-psycopg2 debian/python-psycopg2-dbg/usr/share/doc/python-psycopg2-dbg + dh_strip -ppython3-psycopg2 --dbg-package=python3-psycopg2-dbg + rm -rf debian/python3-psycopg2-dbg/usr/share/doc/python3-psycopg2-dbg + ln -s python3-psycopg2 debian/python3-psycopg2-dbg/usr/share/doc/python3-psycopg2-dbg + dh_compress -a -X.js -X_sources -Xobjects.inv + dh_fixperms -a + dh_makeshlibs -a + dh_python2 -a + dh_python3 -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- psycopg2-2.6.1.orig/debian/source/format +++ psycopg2-2.6.1/debian/source/format @@ -0,0 +1 @@ +1.0 --- psycopg2-2.6.1.orig/debian/watch +++ psycopg2-2.6.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.debian.net/psycopg2/psycopg2-([0-9][0-9\.\-]*).tar.gz debian uupdate