Control: tags 751908 + wontfix
thanks

> When applications (e.g. tox) are Python 3 scripts but are contained in
> binary packages named python-foo instead of python3-foo, pybuild won't

dh_python3, not pybuild.

* pybuild is for building/installing/testing
* dh_python3 is for messing with already installed files
  (moving to the right location, adding postinst/prerm maintainer
  scripts, etc.) 

> apply Python 3 transformations to it.  For example, renaming
> usr/lib/python3.X/dist-packages to usr/lib/python3/dist-packages

I'm sorry, but our policy says python-foo packages should contain 2.X
code and 3.X should go to python3-foo packages.

(I know I told you on IRC I will implement it, but then realized it's
against policy - I mentioned it in the channel IIRC)

> However, in almost all such cases, the binary package will Depend:
> ${python3:Depends} so that should be a good enough indication that
> the binary package should get those transformations.

I will do something like this (checking for ${python3:Depends} or
${python:Depends} or ${pypy:Depends} in Depends) in foo packages, not in
python-foo ones


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

Reply via email to