[Python-modules-team] Bug#597099: build a python3-xdg package (using debhelper v7)

Matthias Klose doko at debian.org
Thu Sep 16 15:26:28 UTC 2010


Package: pyxdg
Version: 0.19-2
Tags: patch

attached is a patch to build a python3-xdg package; I have no interest in pyxdg 
itself, just took it as an example for a package using debhelper v7.

The required changes are:

  - Build-depend on the python3-* packages corresponding to the
    existing python-* dependencies.

  - python3-* binary package entry in the control file.

  - Use of distribute/setuptools instead of distutils to automagically
    call 2to3 for the source code conversion.  Please check the
    converted code before uploading a package.

  - Add .install files, now necessary, because two binary packages
    are built.

  - Call dh with the option `--with python3'.  The python-xdg package
    could be built using dh_python2 too. In that case call dh with
    `--with python2,python3' and remove the build dependency on
    python-support.

  - Provide override targets for dh_auto_clean, dh_auto_build and
    dh_auto_install.


Required build dependencies can be found in experimental.  Please consider 
uploading the package to experimental, and/or later to sid. The release team 
will consider freeze exceptions for python3-* packages. See
http://lists.debian.org/debian-python/2010/09/msg00021.html

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pyxdg.debdiff
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20100916/fcd52ec3/attachment.txt>


More information about the Python-modules-team mailing list