Package: file Version: 5.04-6 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu oneiric ubuntu-patch
python-support is now officially deprecated in Debian: http://article.gmane.org/gmane.linux.debian.devel.python/6948 Attached is a patch which converts file to use the recommended dh_python2. It follows this guide: http://wiki.debian.org/Python/TransitionToDHPython2
diff -u file-5.04/debian/rules file-5.04/debian/rules --- file-5.04/debian/rules +++ file-5.04/debian/rules @@ -105,7 +105,7 @@ dh_install --sourcedir=debian/tmp dh_lintian dh_link - dh_pysupport + dh_python2 ifeq (,$(findstring -i, $(DH_OPTIONS))) dh_strip -Npython-magic -Npython-magic-dbg DH_OPTIONS= dh_strip -ppython-magic --dbg-package=python-magic-dbg reverted: --- file-5.04/debian/pycompat +++ file-5.04.orig/debian/pycompat @@ -1 +0,0 @@ -2 diff -u file-5.04/debian/control file-5.04/debian/control --- file-5.04/debian/control +++ file-5.04/debian/control @@ -5,13 +5,12 @@ Uploaders: Daniel Baumann <dan...@debian.org>, Judit Foglszinger <fgr...@freenet.de> Build-Depends: - debhelper (>= 7.4.3~), autotools-dev, python, python-all-dev, python-all-dbg, - python-support, quilt (>= 0.46-7), zlib1g-dev + debhelper (>= 7.4.3~), autotools-dev, python (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~), + python-all-dbg (>= 2.6.6-3~), quilt (>= 0.46-7), zlib1g-dev Standards-Version: 3.9.0 Homepage: http://www.darwinsys.com/file/ Vcs-Browser: http://git.debian-maintainers.org/?p=daniel/file.git Vcs-Git: git://git.debian-maintainers.org/git/daniel/file.git -XS-Python-Version: all Package: file Section: utils @@ -54,7 +53,6 @@ Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends} Provides: ${python:Provides} Suggests: python-magic-dbg -XB-Python-Version: ${python:Versions} Description: File type determination library using "magic" numbers (Python bindings) This library can be used to classify files according to magic number tests. It implements the core functionality of the file command.
signature.asc
Description: OpenPGP digital signature