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

Bug#933167: lintian: python-script-but-no-python-dep test has false positives



Package: lintian
Version: 2.16.0
Severity: normal

There are several python3 packages that ship python scripts in
usr/lib/python3/dist-packages.  Currently this trips the test.  As far
as I can tell, it's a false positive in all such cases (since files in
dist-packages aren't supposed to be called as scripts.

I think there are two potential solutions to this problem:

1.  Change the dependency check so that python3 packages satisfy the
python-dep requirement if the package is in usr/lib/python3/dist-packages

2.  Change the test not to look in usr/lib/python3/dist-packages

Either should solve the problem, so I would recommend implemnting
whichever approach is easier to do.

Scott K


Reply to: