[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#383958: lintian: python-script-but-no-python-dep error with python-support



On 8/21/06, Josselin Mouette <joss@debian.org> wrote:
Le dimanche 20 août 2006 à 17:30 -0700, Russ Allbery a écrit :
> python-support is a package that, at least according to its long
> description, says that it provides a script that byte-compiles Python
> modules.  Nothing in the description of the package says that it provides
> a Python interpreter.  It happens to do so *now* because of its
> dependencies, but suppose there were some reason down the road why it
> might depend on some specific version of Python that didn't provide the
> /usr/bin/python interpreter or otherwise changes its functionality in some
> way.

You are 100% right. I will change the script to add the python
dependency even when there is a dependency on python-support.

So what's a good long term solution for me to use for now. I was
waiting to see if a new version would be available soon, but I need
another solution for now.

I could go back to dh_python, but it seems from other discussions like
this script will be removed from debhelper so I'm trying to stay away
from it.

I could explicitely add python to the dependencies (i.e. list both
${python:Depends} and python), but I'm not sure if this will cause a
problem later when python-support is updated and ${python:Depends}
includes python. I suspect the redundant listing won't matter, but I'm
not sure.

Thanks for all the help, the discussion was interesting.
Cameron Dale



Reply to: