Control: tags -1 patch

The dependency chain involved is

matplotlib2 -> python-mpltoolkits.basemap -> python-pyproj, python-pyshp

where all but the first no longer exist as Python 2 packages (and pyproj has also moved to a Python 3 only new upstream version).

Searching the code suggests that matplotlib2 no longer uses basemap (doc/pyplots/plotmap.py no longer even exists), and hence that a fix is to simply remove the build-dependency:

diff --git a/debian/control b/debian/control
index 65917e83..fd7795fc 100644
--- a/debian/control
+++ b/debian/control
@@ -27,7 +27,6 @@ Build-Depends: debhelper (>= 7),
                python-kiwisolver,
                python-kiwisolver-dbg,
                python-mock,
-               python-mpltoolkits.basemap <!stage1>,
                python-nose,
                python-numpy,
                python-numpy-dbg,

The package builds and passes autopkgtests with this, but that's all the testing it's had. (The build-time tests are skipped with TypeError: object of type 'MarkDecorator' has no len(). I suspect this is an unrelated incompatibility with the current version of pytest, but haven't investigated.)

Reply via email to