Control: tags 914332 + pending

Dear maintainer,

I've prepared an NMU for pyzo (versioned as 4.4.3-1.1) and uploaded
it to DELAYED/15. 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 pyzo-4.4.3/debian/changelog pyzo-4.4.3/debian/changelog
--- pyzo-4.4.3/debian/changelog	2017-10-09 21:59:11.000000000 +0300
+++ pyzo-4.4.3/debian/changelog	2018-11-30 17:17:18.000000000 +0200
@@ -1,3 +1,11 @@
+pyzo (4.4.3-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Add upstream patch to fix installation with Python 3.7.
+    (Closes: #914332)
+
+ -- Adrian Bunk <b...@debian.org>  Fri, 30 Nov 2018 17:17:18 +0200
+
 pyzo (4.4.3-1) unstable; urgency=medium
 
   * Add recommended get-orig-source target
diff -Nru pyzo-4.4.3/debian/patches/0001-replace-async-per-basync-to-become-Python-3.7-compat.patch pyzo-4.4.3/debian/patches/0001-replace-async-per-basync-to-become-Python-3.7-compat.patch
--- pyzo-4.4.3/debian/patches/0001-replace-async-per-basync-to-become-Python-3.7-compat.patch	1970-01-01 02:00:00.000000000 +0200
+++ pyzo-4.4.3/debian/patches/0001-replace-async-per-basync-to-become-Python-3.7-compat.patch	2018-11-30 17:16:51.000000000 +0200
@@ -0,0 +1,52 @@
+From 8a3ef256b17076a9d1a7d0a356806a2166a1ee3c Mon Sep 17 00:00:00 2001
+From: stonebig <stonebi...@gmail.com>
+Date: Mon, 5 Mar 2018 22:29:06 +0100
+Subject: [PATCH] replace async per basync to become Python-3.7 compatible
+ (#530)
+
+* repalce async per basync to become Python-3.7 compatible
+
+* move to async_val like ansible project
+---
+ pyzo/yoton/clientserver.py | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/pyzo/yoton/clientserver.py b/pyzo/yoton/clientserver.py
+index 6802db2..cd54454 100644
+--- a/pyzo/yoton/clientserver.py
++++ b/pyzo/yoton/clientserver.py
+@@ -43,7 +43,7 @@ from yoton.core import send_all, recv_all
+ 
+ 
+ class RequestServer(threading.Thread):
+-    """ RequestServer(address, async=False, verbose=0)
++    """ RequestServer(address, async_val=False, verbose=0)
+     
+     Setup a simple server that handles requests similar to a telnet server,
+     or asyncore. Starting the server using run() will run the server in
+@@ -58,7 +58,7 @@ class RequestServer(threading.Thread):
+     ----------
+     address : str
+         Should be of the shape hostname:port.
+-    async : bool
++    async_val : bool
+         If True, handles each incoming connection in a separate thread.
+         This might be advantageous if a the handle_request() method
+         takes a long time to execute.
+@@ -78,11 +78,11 @@ class RequestServer(threading.Thread):
+     
+     """
+     
+-    def __init__(self, address, async=False, verbose=0):
++    def __init__(self, address, async_val=False, verbose=0):
+         threading.Thread.__init__(self)
+         
+         # Store whether to handle requests asynchronously
+-        self._async = async
++        self._async = async_val
+         
+         # Verbosity
+         self._verbose = verbose
+-- 
+2.11.0
+
diff -Nru pyzo-4.4.3/debian/patches/series pyzo-4.4.3/debian/patches/series
--- pyzo-4.4.3/debian/patches/series	2017-10-09 21:59:11.000000000 +0300
+++ pyzo-4.4.3/debian/patches/series	2018-11-30 17:17:17.000000000 +0200
@@ -1 +1,2 @@
 Disable-install-of-appdata.patch
+0001-replace-async-per-basync-to-become-Python-3.7-compat.patch

Reply via email to