Control: tags 937841 + patch

Dear maintainer,

I've prepared an NMU for python-iowait (versioned as 0.1-1.2). The diff
is attached to this message.

Regards.

diff -Nru python-iowait-0.1/debian/changelog python-iowait-0.1/debian/changelog
--- python-iowait-0.1/debian/changelog	2011-05-08 10:46:00.000000000 -0400
+++ python-iowait-0.1/debian/changelog	2019-12-22 15:15:00.000000000 -0500
@@ -1,3 +1,10 @@
+python-iowait (0.1-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937841
+
+ -- Sandro Tosi <mo...@debian.org>  Sun, 22 Dec 2019 15:15:00 -0500
+
 python-iowait (0.1-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru python-iowait-0.1/debian/control python-iowait-0.1/debian/control
--- python-iowait-0.1/debian/control	2011-02-28 12:16:49.000000000 -0500
+++ python-iowait-0.1/debian/control	2019-12-22 15:15:00.000000000 -0500
@@ -2,30 +2,13 @@
 Section: python
 Priority: optional
 Maintainer: Andrea Corbellini <andrea.corbell...@ubuntu.com>
-Build-Depends: debhelper (>= 7.0.50~)
-Build-Depends-Indep: python-all (>= 2.6.6-3~), python3-all (>= 3.1.2-1~)
+Build-Depends: debhelper (>= 7.0.50~), dh-python
+Build-Depends-Indep: python3-all (>= 3.1.2-1~)
 Standards-Version: 3.9.1
-XS-Python-Version: >= 2.6
-XS-Python3-Version: >= 3.1
 Homepage: https://launchpad.net/python-iowait
 Vcs-Bzr: http://bazaar.launchpad.net/+branch/python-iowait/0.1
 Vcs-Browser: http://bazaar.launchpad.net/+branch/python-iowait/0.1/files
 
-Package: python-iowait
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
-Breaks: ${python:Breaks}
-XB-Python-Version: ${python:Versions}
-Description: Platform-independent module for I/O completion events
- Different operating systems provide different ways to wait for I/O completion
- events: there's select(), poll(), epoll() and kqueue(). For cross-platform
- applications it can be a pain to support all this system functions, especially
- because each one provides a different interface.
- .
- IOWait solves this problem by providing a unified interface and using always
- the best and faster function available in the platform. Its only limitation is
- that, on Windows, it only works for sockets.
-
 Package: python3-iowait
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}
diff -Nru python-iowait-0.1/debian/rules python-iowait-0.1/debian/rules
--- python-iowait-0.1/debian/rules	2011-02-28 12:22:44.000000000 -0500
+++ python-iowait-0.1/debian/rules	2019-12-22 15:14:56.000000000 -0500
@@ -1,18 +1,4 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with python2
-
-override_dh_auto_install:
-	for pyver in $(shell pyversions -vr); do \
-		python$$pyver setup.py install \
-			--install-layout=deb --root "$(CURDIR)/debian/python-iowait"; \
-	done
-	for pyver in $(shell py3versions -sv); do \
-		python$$pyver setup.py install \
-			--install-layout=deb --root "$(CURDIR)/debian/python3-iowait"; \
-	done
-
-override_dh_python2:
-	dh_python2 -ppython-iowait
-	dh_python3 -ppython3-iowait
+	dh $@ --with python3 --buildsystem=pybuild

Reply via email to