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


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

Telling dh_python3 to skip a .so file

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Telling dh_python3 to skip a .so file
Date Sat, 07 Nov 2015 20:20:01 +0100
Message-ID <qshbP-6oV-5@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Nov 7 19:16:59 2015
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-12.467 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lb0-f178.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=hlTLntAin+Qh1v8qt0/5XI3HRmk+ziEAnhYLTm2Rs2M=; b=QVwtRNFqyHxx75oaQefdsGS02mK/QDy05z0xcycyO4FFjj1RivJVcn77H9fs0JyJmn CAjNVuw9braQSXyC6DKyCUBZY4hjIsDdHMSgvKZqzX+lHDcTFHrinw8PY99HoU4RNbC1 73c1bmBZ5cNZ6P39h3SJJQo2CmGBwRFAfo4dUizjIxqburhwdvWaT8hS3PyF7w1aUiof wVudL+AEi5liTn7s832jUd26jV30Itv7LzOkYAIJuFzVs0y2jAizL+48ROPyDxbTACy6 3zV45qksMvwioHtkMBZe6ewiuo/kKhx62iT+RPRjrY57LOd/pwfAUvMRT4OLvEB4thg8 mvcw==
X-Received by 10.112.137.34 with SMTP id qf2mr10226260lbb.35.1446923803527; Sat, 07 Nov 2015 11:16:43 -0800 (PST)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF"
Content-Disposition inline
User-Agent Mutt/1.5.24 (2015-08-30)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13148
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20151107191640.GA17141@mitya57.me
Approved robomod@news.nic.it
Lines 47
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 7 Nov 2015 22:16:40 +0300
X-Original-Message-ID <20151107191640.GA17141@mitya57.me>
Xref csiph.com linux.debian.maint.python:7835

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi all,

In one of my packages (namely gnome-applets), I have a .so file that is not a
Python extension (but rather a generic plugin). However dh_python3 thinks that
it *is* a Python extension, adds an ABI tag to its name and then makes the
package depend on python3 (<< 3.5).

How can I tell dh_python3 to ignore that file? After adding --no-ext-rename it
does not rename it, but still considers it when calculating the dependencies
(and thus still adds the python3 (<< 3.5) thing). I also tries -X but that
didn't change anything.

Not running dh_python3 on that binary package is also not an option: that binary
package contains a Python script that needs its shebang changed.

Any ideas?

--
Dmitry Shachnev

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


Thread

Telling dh_python3 to skip a .so file Dmitry Shachnev <mitya57@debian.org> - 2015-11-07 20:20 +0100
  Re: Telling dh_python3 to skip a .so file Piotr Ożarowski <piotr@debian.org> - 2015-11-09 10:20 +0100
    Re: Telling dh_python3 to skip a .so file Dmitry Shachnev <mitya57@debian.org> - 2015-11-10 13:40 +0100
      Re: Telling dh_python3 to skip a .so file Dmitry Shachnev <mitya57@debian.org> - 2015-11-10 14:00 +0100
      Re: Telling dh_python3 to skip a .so file Piotr Ożarowski <piotr@debian.org> - 2015-11-10 14:00 +0100

csiph-web