tags 617024 patch user [email protected] usertags 617024 ubuntu-patch oneiric thanks
On Mon, Mar 07, 2011 at 12:50:58AM +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 python-levenshtein-0.10.1/debian/control python-levenshtein-0.10.1/debian/control --- python-levenshtein-0.10.1/debian/control +++ python-levenshtein-0.10.1/debian/control @@ -2,15 +2,15 @@ Section: python Priority: optional Maintainer: Nicolas FRANCOIS (Nekral) <[email protected]> -Build-Depends: python-all-dev (>= 2.5.3-1~), python-central (>= 0.5), debhelper (>= 5.0.37.2), quilt (>= 0.40) -XS-Python-Version: all +Build-Depends: python-all-dev (>= 2.6.6-3~), debhelper (>= 5.0.37.2), quilt (>= 0.40) +X-Python-Version: >= 2.2 Standards-Version: 3.7.3 Homepage: https://sourceforge.net/project/showfiles.php?group_id=91920&package_id=260161 Package: python-levenshtein Architecture: any Depends: ${shlibs:Depends}, ${python:Depends} -XB-Python-Version: ${python:Versions} +Provides: ${python:Provides} Description: extension for computing string similarities and edit distances The Levenshtein module computes Levenshtein distances, similarity ratios, generalized medians and set medians of Unicode or non-Unicode strings. diff -u python-levenshtein-0.10.1/debian/rules python-levenshtein-0.10.1/debian/rules --- python-levenshtein-0.10.1/debian/rules +++ python-levenshtein-0.10.1/debian/rules @@ -52,7 +52,7 @@ dh_strip 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]

