Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Pierre Habouzit
On Mon, Mar 19, 2007 at 06:07:56PM +1100, Ben Finney wrote: > Howdy all, > > I'm attempting to package a Python package according to the > python-central instructions > http://python-modules.alioth.debian.org/python-central_howto.txt>. When > building the package, I get the following output: > >

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Raphael Hertzog
On Mon, 19 Mar 2007, Ben Finney wrote: > Searching for information about this, I've seen references to > 'packagename.substvars' that should be created during package > building. What is it that should be creating these? A missing 'dh_foo' > command? dh_pycentral should do it for you... what's the

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Joey Hess
Ben Finney wrote: > This is referring to the debian/control Depends field: > > Depends: ${python:Depends} > > Earlier, I had > > Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} By removing misc:Depends, you are simply potentially shooting yourself in the foot. Debhelper c

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Ben Finney
Raphael Hertzog <[EMAIL PROTECTED]> writes: > On Mon, 19 Mar 2007, Ben Finney wrote: > > [dpkg-gencontrol complains about unknown substitution variables] > > dh_pycentral should do it for you... I am using dh_pycentral (as noted in my original message). Or do you mean that, since I'm using dh_py

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Ben Finney
Joey Hess <[EMAIL PROTECTED]> writes: > Ben Finney wrote: > > Earlier, I had > > Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} > > By removing misc:Depends, you are simply potentially shooting > yourself in the foot. Fair enough. > > and 'dpkg-gencontrol' complained about ev

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Raphael Hertzog
Hi, On Tue, 20 Mar 2007, Ben Finney wrote: > Raphael Hertzog <[EMAIL PROTECTED]> writes: > > > On Mon, 19 Mar 2007, Ben Finney wrote: > > > [dpkg-gencontrol complains about unknown substitution variables] > > > > dh_pycentral should do it for you... > > I am using dh_pycentral (as noted in my or

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Raphael Hertzog
On Tue, 20 Mar 2007, Ben Finney wrote: > > > and 'dpkg-gencontrol' complained about every one of those. > > > > This is a misfeature of dpkg-gencontrol. > > Is 'dh_gencontrol' not useful then? If not, why is it in the > boilerplate created by 'dh_make'? If it is useful, what am I doing > different

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Ben Finney
Raphael Hertzog <[EMAIL PROTECTED]> writes: > No I didn't mean that, I just told that dh_pycentral is supposed to > create the substvar for you but since it doesn't I need you to > answer this question: > > > what's the content of the package ? Pure Python modules, which should be installed to th

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Raphael Hertzog
On Tue, 20 Mar 2007, Ben Finney wrote: > > > > what's the content of the package ? > > Pure Python modules, which should be installed to the system > site-packages for use by the application. No the package doesn't contain that, only those files: drwxr-xr-x root/root 0 2007-03-19 23:31 ./

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Ben Finney
Thanks for your suggestions. Raphael Hertzog <[EMAIL PROTECTED]> writes: > [package contains only files from the debian/ directory] > > That's because you're calling "dh_clean -k" [at the start of the > 'install' rule] which removes what has been installed... Strange. That's another one placed i

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Josselin Mouette
Le lundi 19 mars 2007 à 23:44 +0100, Raphael Hertzog a écrit : > === modified file 'debian/rules' > --- debian/rules2007-03-19 06:44:04 + > +++ debian/rules2007-03-19 22:37:56 + > @@ -46,7 +46,6 @@ > install: build ${PYVERS:%=install-python%} > dh_testdir >

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Ben Finney
Josselin Mouette <[EMAIL PROTECTED]> writes: > Le lundi 19 mars 2007 à 23:44 +0100, Raphael Hertzog a écrit : > > === modified file 'debian/rules' > > --- debian/rules2007-03-19 06:44:04 + > > +++ debian/rules2007-03-19 22:37:56 + > > @@ -46,7 +46,6 @@ > > install: build $

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Raphael Hertzog
On Tue, 20 Mar 2007, Josselin Mouette wrote: > Le lundi 19 mars 2007 à 23:44 +0100, Raphael Hertzog a écrit : > > === modified file 'debian/rules' > > --- debian/rules2007-03-19 06:44:04 + > > +++ debian/rules2007-03-19 22:37:56 + > > @@ -46,7 +46,6 @@ > > install: build ${