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

Bug#991302: unblock: smem/1.5-1.1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package smem

  * Add patch from Marco Paganini for Python 3 incompatibility
    in "smem --bar". (Closes: #958129)

Regression from buster caused by the switch to Python 3.
diff -Nru smem-1.5/debian/changelog smem-1.5/debian/changelog
--- smem-1.5/debian/changelog	2020-01-05 05:57:10.000000000 +0200
+++ smem-1.5/debian/changelog	2021-07-17 22:47:50.000000000 +0300
@@ -1,3 +1,11 @@
+smem (1.5-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch from Marco Paganini for Python 3 incompatibility
+    in "smem --bar". (Closes: #958129)
+
+ -- Adrian Bunk <bunk@debian.org>  Sat, 17 Jul 2021 22:47:50 +0300
+
 smem (1.5-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru smem-1.5/debian/patches/series smem-1.5/debian/patches/series
--- smem-1.5/debian/patches/series	2020-01-05 05:57:10.000000000 +0200
+++ smem-1.5/debian/patches/series	2021-07-17 22:47:40.000000000 +0300
@@ -1,3 +1,4 @@
 manpage.patch
 buildsystem.patch
 smem-py3k.patch
+smem-xrange-fix.patch
diff -Nru smem-1.5/debian/patches/smem-xrange-fix.patch smem-1.5/debian/patches/smem-xrange-fix.patch
--- smem-1.5/debian/patches/smem-xrange-fix.patch	1970-01-01 02:00:00.000000000 +0200
+++ smem-1.5/debian/patches/smem-xrange-fix.patch	2021-07-17 22:47:10.000000000 +0300
@@ -0,0 +1,11 @@
+--- original/smem	2020-04-18 12:20:22.524849106 -0700
++++ fixed/smem	2020-04-18 12:19:24.912251338 -0700
+@@ -646,7 +646,7 @@
+ 
+     pl = []
+     ind = numpy.arange(len(l))
+-    for n in xrange(len(rc)):
++    for n in range(len(rc)):
+         pl.append(pylab.bar(ind + offset + width * n,
+                              [x[1][rc[n]] for x in l], width, color=gc(n)))
+ 

Reply to: