Re: debhelper 7 and python-central

2008-05-24 Thread Pierre Habouzit
On Tue, May 20, 2008 at 10:46:33PM +, Ben Finney wrote: > Pierre Habouzit <[EMAIL PROTECTED]> writes: > > > On Tue, May 20, 2008 at 10:59:05AM +, Ben Finney wrote: > > > What makes you think 'foo.pyc' is /var material? > > > > Oh yes that seems obvious to me. In fact, I'd say it should

Re: debhelper 7 and python-central

2008-05-20 Thread Ben Finney
Pierre Habouzit <[EMAIL PROTECTED]> writes: > On Tue, May 20, 2008 at 10:59:05AM +, Ben Finney wrote: > > What makes you think 'foo.pyc' is /var material? > > Oh yes that seems obvious to me. In fact, I'd say it should be > /var/cache material because: > + it's not mandatory to have it,

Re: debhelper 7 and python-central

2008-05-20 Thread Floris Bruynooghe
On Tue, May 20, 2008 at 01:41:20PM +0200, Josselin Mouette wrote: > Le lundi 19 mai 2008 à 19:22 +0100, Floris Bruynooghe a écrit : > > > The latter approach is less fragile overall, > > > > How is that? As far as I can see both python-central and > > python-support maintain directories for each

Re: debhelper 7 and python-central

2008-05-20 Thread Pierre Habouzit
On Tue, May 20, 2008 at 10:59:05AM +, Ben Finney wrote: > Pierre Habouzit <[EMAIL PROTECTED]> writes: > > > On Mon, May 19, 2008 at 11:20:10PM +, Ben Finney wrote: > > > Floris Bruynooghe <[EMAIL PROTECTED]> writes: > > > > "/var/lib : Variable state information [...] State information > >

Re: debhelper 7 and python-central

2008-05-20 Thread Josselin Mouette
Le lundi 19 mai 2008 à 19:22 +0100, Floris Bruynooghe a écrit : > > The latter approach is less fragile overall, > > How is that? As far as I can see both python-central and > python-support maintain directories for each python version and > symlink the .py files to a shared location. Just on th

Re: debhelper 7 and python-central

2008-05-20 Thread Josselin Mouette
Le mardi 20 mai 2008 à 00:45 +0200, Pierre Habouzit a écrit : > This is _wrong_ to put XB-PV: 2.4, 2.5 for an arch:all package, this > should be XB-PV: all or something similar. Indeed, dh_pysupport puts wrong values in XB-Python-Version, so this is a bug. A very minor one, since this informatio

Re: debhelper 7 and python-central

2008-05-20 Thread Ben Finney
Pierre Habouzit <[EMAIL PROTECTED]> writes: > On Mon, May 19, 2008 at 11:20:10PM +, Ben Finney wrote: > > Floris Bruynooghe <[EMAIL PROTECTED]> writes: > > > "/var/lib : Variable state information [...] State information > > > is data that programs modify while they run, and that pertains > >

Re: debhelper 7 and python-central

2008-05-20 Thread Pierre Habouzit
On Mon, May 19, 2008 at 11:20:10PM +, Ben Finney wrote: > Floris Bruynooghe <[EMAIL PROTECTED]> writes: > > > On Mon, May 19, 2008 at 12:49:11PM +0200, Josselin Mouette wrote: > > > Python-central links modules at their original places while > > > python-support puts them in /var/lib to follow

Re: debhelper 7 and python-central

2008-05-20 Thread Pierre Habouzit
On Tue, May 20, 2008 at 07:55:44AM +, Emilio Pozuelo Monfort wrote: > Pierre Habouzit wrote: > > This is _wrong_ to put XB-PV: 2.4, 2.5 for an arch:all package, this > > should be XB-PV: all or something similar. > > Even if you package doesn't work with some supported Python versions? (e.g.

Re: debhelper 7 and python-central

2008-05-20 Thread Emilio Pozuelo Monfort
Pierre Habouzit wrote: > This is _wrong_ to put XB-PV: 2.4, 2.5 for an arch:all package, this > should be XB-PV: all or something similar. Even if you package doesn't work with some supported Python versions? (e.g. it uses the finally clause) Emilio signature.asc Description: OpenPGP digital

Re: debhelper 7 and python-central

2008-05-19 Thread Ben Finney
Floris Bruynooghe <[EMAIL PROTECTED]> writes: > On Mon, May 19, 2008 at 12:49:11PM +0200, Josselin Mouette wrote: > > Python-central links modules at their original places while > > python-support puts them in /var/lib to follow the FHS. > > "/var/lib : Variable state information [...] State info

Re: debhelper 7 and python-central

2008-05-19 Thread Pierre Habouzit
On Mon, May 19, 2008 at 06:47:10PM +, Michal Čihař wrote: > Dne Mon, 19 May 2008 18:38:25 +0200 > Josselin Mouette <[EMAIL PROTECTED]> napsal(a): > > > Le lundi 19 mai 2008 à 14:39 +0200, Michal Čihař a écrit : > > > What surprised me is different handling of XB-Python-Version field. I > > > h

Re: debhelper 7 and python-central

2008-05-19 Thread Floris Bruynooghe
Hello On Mon, May 19, 2008 at 12:49:11PM +0200, Josselin Mouette wrote: > Le dimanche 18 mai 2008 à 11:35 -0700, Monty Taylor a écrit : > > 1. What are the real differences between these two? > > Technically speaking, they use very different approaches. Python-central > links modules at their ori

Re: debhelper 7 and python-central

2008-05-19 Thread Michal Čihař
Dne Mon, 19 May 2008 18:38:25 +0200 Josselin Mouette <[EMAIL PROTECTED]> napsal(a): > Le lundi 19 mai 2008 à 14:39 +0200, Michal Čihař a écrit : > > What surprised me is different handling of XB-Python-Version field. I > > have XS-Python-Version: current and python-central makes > > XB-Python-Vers

Re: debhelper 7 and python-central

2008-05-19 Thread Josselin Mouette
Le lundi 19 mai 2008 à 14:39 +0200, Michal Čihař a écrit : > What surprised me is different handling of XB-Python-Version field. I > have XS-Python-Version: current and python-central makes > XB-Python-Version: current from this, what I feel is correct (package > is pure Python, no dependency on Py

Re: debhelper 7 and python-central

2008-05-19 Thread Michal Čihař
Hi On Mon, 19 May 2008 12:49:11 +0200 Josselin Mouette <[EMAIL PROTECTED]> wrote: > As the python-support maintainer, I could recommend it because it has > more features, like namespace packages (allowing to split modules coming > from the same directory in non-interdependent packages), Python-De

Re: debhelper 7 and python-central

2008-05-19 Thread Ondrej Certik
On Mon, May 19, 2008 at 12:49 PM, Josselin Mouette <[EMAIL PROTECTED]> wrote: > Le dimanche 18 mai 2008 à 11:35 -0700, Monty Taylor a écrit : >> 1. What are the real differences between these two? > > Technically speaking, they use very different approaches. Python-central > links modules at their

Re: debhelper 7 and python-central

2008-05-19 Thread Josselin Mouette
Le dimanche 18 mai 2008 à 11:35 -0700, Monty Taylor a écrit : > 1. What are the real differences between these two? Technically speaking, they use very different approaches. Python-central links modules at their original places while python-support puts them in /var/lib to follow the FHS. The latt

Re: debhelper 7 and python-central

2008-05-19 Thread Cyril Brulebois
On 18/05/2008, Monty Taylor wrote: > 1. What are the real differences between these two? > 2. Why, as a packager, would I choose one over the other? A bit of stats: # source-wise $ for i in central support; do grep-dctrl -S -F Build-Depends python-$i -sPackage /var/lib/apt/lists/*Sources | wc -l

Re: debhelper 7 and python-central

2008-05-18 Thread Monty Taylor
Ben Finney wrote: > Early in the 7.0.x series, debhelper gained the ability to detect a > Python package and run 'dh_pysupport' in the 'install' sequence, > allowing a single-line 'dh install' to perform all the tasks needed in > an 'install' target. However, it currently seems to lack correspondi

Re: debhelper 7 and python-central

2008-05-17 Thread Ben Finney
Joey Hess <[EMAIL PROTECTED]> writes: > Ben Finney wrote: > > Does anyone know debhelper better than me, and can suggest ways to > > improve that package's current 'debian/rules' file to make better use > > of debhelper 7 with 'python-central'? > > python-central could include a dh sequence file,

Re: debhelper 7 and python-central

2008-05-17 Thread Joey Hess
Ben Finney wrote: > Does anyone know debhelper better than me, and can suggest ways to > improve that package's current 'debian/rules' file to make better use > of debhelper 7 with 'python-central'? python-central could include a dh sequence file, then you could use something like: dh bin