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

On Mon, Mar 07, 2011 at 12:50:42AM +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.

reverted:
--- python-bibtex-1.2.5/debian/pycompat
+++ python-bibtex-1.2.5.orig/debian/pycompat
@@ -1 +0,0 @@
-2
diff -u python-bibtex-1.2.5/debian/control python-bibtex-1.2.5/debian/control
--- python-bibtex-1.2.5/debian/control
+++ python-bibtex-1.2.5/debian/control
@@ -2,8 +2,7 @@
 Section: python
 Priority: optional
 Maintainer: Chris Lawrence <[email protected]>
-Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), libglib2.0-dev, 
librecode-dev, python-central (>= 0.4.17)
-XS-Python-Version: all
+Build-Depends: debhelper (>= 7), python-all-dev (>= 2.6.6-3~), libglib2.0-dev, 
librecode-dev
 Standards-Version: 3.9.1
 Homepage: http://www.pybliographer.org/
 
@@ -11,7 +10,6 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
-XB-Python-Version: ${python:Versions}
 Conflicts: librecode0 (<< 3.6-10), pybliographer (<< 1.2.7-1)
 Description: Python interfaces to BibTeX and the GNU Recode library
  This module contains two extensions needed for pybliographer:
diff -u python-bibtex-1.2.5/debian/rules python-bibtex-1.2.5/debian/rules
--- python-bibtex-1.2.5/debian/rules
+++ python-bibtex-1.2.5/debian/rules
@@ -58,7 +58,7 @@
 
        # Add here commands to install the package into debian/python-bibtex.
        #$(MAKE) install DESTDIR=$(CURDIR)/debian/python-bibtex
-       (set -e; for v in $(PYVERS); do $$v ./setup.py install 
--prefix=$(CURDIR)/debian/python-bibtex/usr --no-compile; done)
+       (set -e; for v in $(PYVERS); do $$v ./setup.py install 
--root=$(CURDIR)/debian/python-bibtex --no-compile --install-layout=deb; done)
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -87,8 +87,7 @@
        dh_compress
        dh_fixperms
 #      dh_perl
-       dh_pycentral
-       dh_python
+       dh_python2
 #      dh_makeshlibs
        dh_installdeb
        dh_shlibdeps

Thanks,

-- 
Colin Watson                                       [[email protected]]



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

Reply via email to