Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10298 > unrolled thread
| Started by | "Weatherby,Gerard" <gweatherby@uchc.edu> |
|---|---|
| First post | 2018-03-23 20:20 +0100 |
| Last post | 2018-03-23 22:40 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.maint.python
pybuild python3 postinst "Weatherby,Gerard" <gweatherby@uchc.edu> - 2018-03-23 20:20 +0100
Re: pybuild python3 postinst Andrey Rahmatullin <wrar@debian.org> - 2018-03-23 20:40 +0100
RE: pybuild python3 postinst "Weatherby,Gerard" <gweatherby@uchc.edu> - 2018-03-23 22:40 +0100
| From | "Weatherby,Gerard" <gweatherby@uchc.edu> |
|---|---|
| Date | 2018-03-23 20:20 +0100 |
| Subject | pybuild python3 postinst |
| Message-ID | <vwAoi-2sr-9@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
I have a python package that produces both python2 and python3 modules; e.g. using debian/rules:
export PYBUILD_NAME=hello
%:
dh $@ --with python2,python3 --buildsystem=pybuild
----
My test debian/postinst is:
case "$1" in
configure)
echo "have a nice day"
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
---
The resulting python-hello.postinst is as I'd expect, with DEBHELPER replaced, but the python3-hello.postinst is just the generated boilerplate. How can I get the python3-hello.postinst to work the same as the python-hello version?
--
Gerard Weatherby| Application Architect
NMRbox | Department of Molecular Biology and Biophysics | UConn Health
263 Farmington Avenue, Farmington, CT 06030-6406
Phone: 860 679 8484
uchc.edu
[toc] | [next] | [standalone]
| From | Andrey Rahmatullin <wrar@debian.org> |
|---|---|
| Date | 2018-03-23 20:40 +0100 |
| Message-ID | <vwAHE-2Dm-11@gated-at.bofh.it> |
| In reply to | #10298 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Mar 23, 2018 at 06:23:21PM +0000, Weatherby,Gerard wrote: > My test debian/postinst is: Debhelper config files without the subpackage package name apply to the first subpackage and not to all subpackages as you apparently think. -- WBR, wRAR
[toc] | [prev] | [next] | [standalone]
| From | "Weatherby,Gerard" <gweatherby@uchc.edu> |
|---|---|
| Date | 2018-03-23 22:40 +0100 |
| Message-ID | <vwCzM-3Wi-11@gated-at.bofh.it> |
| In reply to | #10300 |
[Multipart message — attachments visible in raw view] — view raw
Ah, that explains it. Thanks. On 2018-03-23 15:36:50-04:00 Andrey Rahmatullin wrote: On Fri, Mar 23, 2018 at 06:23:21PM +0000, Weatherby,Gerard wrote: &gt; My test debian/postinst is: Debhelper config files without the subpackage package name apply to the first subpackage and not to all subpackages as you apparently think. -- WBR, wRAR
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web