tags 616989 patch
user [email protected]
usertags 616989 ubuntu-patch oneiric
thanks

On Mon, Mar 07, 2011 at 12:50:36AM +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-4suite-1.0.2/debian/rules python-4suite-1.0.2/debian/rules
--- python-4suite-1.0.2/debian/rules
+++ python-4suite-1.0.2/debian/rules
@@ -154,7 +154,7 @@
 #      dh_installinfo -i
        dh_installchangelogs -i
        dh_link -i
-       dh_pycentral -i
+       dh_python2 -i
        dh_compress -i -ppython-4suite-doc -X.xml -X.doc -X.py
        dh_fixperms -i
        dh_installdeb -i
@@ -179,7 +179,7 @@
        dh_installchangelogs -a
        dh_link -a
        dh_strip -a
-       dh_pycentral -a
+       dh_python2 -a
        dh_compress -a
        dh_fixperms -a
 #      dh_suidregister
reverted:
--- python-4suite-1.0.2/debian/pycompat
+++ python-4suite-1.0.2.orig/debian/pycompat
@@ -1 +0,0 @@
-2
diff -u python-4suite-1.0.2/debian/control python-4suite-1.0.2/debian/control
--- python-4suite-1.0.2/debian/control
+++ python-4suite-1.0.2/debian/control
@@ -2,8 +2,8 @@
 Section: python
 Priority: optional
 Maintainer: Raphael Bossek <[email protected]>
-XS-Python-Version: all
-Build-Depends: debhelper (>= 5.0.37.2), python-central (>= 0.5), bzip2, 
python-all-dev (>= 2.4), dpatch, docbook-to-man
+X-Python-Version: >= 2.3
+Build-Depends: debhelper (>= 5.0.37.2), bzip2, python-all-dev (>= 2.6.6-3~), 
dpatch, docbook-to-man
 Standards-Version: 3.8.0
 
 Package: python-4suite-xml
@@ -13,7 +13,6 @@
 Replaces: python2.3-4suite, python2.4-4suite, python-4suite-common, 
python-4suite-server, python-4suite-rdf
 Recommends: python-4suite-doc
 Provides: ${python:Provides}
-XB-Python-Version: ${python:Versions}
 Homepage: http://www.4suite.org
 Description: An open-source platform for XML and RDF processing
  4Suite is a Python-based toolkit for XML and RDF application development.
@@ -35,7 +34,6 @@
 
 Package: python-4suite-doc
 Section: doc
-XB-Python-Version: ${python:Versions}
 Architecture: all
 Homepage: http://www.4suite.org
 Description: Documentation for 4Suite

-- 
Colin Watson                                       [[email protected]]



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to