tags 617012 patch user ubuntu-de...@lists.ubuntu.com usertags 617012 ubuntu-patch oneiric thanks
On Mon, Mar 07, 2011 at 12:50:59AM +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. I left X-Python-Version unset because I couldn't see a minimum version requirement anywhere in the source; if you know better, please fill it in. * Convert to dh_python2. diff -u python-libpcap-0.6.2/debian/rules python-libpcap-0.6.2/debian/rules --- python-libpcap-0.6.2/debian/rules +++ python-libpcap-0.6.2/debian/rules @@ -24,7 +24,7 @@ dh_installdirs for i in $(PYVERS); do\ - python$$i setup.py install --no-compile --root=$(CURDIR)/debian/python-libpcap; \ + python$$i setup.py install --no-compile --root=$(CURDIR)/debian/python-libpcap --install-layout=deb; \ done; dh_strip @@ -34,7 +34,7 @@ dh_installchangelogs ChangeLog dh_installdocs dh_installexamples - dh_pycentral + dh_python2 dh_link dh_compress dh_fixperms diff -u python-libpcap-0.6.2/debian/control python-libpcap-0.6.2/debian/control --- python-libpcap-0.6.2/debian/control +++ python-libpcap-0.6.2/debian/control @@ -1,17 +1,15 @@ Source: python-libpcap Section: python -XS-Python-Version: all Priority: optional Maintainer: Thomas Bläsing <thoma...@pool.math.tu-berlin.de> Standards-Version: 3.7.2 -Build-Depends: python-all-dev (>= 2.4.4-6~), python-central (>= 0.5), debhelper (>= 5.0.37.1), libpcap0.8 (>= 0.9.5-1~), libpcap0.8-dev (>= 0.9.5-1~), swig (>= 1.3.31-1~) +Build-Depends: python-all-dev (>= 2.6.6-3~), debhelper (>= 5.0.37.1), libpcap0.8 (>= 0.9.5-1~), libpcap0.8-dev (>= 0.9.5-1~), swig (>= 1.3.31-1~) Homepage: http://sourceforge.net/projects/pylibpcap Package: python-libpcap Architecture: any Depends: ${shlibs:Depends}, ${python:Depends}, libpcap0.8 (>= 0.9.5-1) Provides: ${python:Provides} -XB-Python-Version: ${python:Versions} Description: python libpcap wrapper Python module for the libpcap packet capture library, based on the original python libpcap module by Aaron Rhodes. Thanks, -- Colin Watson [cjwat...@ubuntu.com] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org