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

Path csiph.com!3.eu.feeder.erje.net!feeder.erje.net!news.unit0.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Joseph Herlant <aerostitch@debian.org>
Newsgroups linux.debian.maint.python
Subject Side effect of dropping python2 with -doc packages
Date Tue, 13 Aug 2019 19:20:01 +0200
Message-ID <yuICJ-4LH-7@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Aug 13 17:17:17 2019
Old-Return-Path <herlantj@gmail.com>
X-Amavis-Spam-Status No, score=-6.749 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=903RAGlKq18VQS4x1wmDHwF8OtQ5qMio2xmj9aZQtAs=; b=rxbtEzfD5LkqYK1yVxJwMZYg5Qz9Ss+YH6s/daErSyUKK3QJEKX5K7Asd0FfgidOpk GLGd1I4TmeeAffcapQbE9DcKnA3FY0RJV2YiYAQQ9GfbLlDLstm/U8OKW4J19r3C7rks hKGeC6T4nS0goT8FGsiCx16KHMMCn3JL460PWZ08vKi0TMGEvx29braj+ehJK9nzB9SQ BFuT/zWpIhSmYggpluEafUOEOa2Sldh/bWkD64yhRRLIwkQF3glULPRKFBqcIHZUAIkT jsgA7Oj6Al8RDDLptixgHNp4D8GnBsj+0VHP/gWiPoWffDUlMSWAIgnAIMq/i5j19wEW P+2g==
X-Gm-Message-State APjAAAWdLggwHCotMrrXOUs9wHRQZ4FfbERyIqkT/ZFtB23p9TvrYVEc SxkpqmTpKS3fHY3Y2NTmp0OoxsoI
X-Google-SMTP-Source APXvYqxol8XPgMso47S24ETe9eoZXOtWqJof+VKu2+CXKavCse5P8du1FepbnQ0Y+2hwMaVkunjwsQ==
X-Received by 2002:aa7:d916:: with SMTP id a22mr19348099edr.63.1565716624365; Tue, 13 Aug 2019 10:17:04 -0700 (PDT)
X-Received by 2002:a5d:62c1:: with SMTP id o1mr47838841wrv.293.1565716623948; Tue, 13 Aug 2019 10:17:03 -0700 (PDT)
MIME-Version 1.0
X-Gmail-Original-Message-ID <CAPQicOy1fS2y7ZXQXAoz5wu8m=LZ+a5jy9Hd6c=TSVODXm=J+Q@mail.gmail.com>
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17119
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAPQicOy1fS2y7ZXQXAoz5wu8m=LZ+a5jy9Hd6c=TSVODXm=J+Q@mail.gmail.com
Approved robomod@news.nic.it
Lines 35
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 13 Aug 2019 10:16:28 -0700
X-Original-Message-ID <CAPQicOy1fS2y7ZXQXAoz5wu8m=LZ+a5jy9Hd6c=TSVODXm=J+Q@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:11615

Show key headers only | 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