Update the debian directory (debian release 2.0.6-3).

This commit is contained in:
James Henstridge 2008-01-17 23:59:42 +00:00
parent abb0a6f52c
commit e744242fe1
7 changed files with 130 additions and 12 deletions

59
debian/changelog vendored
View File

@ -1,3 +1,62 @@
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 <kobold@debian.org> Thu, 08 Nov 2007 15:07:05 +0100
psycopg2 (2.0.6-2) unstable; urgency=low
* Build a python-psycopg-dbg package
-- Scott Kitterman <scott@kitterman.com> Tue, 03 Ju1 2007 16:55:48 -0400
psycopg2 (2.0.6-1) unstable; urgency=low
* New upstream release.
* psycopg2da: removed, merged upstream.
-- Fabio Tranchitella <kobold@debian.org> Sat, 09 Jun 2007 22:38:23 +0200
psycopg2 (2.0.5.1-7) UNRELEASED; urgency=low
* debian/watch: added.
-- Fabio Tranchitella <kobold@debian.org> 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 <kobold@debian.org> 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 <kobold@debian.org> 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 <kobold@debian.org> 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 <kobold@debian.org> Fri, 10 Nov 2006 08:56:05 +0100
psycopg2 (2.0.5.1-2) unstable; urgency=low psycopg2 (2.0.5.1-2) unstable; urgency=low
* debian/control: added again a dependency on python-egenix-mxdatetime. * debian/control: added again a dependency on python-egenix-mxdatetime.

39
debian/control vendored
View File

@ -1,11 +1,13 @@
Source: psycopg2 Source: psycopg2
Section: python Section: python
Priority: optional Priority: optional
Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python-central (>= 0.5.0), python (>= 2.3.5-7), python-egenix-mx-base-dev, autoconf, libpq-dev 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.2.7) Build-Depends-Indep: zope-debhelper (>= 0.3.4)
Maintainer: Fabio Tranchitella <kobold@debian.org> Maintainer: Fabio Tranchitella <kobold@debian.org>
Standards-Version: 3.7.2 Standards-Version: 3.7.2.1
XS-Python-Version: all 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/?op=log
Package: python-psycopg2 Package: python-psycopg2
Architecture: any Architecture: any
@ -25,11 +27,38 @@ Description: Python module for PostgreSQL
cursors and make a conspicuous number of concurrent INSERTs or UPDATEs. cursors and make a conspicuous number of concurrent INSERTs or UPDATEs.
psycopg 2 also provides full asycronous operations for the really brave psycopg 2 also provides full asycronous operations for the really brave
programmer. 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: python
Depends: python-psycopg2 (= ${Source-Version}), python-dbg, python-egenix-mxdatetime-dbg, ${shlibs: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: zope-psycopgda2 Package: zope-psycopgda2
Architecture: all Architecture: all
Section: python Section: python
Depends: ${zope:Depends}, python-psycopg2 (>= ${Source-Version}) Depends: ${zope:Depends}, python-psycopg2 (>= ${source:Version})
Description: Zope database adapter based on python-psycopg Description: Zope database adapter based on python-psycopg2
The package contains the PostgreSQL database adapter for Zope 2.7, 2.8 and The package contains the PostgreSQL database adapter for Zope 2.7, 2.8 and
2.9 based on the psycopg2 Python module. 2.9 based on the psycopg2 Python module.
Package: python-psycopg2da
Architecture: all
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.

12
debian/copyright vendored
View File

@ -14,6 +14,9 @@ Copyright:
Copyright (C) 2001-2006 Federico Di Gregorio <fog@debian.org> Copyright (C) 2001-2006 Federico Di Gregorio <fog@debian.org>
Copyright (C) 2001 Michele Comitini <mcm@initd.org> Copyright (C) 2001 Michele Comitini <mcm@initd.org>
For psycopg2da:
Copyright (C) 2006 Fabio Tranchitella <kobold@debian.org>
For the files doc/copy_from.py and doc/copy_to.py: For the files doc/copy_from.py and doc/copy_to.py:
Copyright (C) 2001-2005 Federico Di Gregorio <fog@debian.org> Copyright (C) 2001-2005 Federico Di Gregorio <fog@debian.org>
Copyright (C) 2002 Tom Jenkins <tjenkins@devis.com> Copyright (C) 2002 Tom Jenkins <tjenkins@devis.com>
@ -25,7 +28,7 @@ Copyright:
Copyright (C) 2003 Daniele Varrazzo <daniele.varrazzo@gmail.com> Copyright (C) 2003 Daniele Varrazzo <daniele.varrazzo@gmail.com>
License for psycopg2 and ZPsycopgDA: License for psycopg2, ZPsycopgDA and psycopg2da:
psycopg is free software; you can redistribute it and/or modify psycopg is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -62,6 +65,13 @@ Alternative licenses for ZPsycopgDA:
published on the Zope web site, http://www.zope.org/Resources/ZPL. published on the Zope web site, http://www.zope.org/Resources/ZPL.
Alternative licenses for psycopg2da:
If you prefer you can use the Zope3 Database Adapter psycopg2da (i.e.,
every file inside the psycopg2da directory) user the ZPL license as
published on the Zope web site, http://www.zope.org/Resources/ZPL.
Alternative licenses for psycopg/adapter*.{j,c} and Alternative licenses for psycopg/adapter*.{j,c} and
psycopg/microprotocol*.{h.c}: psycopg/microprotocol*.{h.c}:

3
debian/python-psycopg2da.dzproduct vendored Normal file
View File

@ -0,0 +1,3 @@
Name: psycopg2da
ZopeVersions: 3
Global: yes

23
debian/rules vendored
View File

@ -16,6 +16,9 @@ build-stamp:
for python in $(PYVERS); do \ for python in $(PYVERS); do \
$$python setup.py build ; \ $$python setup.py build ; \
done done
for python in $(PYVERS); do \
$$python-dbg setup.py build ; \
done
touch build-stamp touch build-stamp
clean: configure clean: configure
@ -33,23 +36,33 @@ install-arch: build
dh_clean -k dh_clean -k
dh_installdirs dh_installdirs
# psycopg2 # psycopg2
for python in $(PYVERS); \ for python in $(PYVERS); do \
do $$python setup.py install --root=$(CURDIR)/debian/python-psycopg2 --no-compile; \ $$python setup.py install \
--root=$(CURDIR)/debian/python-psycopg2 --no-compile; \
done done
for python in $(PYVERS); do \
$$python-dbg setup.py install \
--root=$(CURDIR)/debian/python-psycopg2-dbg --no-compile; \
done
find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f
find debian/python-*-dbg -depth -empty -exec rmdir {} \;
install-indep: build install-indep: build
# Zope package # Zope package
dh_installzope -p zope-psycopgda2 ZPsycopgDA dh_installzope -p zope-psycopgda2 ZPsycopgDA
# Zope3 package
dh_installzope -p python-psycopg2da psycopg2da
# Build architecture-independent files here. # Build architecture-independent files here.
binary-indep: build install-indep binary-indep: build install-indep
dh_testdir dh_testdir
dh_testroot dh_testroot
dh_installdocs -i AUTHORS debian/README.zpsycopgda2 dh_installdocs -i AUTHORS
dh_installchangelogs -i dh_installchangelogs -i
dh_link -i dh_link -i
dh_compress -i dh_compress -i
dh_fixperms -i dh_fixperms -i
dh_pycentral -p python-psycopg2da
dh_installdeb -i dh_installdeb -i
dh_gencontrol -i dh_gencontrol -i
dh_md5sums -i dh_md5sums -i
@ -62,7 +75,9 @@ binary-arch: build install-arch
dh_installdocs -a README AUTHORS doc tests dh_installdocs -a README AUTHORS doc tests
dh_installchangelogs -a ChangeLog dh_installchangelogs -a ChangeLog
dh_link -a dh_link -a
dh_strip -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_compress -a dh_compress -a
dh_fixperms -a dh_fixperms -a
dh_makeshlibs -a dh_makeshlibs -a

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
version=3
http://www.initd.org/pub/software/psycopg/psycopg2-([0-9][0-9\.\-]*).tar.gz debian uupdate

View File

@ -1,4 +1,4 @@
Name: ZPsycopgDA Name: ZPsycopgDA
Directory: ZPsycopgDA:2 Directory: ZPsycopgDA:2
Package: zope-psycopgda2 Package: zope-psycopgda2
ZopeVersions: 2.9 2.8 2.7 ZopeVersions: >= 2.9