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

From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Telling dh_python3 to skip a .so file
Date 2015-11-07 20:20 +0100
Message-ID <qshbP-6oV-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | 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