Path: csiph.com!4.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.albasani.net!tahina.priv.at!bofh.it!news.nic.it!robomod From: Joseph Herlant Newsgroups: linux.debian.maint.python Subject: Re: Side effect of dropping python2 with -doc packages Date: Tue, 13 Aug 2019 20:10:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Aug 13 18:06:23 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=D3NfraftRE6cgpffWYwMFFezTVdlmAFBiv8UcIkGo30=; b=XXnxwckXo/YWs9+PkqvtfflmsgetLTyAhlmaAq7eGkZfs13zvBZ2LdXyQjHsMqVSvF KVVSOqZpILOJ2mQvssHjB7dElDzO8s1TYsdQDpM2tKvXPKL+/1LrksHIdYw69VXzQfFv vTZetNXiX0q37nEwJhFyW00ZWLCzfbUP05xfMLfNxIjiHb6MEWs8+5WPsGN3gNfRld8r YnmmYXKF6C0RHRq33Tv3E0v9OuLRgt3ZXtp799K0m7Dqku4M47VtnaCSBFC3d7fhebap JRdwIuMd/Dee9+Lz1CMFZCWpTx7pnfu43swN6vtVtdw8RNTwYUPOi5aX10sxaIrdUcAd AqhQ== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=D3NfraftRE6cgpffWYwMFFezTVdlmAFBiv8UcIkGo30=; b=ZlmJ949IcSS4jMMiTZmpyFFAgLFtJEDnEQtL+I8BB/Xbi5Zid8Vpgl4P+MxgTQ1l/r +z7RTkdx4hl2wKz0k/zPoYhodDbmTvVy596PiTcJd2aT78isYg3ccAwSRksN2tpTQNSm VdiniC9Mo4milwILYnnR+qOUXLOgY64vBdbc+HlWZPlOKevuFyYwIW8b8tr76nCO7gsI vMVn4tcCbtxgc8/Vmv810daRxXT7Yj8XYl1e+YUPCak9AcVFFzwDUXVfbjK0Npkr9+Ul JYYHcTjPQumCNr9+pbvPAVAm2xLC5wcEMZ57miU7tUKdPhVHAaX307hV7+4OyxX3yeo/ py7Q== X-Gm-Message-State: APjAAAWKouCvnmgbMH/Wx+4x1bRzuaXwZ2q9lg7shq3aheL//+/uPFn9 Yzl0Saf0s4j/nj0jtxbSNA978TAps7iAyJJE1VA8rA== X-Google-SMTP-Source: APXvYqzQg1Oo/jZHjiYI33GpU59n4JzmyR8pr+AcUuwvLtcMMmQdzIULnOcBxQvQTizcyt4WqxjTcZ/WqXBm+opOYhU= X-Received: by 2002:adf:fa01:: with SMTP id m1mr18598638wrr.254.1565719569700; Tue, 13 Aug 2019 11:06:09 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Mailing-List: archive/latest/17121 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAPQicOzmb63-axZHTts_CxwnkZLNbttn3idQbr1MjvVdGMG8yQ@mail.gmail.com Approved: robomod@news.nic.it Lines: 46 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 13 Aug 2019 11:05:33 -0700 X-Original-Message-ID: X-Original-References: <20190813174035.GC1759@belkar.wrar.name> Xref: csiph.com linux.debian.maint.python:11617 Hi Andrey, Thanks for your reply. On Tue, Aug 13, 2019 at 10:40 AM Andrey Rahmatullin wrote: > Yes, this is the third email on this in the last month, previous two > didn't get any replies. Sorry I didn't mean to anger you or be disrespectful in any way. My apologies if I did. I was off the list for a bit (because I unsubscribed from all of them for personal reasons) and didn't find what I was looking for while searching in the archive. > I don't think 12.3 mentions source packages or describes what to do when > there are multiple main subpackages. That's what I wanted to clarify as there are mention of "package" and "binary package" I wanted to make sure that package (as not "binary package") was referring to source package. > > 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 -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 > Note that there are two questions here, about the package name and about > the file path. For the first question the answer is in > https://lists.debian.org/debian-python/2019/07/msg00080.html: "Please keep > the python-foo-doc package. Do not rename it to python3-foo-doc. If > python-foo was providing documentation: move it to python3-foo or create > python-foo-doc (not python3-foo-doc!) binary package." Thanks for pointing out this one, I missed it during my research, > For the second question, I'm keeping the things as is if the docs are > installed into /python-foo-doc/ and change /python-foo/ to /python3-foo/ > otherwise. I'm not bumping the compat level so no /python-foo-doc/ to > /python-foo/ changes occur. Thanks for the explanation. Have a nice day, Joseph