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


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

Re: pybuild and optional dependencies

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: pybuild and optional dependencies
Date Sun, 24 Dec 2023 14:00:01 +0100
Message-ID <HOwff-fOp6-3@gated-at.bofh.it> (permalink)
References <HMiJr-eokf-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Dec 24 12:52:50 2023
Old-Return-Path <stefano@rivera.za.net>
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 <frederic-emmanuel.picca@synchrotron-soleil.fr>, debian-python <debian-python@lists.debian.org>
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 <debian-python@lists.debian.org> archive/latest/21323
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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 <debian-python@lists.debian.org>
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

Show key headers only | View raw


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

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


Thread

pybuild and optional dependencies PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2023-12-18 11:10 +0100
  Re: pybuild and optional dependencies Stefano Rivera <stefanor@debian.org> - 2023-12-24 14:00 +0100

csiph-web