[Python-modules-commits] r2664 - in /packages/psycopg/trunk/debian: changelog control rules
kitterma-guest at users.alioth.debian.org
kitterma-guest at users.alioth.debian.org
Tue Jul 3 20:50:44 UTC 2007
Author: kitterma-guest
Date: Tue Jul 3 20:50:44 2007
New Revision: 2664
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2664
Log:
Build a python-psycopg-dbg package
Modified:
packages/psycopg/trunk/debian/changelog
packages/psycopg/trunk/debian/control
packages/psycopg/trunk/debian/rules
Modified: packages/psycopg/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/psycopg/trunk/debian/changelog?rev=2664&op=diff
==============================================================================
--- packages/psycopg/trunk/debian/changelog (original)
+++ packages/psycopg/trunk/debian/changelog Tue Jul 3 20:50:44 2007
@@ -1,3 +1,9 @@
+psycopg (1.1.21-16) unstable; urgency=low
+
+ * Build a python-psycopg-dbg package
+
+ -- Scott Kitterman <scott at kitterman.com> Tue, 03 Ju1 2007 16:44:48 -0400
+
psycopg (1.1.21-15) unstable; urgency=low
* debian/watch: added.
Modified: packages/psycopg/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/psycopg/trunk/debian/control?rev=2664&op=diff
==============================================================================
--- packages/psycopg/trunk/debian/control (original)
+++ packages/psycopg/trunk/debian/control Tue Jul 3 20:50:44 2007
@@ -1,7 +1,7 @@
Source: psycopg
Section: python
Priority: optional
-Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python-central (>= 0.5), 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), python (>= 2.3.5-7), python-egenix-mx-base-dev, autoconf, libpq-dev
Build-Depends-Indep: zope-debhelper (>= 0.3.4)
Maintainer: Fabio Tranchitella <kobold at debian.org>
Standards-Version: 3.7.2
@@ -25,6 +25,15 @@
was designed for heavily multi-threaded applications. It also includes some
extensions to the standard DBAPI-2.0 to allow for better thread performance.
+Package: python-psycopg-dbg
+Priority: extra
+Architecture: any
+Depends: python-psycopg (= ${Source-Version}), python-dbg, ${shlibs:Depends}, python-egenix-mxdatetime-dbg
+Description: Python module for PostgreSQL (debug extension)
+ psycopg is a PostgreSQL database adapter for the Python programming language.
+ .
+ This package contains the extension built for the python debug interpreter.
+
Package: zope-psycopgda
Architecture: all
Section: python
Modified: packages/psycopg/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/psycopg/trunk/debian/rules?rev=2664&op=diff
==============================================================================
--- packages/psycopg/trunk/debian/rules (original)
+++ packages/psycopg/trunk/debian/rules Tue Jul 3 20:50:44 2007
@@ -20,6 +20,13 @@
pyver=`echo $$python | sed -e 's/python//g'`; \
./configure --with-mxdatetime-includes=/usr/include/$$python/mx \
--with-python=/usr/bin/$$python --with-python-version=$$pyver \
+ --with-postgres-includes=/usr/include/postgresql; \
+ done
+ for python in $(PYVERS); do \
+ rm -f config.cache; \
+ pyver=`echo $$python | sed -e 's/python//g'`; \
+ ./configure --with-mxdatetime-includes=/usr/include/$${python}_d/mx \
+ --with-python=/usr/bin/$$python-dbg --with-python-version=$$pyver \
--with-postgres-includes=/usr/include/postgresql; \
done
touch build-stamp
@@ -51,6 +58,18 @@
$(MAKE) clean && $(MAKE) && $(MAKE) install exec_prefix=`pwd`/debian/python-psycopg/usr \
prefix=`pwd`/debian/python-psycopg/usr; \
done
+ for python in $(PYVERS); do \
+ rm -f config.cache; \
+ pyver=`echo $$python | sed -e 's/python//g'`; \
+ ./configure --with-mxdatetime-includes=/usr/include/$${python}_d/mx \
+ --with-python=/usr/bin/$$python-dbg --with-python-version=$$pyver \
+ --with-postgres-includes=/usr/include/postgresql; \
+ mkdir -p `pwd`/debian/python-psycopg-dbg/usr/lib/$$python/site-packages; \
+ $(MAKE) clean && $(MAKE) && $(MAKE) install exec_prefix=`pwd`/debian/python-psycopg-dbg/usr \
+ prefix=`pwd`/debian/python-psycopg-dbg/usr; \
+ done
+ find debian/python-psycopg-dbg ! -type d ! -name '*_d.so' | xargs rm -f
+ find debian/python-psycopg-dbg -depth -empty -exec rmdir {} \;
install-indep: build
dh_testdir
@@ -87,7 +106,9 @@
dh_installdocs -a README AUTHORS NEWS TODO CREDITS SUCCESS RELEASE-1.0 doc tests
dh_installchangelogs -a ChangeLog
dh_link -a
- dh_strip -a
+ dh_strip -ppython-psycopg --dbg-package=python-psycopg-dbg
+ rm -rf debian/python-psycopg-dbg/usr/share/doc/python-psycopg-dbg
+ ln -s python-psycopg debian/python-psycopg-dbg/usr/share/doc/python-psycopg-dbg
dh_compress -a
dh_fixperms -a
dh_makeshlibs -a
More information about the Python-modules-commits
mailing list