Control: tags 904368 + patch
Control: tags 904368 + pending
Dear maintainer,
I've prepared an NMU for panoramisk (versioned as 1.0-1.1) and uploaded
it to DELAYED/14. Please feel free to tell me if I should cancel it.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
diff -Nru panoramisk-1.0/debian/changelog panoramisk-1.0/debian/changelog
--- panoramisk-1.0/debian/changelog 2016-10-04 20:05:37.000000000 +0300
+++ panoramisk-1.0/debian/changelog 2018-08-10 23:47:57.000000000 +0300
@@ -1,3 +1,11 @@
+panoramisk (1.0-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add upstream fix for compatibility with Python 3.7.
+ (Closes: #904368)
+
+ -- Adrian Bunk <[email protected]> Fri, 10 Aug 2018 23:47:57 +0300
+
panoramisk (1.0-1) unstable; urgency=medium
* Initial release. (Closes: #829504)
diff -Nru panoramisk-1.0/debian/patches/0001-python3.7-support-68.patch panoramisk-1.0/debian/patches/0001-python3.7-support-68.patch
--- panoramisk-1.0/debian/patches/0001-python3.7-support-68.patch 1970-01-01 02:00:00.000000000 +0200
+++ panoramisk-1.0/debian/patches/0001-python3.7-support-68.patch 2018-08-10 23:47:50.000000000 +0300
@@ -0,0 +1,31 @@
+From 2deada71295fe6c04564a52edf075c164c55942a Mon Sep 17 00:00:00 2001
+From: Quentin Dawans <[email protected]>
+Date: Fri, 20 Jul 2018 15:20:06 +0200
+Subject: python3.7 support (#68)
+
+Index: panoramisk-1.0/panoramisk/actions.py
+===================================================================
+--- panoramisk-1.0.orig/panoramisk/actions.py
++++ panoramisk-1.0/panoramisk/actions.py
+@@ -61,7 +61,7 @@ class Action(utils.CaseInsensitiveDict):
+ return True
+ elif msg.startswith('added') and msg.endswith('to queue'):
+ return True
+- elif msg.endswith('successfully queued') and self.async != 'false':
++ elif msg.endswith('successfully queued') and self['async'] != 'false':
+ return True
+ elif self.as_list:
+ return True
+Index: panoramisk-1.0/panoramisk/manager.py
+===================================================================
+--- panoramisk-1.0.orig/panoramisk/manager.py
++++ panoramisk-1.0/panoramisk/manager.py
+@@ -209,7 +209,7 @@ class Manager(object):
+ ret = callback(self, event)
+ if (asyncio.iscoroutine(ret) or
+ isinstance(ret, asyncio.Future)):
+- asyncio.async(ret, loop=self.loop)
++ asyncio.ensure_future(ret, loop=self.loop)
+ return matches
+
+ def close(self):
diff -Nru panoramisk-1.0/debian/patches/series panoramisk-1.0/debian/patches/series
--- panoramisk-1.0/debian/patches/series 2016-09-18 16:21:01.000000000 +0300
+++ panoramisk-1.0/debian/patches/series 2018-08-10 23:46:24.000000000 +0300
@@ -1 +1,2 @@
0001-hardcode-version-in-docs-since-package-not-yet-insta.patch
+0001-python3.7-support-68.patch
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team