[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_python2 and nevow



* Vincent Bernat <bernat@debian.org>, 2011-03-08, 18:33:
Could someone look at "nevow" in the repository. I have upgraded it to use dh_python2 (from python-central). However, the "Python-Version" field in the binary package did disappear, ${python:Breaks} is expanded to nothing and I have a new lintian warning.

debian/control (partial):

Source: nevow
Build-Depends: debhelper (>= 5.0.38), cdbs (>= 0.4.90~),
              python (>= 2.6.6-3), python-setuptools (>= 0.6b3)
Build-Depends-Indep: python-twisted-core (>= 10.1.0-1~),
                    python-twisted-web (>= 10.1.0-1~),
                    python-twisted-lore
X-Python-Version: >= 2.4

Package: python-nevow
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, dpkg (>= 1.14.17~),
        python-twisted-core (>= 10.1.0-1~), python-twisted-web (>= 10.1.0-1~)
Provides: ${python:Provides}
Replaces: python2.3-nevow (<< 0.7.0-1.1), python2.4-nevow (<< 0.7.0-1.1)
Breaks: python2.3-nevow (<< 0.7.0-1.1), python2.4-nevow (<< 0.7.0-1.1),
       ${python:Breaks}

Apparently dh_python2 doesn't cope with Breaks spanning across multiple physical lines. Yay for new and shiny helpers.

--
Jakub Wilk


Reply to: