tags 547878 + patch pending thanks Hi Fabio, in the attempt to help out with the Python 2.6 transition I've took the liberty of fixing this bug by NMUing a fixed version, but don't worry is just to DELAYED/7; the patch is attached.
I delayed the upload a bit more than needed because my patch relies on /usr/share/python/python.mk, whereas you might prefer a more "crude" solution (to avoid bumping build-dep on python to a version which was not in Lenny). In any case, feel free to upload a better patched version if you prefer so. All the best. -- Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7 z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/ Dietro un grande uomo c'è ..| . |. Et ne m'en veux pas si je te tutoie sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
diff -u sqlobject-0.11.0/debian/changelog sqlobject-0.11.0/debian/changelog --- sqlobject-0.11.0/debian/changelog +++ sqlobject-0.11.0/debian/changelog @@ -1,3 +1,12 @@ +sqlobject (0.11.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/rules: pass --install-layout=deb to setup.py and avoid relying + on site-packages dir naming (Closes: #547878) + * debian/control: bump build dep on python to 2.5.4 (we need python.mk) + + -- Stefano Zacchiroli <z...@debian.org> Sun, 11 Oct 2009 22:56:26 +0200 + sqlobject (0.11.0-1) unstable; urgency=low * New upstream release. diff -u sqlobject-0.11.0/debian/rules sqlobject-0.11.0/debian/rules --- sqlobject-0.11.0/debian/rules +++ sqlobject-0.11.0/debian/rules @@ -2,6 +2,7 @@ # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. +include /usr/share/python/python.mk PYVERS=$(shell pyversions -r debian/control) build: build-stamp @@ -29,7 +30,8 @@ dh_installdirs for python in $(PYVERS); do \ $$python setup.py install --root=$(CURDIR)/debian/python-sqlobject --no-compile \ - --install-scripts=/usr/lib/$$python/site-packages/sqlobject/utilities \ + --install-layout=deb \ + --install-scripts=$(call py_libdir_sh, $$python)/sqlobject/utilities \ --single-version-externally-managed ; \ done # symlink for sqlobject-admin diff -u sqlobject-0.11.0/debian/control sqlobject-0.11.0/debian/control --- sqlobject-0.11.0/debian/control +++ sqlobject-0.11.0/debian/control @@ -1,7 +1,7 @@ Source: sqlobject Section: python Priority: optional -Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.3.5-7), python-all-dev, python-central (>= 0.5.0), python-setuptools (>= 0.6c9) +Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.5.4), python-all-dev, python-central (>= 0.5.0), python-setuptools (>= 0.6c9) Maintainer: Fabio Tranchitella <kob...@debian.org> Uploaders: Gustavo Noronha Silva <k...@debian.org>, Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org> Standards-Version: 3.8.3