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


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

Re: Telling dh_python3 to skip a .so file

From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Telling dh_python3 to skip a .so file
Date 2015-11-10 14:00 +0100
Message-ID <qtgGJ-5by-3@gated-at.bofh.it> (permalink)
References <qshbP-6oV-5@gated-at.bofh.it> <qsQMi-4tx-17@gated-at.bofh.it> <qtgno-53E-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> 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-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/bin/foo,/usr/bin/bar,' $CURDIR/debian/gnome-applets/usr/lib/gnome-applets/foo

not calling dh_python3 at all and add required interpreter to Depends by
hand would be my suggestion. There are no other options right now (and
I don't really plan to add them)
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

Back to linux.debian.maint.python | Previous | NextPrevious 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