On 29.09.2010 22:43, Joey Hess wrote:
Matthias Klose wrote:
Please add support to build python3-* packages; in #597099 you'll
see what is currently necessary to add building a python3-* package.
It would be nice if the overrides don't explicitly need to be added.
The various python3-* packages are currently in experimental.

Debhelper currently uses `pversions' to iterate over the requested
python versions. Maybe it is just enough to iterate over the output
of py3versions too, if dh is called --with python3?

Is there not something in debian/control that can be examined to see if
the package is intended to be built for python3?

yes, three new substitution variables for the binary packages and the Python3-Version attribute (however the latter is not required, afaiu), e.g.

Package: python3-tk
Architecture: any
Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
Provides: ${python3:Provides}
Suggests: tix, python3-tk-dbg
XB-Python3-Version: ${python3:Versions}
Description: Tkinter - Writing Tk applications with Python 3.x
 A module for writing portable GUI applications with Python 3.x using Tk.
 Also known as Tkinter.

It will not be uncommon that a source package builds both python-foo and python3-foo.

  Matthias



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to