Where to put docs of a -doc package for python 2 + 3 modules?

2018-03-12 Thread W. Martin Borgert
Hi, policy (12.3) says, that putting the contents of package-doc into /usr/share/doc/package/ (main package) is preferred over /usr/share/doc/package-doc/. debhelper detects the Python 2 package as main package. One can override this to the path for the Python 3 package, but both feels wrong to me

Re: Where to put docs of a -doc package for python 2 + 3 modules?

2018-03-12 Thread Simon McVittie
On Mon, 12 Mar 2018 at 11:16:16 +0100, W. Martin Borgert wrote: > policy (12.3) says, that putting the contents of package-doc > into /usr/share/doc/package/ (main package) is preferred over > /usr/share/doc/package-doc/. debhelper detects the Python 2 > package as main package. One can override th

Re: Where to put docs of a -doc package for python 2 + 3 modules?

2018-03-12 Thread W. Martin Borgert
Quoting Simon McVittie : In python-mpd-doc and python-dbus-doc, I installed the real documentation files in /u/s/d/python-*-doc, but placed symlinks to them in both /u/s/d/python-* and /u/s/d/python3-*. Perhaps that's a reasonable way to achieve the spirit of the Policy ยง12.3 recommendation while

Re: Where to put docs of a -doc package for python 2 + 3 modules?

2018-03-12 Thread Thomas Goirand
On 03/12/2018 11:16 AM, W. Martin Borgert wrote: > Hi, > > policy (12.3) says, that putting the contents of package-doc > into /usr/share/doc/package/ (main package) is preferred over > /usr/share/doc/package-doc/. debhelper detects the Python 2 > package as main package. One can override this to

Re: Where to put docs of a -doc package for python 2 + 3 modules?

2018-03-12 Thread W. Martin Borgert
On 2018-03-12 23:15, Thomas Goirand wrote: > But what now that python-foo is gone? Should I rename the doc package? No, but that's just my gut feeling.

Re: Where to put docs of a -doc package for python 2 + 3 modules?

2018-03-12 Thread Ghislain Vaillant
2018-03-12 22:30 GMT+00:00 W. Martin Borgert : > On 2018-03-12 23:15, Thomas Goirand wrote: >> But what now that python-foo is gone? Should I rename the doc package? > > No, but that's just my gut feeling. Definitely not, indeed. The python- prefixes in python-foo and python-foo-doc are not exactl