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


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

Re: Binary package contains no Python dependencies, how to convince ‘dh_python3’ to detect them?

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Binary package contains no Python dependencies, how to convince ‘dh_python3’ to detect them?
Date Mon, 16 Jul 2018 10:40:02 +0200
Message-ID <wc7cZ-1uE-1@gated-at.bofh.it> (permalink)
References <wbO0F-6sO-9@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Jul 16 08:34:13 2018
Old-Return-Path <piotr@ozarowski.pl>
X-Amavis-Spam-Status No, score=-5.862 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, SARE_HEAD_8BIT_SPAM=0.888] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Mail-Followup-To debian-python@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
User-Agent NeoMutt/20180223
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16118
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20180716083354.vs2ezwfr3qoquzmw@sar0.p1otr.com
Approved robomod@news.nic.it
Lines 15
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 16 Jul 2018 10:33:54 +0200
X-Original-Message-ID <20180716083354.vs2ezwfr3qoquzmw@sar0.p1otr.com>
X-Original-References <85va9g8zwm.fsf@benfinney.id.au>
Xref csiph.com linux.debian.maint.python:10699

Show key headers only | View raw


[Ben Finney, 2018-07-15]
> The Debian package ‘gandi-cli’ is building with none of the Python
> library dependencies detected, so the “Depends” field contains none of
> the required Python library packages. Why isn't ‘dh_python3’ reading the
> dependencies from ‘requires.txt’?

gandi-cli name suggests it's not providing public module and thus no
"public" requires.txt. If you want dh_python3 to read dependencies from
a random file - make sure dh_python3 knows which one it should use:

 override_dh_python3:
 	dh_python3 --requires path/to/file_with_deps.txt

-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

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


Thread

Binary package contains no Python dependencies, how to convince  ‘dh_python3’ to detect them? Ben Finney <bignose@debian.org> - 2018-07-15 14:10 +0200
  Re: Binary package contains no Python dependencies, how to convince ‘dh_python3’ to detect them? Piotr Ożarowski <piotr@debian.org> - 2018-07-16 10:40 +0200
    Re: Binary package contains no Python dependencies, how to convince  ‘dh_python3’ to detect them? Ben Finney <bignose@debian.org> - 2019-01-25 11:30 +0100

csiph-web