Re: On robustness of maintainer scripts

2013-05-13 Thread Jakub Wilk
* Steve Langasek , 2013-05-13, 12:21: why not generate maintainer scripts without pycompile at all? I wanted to delegate as much as possible to interpreter packages, but your idea with temp. files is even better - maintainer scripts can look like this: | touch /usr/lib/pythonX.Y/dist-packages

Re: On robustness of maintainer scripts

2013-05-13 Thread Jakub Wilk
* Jakub Wilk , 2013-05-10, 00:41: postinst [...] Test-case (in a squeeze chroot, with wheezy added to sources.lists): # dpkg --unpack cpuset_1.5.6-2_all.deb # apt-get install -t squeeze python2.6 # apt-get install -t wheezy python gcc-4.4 # dpkg --force-depends -r libssl0.9.8 # dpkg -i

Re: dh9: dh_python2 with dh_sphinxdoc: missing /usr/bin and /usr/lib in deb

2013-05-13 Thread Mathias Behrle
* Jakub Wilk: " Re: dh9: dh_python2 with dh_sphinxdoc: missing /usr/bin and /usr/lib in deb" (Mon, 13 May 2013 20:26:39 +0200): > * Mathias Behrle , 2013-05-13, 20:13: >>I want to create a separate package tryton-modules-doc from the sphinx >>documentation contained in tryton-server. >> >>The p

Re: dh9: dh_python2 with dh_sphinxdoc: missing /usr/bin and /usr/lib in deb

2013-05-13 Thread Jakub Wilk
* Mathias Behrle , 2013-05-13, 20:13: I want to create a separate package tryton-modules-doc from the sphinx documentation contained in tryton-server. The packages are building without error, but in the final deb of the server package (tryton-server) the files for /usr/bin and /usr/lib are mi

dh9: dh_python2 with dh_sphinxdoc: missing /usr/bin and /usr/lib in deb

2013-05-13 Thread Mathias Behrle
Hi all, I want to create a separate package tryton-modules-doc from the sphinx documentation contained in tryton-server. The packages are building without error, but in the final deb of the server package (tryton-server) the files for /usr/bin and /usr/lib are missing. Inspecting debian/tryton-s

Re: On robustness of maintainer scripts

2013-05-13 Thread Steve Langasek
On Sat, May 11, 2013 at 12:29:07AM +0200, Piotr Ożarowski wrote: > [Jakub Wilk, 2013-05-10] > > postinst > > > [...] > > Proposed solution: > > 1) Wait until #671711 is fixed. > > 3) Make pycompile a shell script that does only two simple things: > > - write options it was called with to a

Re: On robustness of maintainer scripts

2013-05-13 Thread Piotr Ożarowski
[Jakub Wilk, 2013-05-12] > * Piotr Ożarowski , 2013-05-11, 00:29: > >why not generate maintainer scripts without pycompile at all? > > - There are hundreds of packages that use py{compile,clean} in the > maintainer script. The script needs to continue to exist at least > until jessie is released.