diff -Nru gmplot-1.1.0/debian/changelog gmplot-1.1.0/debian/changelog --- gmplot-1.1.0/debian/changelog 2016-01-31 18:52:10.000000000 +0000 +++ gmplot-1.1.0/debian/changelog 2016-02-01 22:35:08.000000000 +0000 @@ -1,3 +1,10 @@ +gmplot (1.1.0-3) unstable; urgency=medium + + * debian/patches/0002-Updated-itermitems-to-items.patch + - replace iteritems() with items(), needed for py3k compat + + -- Sandro Tosi Mon, 01 Feb 2016 22:35:02 +0000 + gmplot (1.1.0-2) unstable; urgency=medium * debian/patches/0001-use-relative-imports.patch diff -Nru gmplot-1.1.0/debian/.git-dpm gmplot-1.1.0/debian/.git-dpm --- gmplot-1.1.0/debian/.git-dpm 2016-01-31 18:52:10.000000000 +0000 +++ gmplot-1.1.0/debian/.git-dpm 2016-02-01 22:35:08.000000000 +0000 @@ -1,6 +1,6 @@ # see git-dpm(1) from git-dpm package -5fd31ca1a4b83fa64f5f5383625fdda8be36ba54 -5fd31ca1a4b83fa64f5f5383625fdda8be36ba54 +1b1248e91ce6aa71d14217c193b05bb1331a8d72 +1b1248e91ce6aa71d14217c193b05bb1331a8d72 11bf4305066feabdbba5d16467943aed2a172572 11bf4305066feabdbba5d16467943aed2a172572 gmplot_1.1.0.orig.tar.gz diff -Nru gmplot-1.1.0/debian/patches/0002-Updated-itermitems-to-items.patch gmplot-1.1.0/debian/patches/0002-Updated-itermitems-to-items.patch --- gmplot-1.1.0/debian/patches/0002-Updated-itermitems-to-items.patch 1970-01-01 00:00:00.000000000 +0000 +++ gmplot-1.1.0/debian/patches/0002-Updated-itermitems-to-items.patch 2016-02-01 22:35:08.000000000 +0000 @@ -0,0 +1,26 @@ +From 1b1248e91ce6aa71d14217c193b05bb1331a8d72 Mon Sep 17 00:00:00 2001 +From: Sandro Tosi +Date: Mon, 1 Feb 2016 22:32:44 +0000 +Subject: Updated itermitems() to items() + +Iteritems() was breaking when using with Python 3+. items() in 3+ has the same +functionality as iteritems() in 2+ + +https://github.com/vgm64/gmplot/commit/50c0367cbf1e1ff3aedcf5f36a1cbcf237b820ed +--- + gmplot/gmplot.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gmplot/gmplot.py b/gmplot/gmplot.py +index a911c7d..ae601f9 100644 +--- a/gmplot/gmplot.py ++++ b/gmplot/gmplot.py +@@ -102,7 +102,7 @@ class GoogleMapPlotter(object): + settings["face_color"] + + # Need to replace "plum" with "#DDA0DD" and "c" with "#00FFFF" (cyan). +- for key, color in settings.iteritems(): ++ for key, color in settings.items(): + if 'color' in key: + color = self.color_dict.get(color, color) + color = self.html_color_codes.get(color, color) diff -Nru gmplot-1.1.0/debian/patches/series gmplot-1.1.0/debian/patches/series --- gmplot-1.1.0/debian/patches/series 2016-01-31 18:52:10.000000000 +0000 +++ gmplot-1.1.0/debian/patches/series 2016-02-01 22:35:08.000000000 +0000 @@ -1 +1,2 @@ 0001-use-relative-imports.patch +0002-Updated-itermitems-to-items.patch