Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Stefano Rivera Newsgroups: linux.debian.maint.python Subject: Re: pybuild and optional dependencies Date: Sun, 24 Dec 2023 14:00:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Dec 24 12:52:50 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-106.936 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.066, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 Mail-Followup-To: PICCA Frederic-Emmanuel , debian-python X-Gpg-Public-Key: http://www.rivera.za.net/stefano.gpg MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: NeoMutt/20220429 X-Mailing-List: archive/latest/21323 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20231224125204.tun6eqyxcgr6i2oq@satie.tumbleweed.org.za Approved: robomod@news.nic.it Lines: 19 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python X-Original-Date: Sun, 24 Dec 2023 12:52:04 +0000 X-Original-Message-ID: <20231224125204.tun6eqyxcgr6i2oq@satie.tumbleweed.org.za> X-Original-References: <1767546796.1460425.1702892512835.JavaMail.zimbra@synchrotron-soleil.fr> Xref: csiph.com linux.debian.maint.python:15375 Hi PICCA (2023.12.18_09:41:52_+0000) > When I compile the package, I got the dh_python3 computed runtime dependencies from the install_requires. > > Now I would like to build this package but with the larix optional dependencies. > > so I added all the dependencies in the Build-Depends, but dh_python3 still produce the previous dependencies. > > How can I teach pybuild that I really want xraylarch[larix] ? This is really a dh_python3 question, it generates the dependencies. Pass --depends-section=larix (or recommends/suggests as appropriate). Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272