Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7845
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Piotr Ożarowski <piotr@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Telling dh_python3 to skip a .so file |
| Date | Tue, 10 Nov 2015 14:00:02 +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> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Tue Nov 10 12:51:42 2015 |
| Old-Return-Path | <piotr@ozarowski.pl> |
| X-Amavis-Spam-Status | No, score=-5.499 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -6.1 |
| Mail-Followup-To | debian-python@lists.debian.org |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| X-Operating-System | Debian GNU/Linux (3.16.0-4-amd64) |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/13157 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20151110125126.GO16403@sar0.p1otr.com |
| Approved | robomod@news.nic.it |
| Lines | 24 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 10 Nov 2015 13:51:26 +0100 |
| X-Original-Message-ID | <20151110125126.GO16403@sar0.p1otr.com> |
| X-Original-References | <20151107191640.GA17141@mitya57.me> <20151109091222.GJ16403@sar0.p1otr.com> <20151110123045.GA4560@mitya57.me> |
| Xref | csiph.com linux.debian.maint.python:7845 |
Show key headers only | 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 | Next — Previous in thread | Find similar | Unroll 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