Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11615

Side effect of dropping python2 with -doc packages

From Joseph Herlant <aerostitch@debian.org>
Newsgroups linux.debian.maint.python
Subject Side effect of dropping python2 with -doc packages
Date 2019-08-13 19:20 +0200
Message-ID <yuICJ-4LH-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi guys,

While tidying up some packages before taking some time off I realized
that some packages like django-tables had binary packages that took
the convention of creating -doc packages using <binary package>-doc (a
very long time ago).

The result was the location of the doc changed from
/usr/share/doc/python-django-tables2-doc to
/usr/share/doc/python-django-tables2 with the bump to compat 11.

But now that we dropped the python2 binary package we end up with the
"main package" not being detected anymore and the doc moved back to
/usr/share/doc/python-django-tables2-doc.

The way I read the policy, it seems the -doc package should be <source
package name>-doc. Am I correct to read it this way? (it's not
specified that it's binary but not source package either so I just
want to make sure I get it right)

I see several possibilities on how to handle that:
 * leave it as is and it's fine (but doesn't match Policy 12.3)
 * overwrite dh_installdocs to pass --doc-main-package
 * rename the -docs package to match <source package>-doc and have the
ftp-master rm the old one
 * have dh_installdocs translate python into python3 package names
when looking for the main package

Which one do you think would be preferable? (I know there are multiple
python package in this case so it would be interesting to have a
consensus on how to handle it)
Other preferable solutions?

Thanks for your help,
Joseph

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Side effect of dropping python2 with -doc packages Joseph Herlant <aerostitch@debian.org> - 2019-08-13 19:20 +0200
  Re: Side effect of dropping python2 with -doc packages Andrey Rahmatullin <wrar@debian.org> - 2019-08-13 19:50 +0200
    Re: Side effect of dropping python2 with -doc packages Joseph Herlant <herlantj@gmail.com> - 2019-08-13 20:10 +0200
      Re: Side effect of dropping python2 with -doc packages Andrey Rahmatullin <wrar@debian.org> - 2019-08-13 20:20 +0200

csiph-web