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 could

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

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 every one of

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 original

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 differently that it

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 the

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 in

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