tags 617016 patch user [email protected] usertags 617016 ubuntu-patch oneiric thanks
On Mon, Mar 07, 2011 at 12:51:03AM +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-pcs-0.5+debian/debian/control python-pcs-0.5+debian/debian/control --- python-pcs-0.5+debian/debian/control +++ python-pcs-0.5+debian/debian/control @@ -2,14 +2,12 @@ Section: net Priority: extra Maintainer: Robert S. Edmonds <[email protected]> -Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), dpatch, texlive-latex-recommended +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.6.6-3~), dpatch, texlive-latex-recommended Standards-Version: 3.7.2 -XS-Python-Version: all Package: python-pcs Architecture: all Depends: ${python:Depends}, python-pypcap -XB-Python-Version: ${python:Versions} Description: Packet Construction Set for Python PCS is a set of Python modules and objects that make building network protocol code easier for the protocol developer. It provides functionality diff -u python-pcs-0.5+debian/debian/rules python-pcs-0.5+debian/debian/rules --- python-pcs-0.5+debian/debian/rules +++ python-pcs-0.5+debian/debian/rules @@ -24,13 +24,13 @@ dh_testdir dh_testroot dh_clean -k - for python in $(PYVERS); do $$python setup.py install --no-compile --root=debian/$(PKG); done + for python in $(PYVERS); do $$python setup.py install --no-compile --root=debian/$(PKG) --install-layout=deb; done binary-indep: build install binary-arch: build install dh_testdir dh_testroot - dh_pycentral + dh_python2 dh_installchangelogs dh_installdocs dh_installexamples Thanks, -- Colin Watson [[email protected]] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

