tags 616959 patch user [email protected] usertags 616959 ubuntu-patch oneiric thanks
On Mon, Mar 07, 2011 at 12:50:06AM +0000, Matthias Klose wrote: > The package build-depends on python-central, which should be > removed in time for the wheezy release. dh_python2 should be used instead. > dh_python2 installs into the same locations as pycentral, but > avoids the creation and removal of symlinks at package installation > and removal time, making the upgrade process more robust and faster. Here's a patch. * Convert to dh_python2. diff -u pybridge-0.3.0/debian/control pybridge-0.3.0/debian/control --- pybridge-0.3.0/debian/control +++ pybridge-0.3.0/debian/control @@ -2,15 +2,13 @@ Section: games Priority: optional Maintainer: David Watson <[email protected]> -Build-Depends: debhelper (>= 5.0.37.2), python -Build-Depends-Indep: python-central (>= 0.6) -XS-Python-Version: current +Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.6.6-3~) +X-Python-Version: >= 2.3 Standards-Version: 3.8.3 Homepage: http://pybridge.sourceforge.net/ Package: pybridge Architecture: all -XB-Python-Version: ${python:Versions} Depends: ${misc:Depends}, ${python:Depends}, python-gtk2 (>= 2.8), python-glade2 (>= 2.8), python-cairo (>= 1.0), python-configobj (>= 4.0), pybridge-common (>= 0.3) Suggests: pybridge-server (>= 0.3) Description: An online contract bridge game. Gtk client @@ -24,7 +22,6 @@ Package: pybridge-common Architecture: all -XB-Python-Version: ${python:Versions} Depends: ${misc:Depends}, ${python:Depends}, python-twisted-core (>= 2.0), python-zope.interface Suggests: pybridge-server (>= 0.3), pybridge (>= 0.3) Replaces: pybridge (<< 0.3.0-4) @@ -38,7 +35,6 @@ Package: pybridge-server Architecture: all -XB-Python-Version: ${python:Versions} Depends: ${misc:Depends}, ${python:Depends}, pybridge-common (>= 0.3), python-sqlobject (>= 0.7), python-configobj (>= 4.0) Suggests: pybridge (>= 0.3), python-pysqlite2 Description: Server files for pybridge reverted: --- pybridge-0.3.0/debian/pycompat +++ pybridge-0.3.0.orig/debian/pycompat @@ -1 +0,0 @@ -2 diff -u pybridge-0.3.0/debian/rules pybridge-0.3.0/debian/rules --- pybridge-0.3.0/debian/rules +++ pybridge-0.3.0/debian/rules @@ -89,7 +89,7 @@ dh_link dh_compress dh_fixperms - dh_pycentral + dh_python2 dh_installdeb dh_shlibdeps dh_gencontrol Thanks, -- Colin Watson [[email protected]] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

