Re: Telling dh_python3 to skip a .so file

2015-11-10 Thread Dmitry Shachnev
On Tue, Nov 10, 2015 at 01:51:26PM +0100, Piotr Ożarowski wrote: > there's --skip-private that will tell dh_python3 to not touch > /usr/lib/gnome-applets/ if you plan to ship this script in /usr/bin/, > if not, then: > > override_dh_auto_install: > dh_auto_install > sed -i -e '1s,/usr

Re: Telling dh_python3 to skip a .so file

2015-11-10 Thread Piotr Ożarowski
> Cześć Piotr, Привет! :) > When that file is built, it needs dh_python3 to replace shebang and add > correct ${python3:Depends}. Of course I can do it manually, but my question > was about how to make dh_python3 ignore a particular .so file, and I am > still interested in that. there's --skip-p

Re: Telling dh_python3 to skip a .so file

2015-11-10 Thread Dmitry Shachnev
Cześć Piotr, On Mon, Nov 09, 2015 at 10:12:22AM +0100, Piotr Ożarowski wrote: > I don't see a single file in gnome-applets_3.18.1-1_amd64.deb that > justifies invoking dh_python3. Why do you need it? If you actually have > a script that needs shebang rewrite (and I somehow missed it), you can > us

Re: Telling dh_python3 to skip a .so file

2015-11-09 Thread Piotr Ożarowski
Hi, [Dmitry Shachnev, 2015-11-07] > 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. I don't see a single file in gnome-applets_3.18.1-1_amd64.deb that justifies invoking dh_python3. Why do you n

Telling dh_python3 to skip a .so file

2015-11-07 Thread Dmitry Shachnev
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_pyt