[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Telling dh_python3 to skip a .so file



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

Attachment: signature.asc
Description: PGP signature


Reply to: