tags 555795 + patch
thanks
Hi!
Please find attached a patch which makes the package buildable with
Python 2.6.
HTH and Thanks.
Kumar
diff -Nru --exclude changelog pygresql-4.0/debian/control pygresql-4.0/debian/control
--- pygresql-4.0/debian/control 2009-11-12 07:52:43.000000000 -0600
+++ pygresql-4.0/debian/control 2009-11-12 07:52:44.000000000 -0600
@@ -25,6 +25,7 @@
Priority: extra
Architecture: any
Depends: python-pygresql (= ${binary:Version}), python-dbg, ${shlibs:Depends}, python-egenix-mxdatetime-dbg
+XB-Python-Version: ${python:Versions}
Description: PostgreSQL module for Python (debug extension)
PyGreSQL is a Python module that interfaces to a PostgreSQL database. It
embeds the PostgreSQL query library to allow easy use of the powerful
diff -Nru --exclude changelog pygresql-4.0/debian/rules pygresql-4.0/debian/rules
--- pygresql-4.0/debian/rules 2009-11-12 07:52:43.000000000 -0600
+++ pygresql-4.0/debian/rules 2009-11-12 07:52:44.000000000 -0600
@@ -52,9 +52,9 @@
set -e; \
for v in $(PYVERS); do \
python$$v setup.py install \
- --root=$(CURDIR)/debian/python-pygresql; \
+ --root=$(CURDIR)/debian/python-pygresql --prefix=/usr; \
python$$v-dbg setup.py install \
- --root=$(CURDIR)/debian/python-pygresql-dbg; \
+ --root=$(CURDIR)/debian/python-pygresql-dbg --prefix=/usr; \
done
find debian -name '*.py[co]' | xargs -r rm -f
find debian/python-pygresql-dbg ! -type d ! -name '*_d.so' | xargs rm -f