Re: [Bulk] Re: [SCM] dmedia/master: Add more substvar usage in debian/control
On Wed, Jan 12, 2011 at 06:35:17PM +0100, Alessio Treglia wrote: On Wed, Jan 12, 2011 at 4:12 PM, Jonas Smedegaard wrote: Any references for that? Sorry, no docs are available for now. However I got more information from some other PAPT/DPMT teams members, and here is a short summary: Thanks. I am fully aware that "some" (namely those in favor of it) encourage that we all switch. This would avoid them internally communicating with each other and decide on an official commonly agreed plan for Python handling. Looking forward to concrete usable references. Personally I prefer to keep Python packages backportable at least until Squeeze is out - and if possible without too much trouble until support for Lenny is dropped. As shown here [1], squeeze already provides dh_python2. True, but irrelevant to my personal preference pointed out above! - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: [Bulk] Re: [SCM] dmedia/master: Add more substvar usage in debian/control
On Wed, Jan 12, 2011 at 4:12 PM, Jonas Smedegaard wrote: > Any references for that? Sorry, no docs are available for now. However I got more information from some other PAPT/DPMT teams members, and here is a short summary: * Definitely dh_python{2,3] is the way of the future and it will replace all the other helpers. * Basically, switching from pycentral to dh_python2 is painless. * Switching fom python-support -> dh_python{2,3] needs to try to "import $module" (for _each_ module). Note that it could be a mess if there are packages which share the same namespace. In both cases, if the package provides only programs or private modules, there should not be any worry. > Personally I prefer to keep Python packages backportable at least until > Squeeze is out - and if possible without too much trouble until support for > Lenny is dropped. As shown here [1], squeeze already provides dh_python2. [1] http://packages.debian.org/changelogs/pool/main/p/python-defaults/python-defaults_2.6.6-3+squeeze4/changelog#versionversion2.6.5-1 -- Alessio Treglia | www.alessiotreglia.com Debian Developer | ales...@debian.org Ubuntu Core Developer | quadris...@ubuntu.com 0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0 ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: [Bulk] Re: [SCM] dmedia/master: Add more substvar usage in debian/control
On Wed, Jan 12, 2011 at 03:57:37PM +0100, Alessio Treglia wrote: On Wed, Jan 12, 2011 at 3:54 PM, Alessio Treglia wrote: On Wed, Jan 12, 2011 at 3:41 PM, Jonas Smedegaard wrote: Also, I heard rumors that switching from one Python helper to another may require special transitioning code in preinst/postinst. Not sure about the details - would appreciate pointers if anyone else knows. This is true when switching from python-support to python-central, moving the packaging from python-support to dh_python2 does not need that. Adopting dh_python2 on a new package now will ease the future transition (which should happen in Squeeze+1) to the newer helpers generation. Any references for that? Personally I prefer to keep Python packages backportable at least until Squeeze is out - and if possible without too much trouble until support for Lenny is dropped. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: [Bulk] Re: [SCM] dmedia/master: Add more substvar usage in debian/control
On Wed, Jan 12, 2011 at 3:54 PM, Alessio Treglia wrote: > On Wed, Jan 12, 2011 at 3:41 PM, Jonas Smedegaard wrote: >> Also, I heard rumors that switching from one Python helper to another may >> require special transitioning code in preinst/postinst. Not sure about the >> details - would appreciate pointers if anyone else knows. > > This is true when switching from python-support to python-central, > moving the packaging from python-support to dh_python2 does not need > that. Adopting dh_python2 on a new package now will ease the future transition (which should happen in Squeeze+1) to the newer helpers generation. -- Alessio Treglia | www.alessiotreglia.com Debian Developer | ales...@debian.org Ubuntu Core Developer | quadris...@ubuntu.com 0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0 ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: [Bulk] Re: [SCM] dmedia/master: Add more substvar usage in debian/control
On Wed, Jan 12, 2011 at 3:41 PM, Jonas Smedegaard wrote: > Also, I heard rumors that switching from one Python helper to another may > require special transitioning code in preinst/postinst. Not sure about the > details - would appreciate pointers if anyone else knows. This is true when switching from python-support to python-central, moving the packaging from python-support to dh_python2 does not need that. -- Alessio Treglia | www.alessiotreglia.com Debian Developer | ales...@debian.org Ubuntu Core Developer | quadris...@ubuntu.com 0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0 ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: [Bulk] Re: [SCM] dmedia/master: Add more substvar usage in debian/control
On Wed, Jan 12, 2011 at 04:15:32PM +0300, Bilal Akhtar wrote: On 01/12/2011 04:07 PM, Jonas Smedegaard wrote: On Wed, Jan 12, 2011 at 03:08:49PM +0300, Bilal Akhtar wrote: On 01/11/2011 11:17 PM, Alessio Treglia wrote: On Tue, Jan 11, 2011 at 8:44 PM, wrote: +Provides: ${python:Provides} This is unnecessary [1], the package doesn't provide any extension, just modules. But it is helpful nevertheless, as it makes python2.6-dmedia and python2.7-dmedia available for apps. Would you mind to switch the packaging to use dh_python2 instead of pyhon-support? Not at the moment, I personally prefer python-support over dh_python2. That's why I am sticking to dh7 for now. Would you care to elaborate a bit. Not that I disagree, I simply lack knowledge on differences between those Python packaging helpers.\ The biggest reason why I am using pysupport is because I am familiar with it. That's the reason why I would like to get this one to use it, for now at least. Ah, ok. Makes sense. Also, I heard rumors that switching from one Python helper to another may require special transitioning code in preinst/postinst. Not sure about the details - would appreciate pointers if anyone else knows. Regards, - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: [Bulk] Re: [SCM] dmedia/master: Add more substvar usage in debian/control
On 01/12/2011 04:07 PM, Jonas Smedegaard wrote: > On Wed, Jan 12, 2011 at 03:08:49PM +0300, Bilal Akhtar wrote: >> On 01/11/2011 11:17 PM, Alessio Treglia wrote: >>> On Tue, Jan 11, 2011 at 8:44 PM, >>> wrote: +Provides: ${python:Provides} >>> >>> This is unnecessary [1], the package doesn't provide any extension, >>> just modules. >> >> But it is helpful nevertheless, as it makes python2.6-dmedia and >> python2.7-dmedia available for apps. >> >>> >>> Would you mind to switch the packaging to use dh_python2 instead of >>> pyhon-support? >> >> Not at the moment, I personally prefer python-support over dh_python2. >> That's why I am sticking to dh7 for now. > > Would you care to elaborate a bit. Not that I disagree, I simply lack > knowledge on differences between those Python packaging helpers.\ The biggest reason why I am using pysupport is because I am familiar with it. That's the reason why I would like to get this one to use it, for now at least. Bilal Akhtar > > > Regards, > > - Jonas > > > > ___ > pkg-multimedia-maintainers mailing list > pkg-multimedia-maintainers@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers -- Bilal Akhtar - Ubuntu Developer IRC nick: cdbs signature.asc Description: OpenPGP digital signature ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: [SCM] dmedia/master: Add more substvar usage in debian/control
On Wed, Jan 12, 2011 at 03:08:49PM +0300, Bilal Akhtar wrote: On 01/11/2011 11:17 PM, Alessio Treglia wrote: On Tue, Jan 11, 2011 at 8:44 PM, wrote: +Provides: ${python:Provides} This is unnecessary [1], the package doesn't provide any extension, just modules. But it is helpful nevertheless, as it makes python2.6-dmedia and python2.7-dmedia available for apps. Would you mind to switch the packaging to use dh_python2 instead of pyhon-support? Not at the moment, I personally prefer python-support over dh_python2. That's why I am sticking to dh7 for now. Would you care to elaborate a bit. Not that I disagree, I simply lack knowledge on differences between those Python packaging helpers. Regards, - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: [SCM] dmedia/master: Add more substvar usage in debian/control
On 01/11/2011 11:17 PM, Alessio Treglia wrote: > On Tue, Jan 11, 2011 at 8:44 PM, > wrote: >> +Provides: ${python:Provides} > > This is unnecessary [1], the package doesn't provide any extension, > just modules. But it is helpful nevertheless, as it makes python2.6-dmedia and python2.7-dmedia available for apps. > > Would you mind to switch the packaging to use dh_python2 instead of > pyhon-support? Not at the moment, I personally prefer python-support over dh_python2. That's why I am sticking to dh7 for now. Bilal Akhtar. > > > [1] > http://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html#s-provides > -- Bilal Akhtar - Ubuntu Developer IRC nick: cdbs signature.asc Description: OpenPGP digital signature ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: [SCM] dmedia/master: Add more substvar usage in debian/control
On Tue, Jan 11, 2011 at 09:17:44PM +0100, Alessio Treglia wrote: Would you mind to switch the packaging to use dh_python2 instead of pyhon-support? That would limit backportability, I believe. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Re: [SCM] dmedia/master: Add more substvar usage in debian/control
On Tue, Jan 11, 2011 at 8:44 PM, wrote: > +Provides: ${python:Provides} This is unnecessary [1], the package doesn't provide any extension, just modules. Would you mind to switch the packaging to use dh_python2 instead of pyhon-support? [1] http://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html#s-provides -- Alessio Treglia | www.alessiotreglia.com Debian Developer | ales...@debian.org Ubuntu Core Developer | quadris...@ubuntu.com 0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0 ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers